Javascript database
10 Mar 2008This is cool… TaffyDB is an in-browser javascript database. This could be really useful for doing changes to a dataset without moving page to page, and then simply sending JSON back to a Rails or Merb app to save the changes.







The new Mobile Safari in iPhone OS 2.0 has an interesting built in to the javascript. As far as I can see it allows javascript to connect to a SQLite database on the phone.
myDB = openDatabase(“noteDB”, 1.0, “My Database”, 2000);
myDB.executeSql(INSERT INTO NoteTable (id,notes) VALUES”, [note.id, note.text]);