The T-Files


Wed, 26 Oct 2005

Simple JavaScript Database

With everyone's attention turned to JavaScript these days, people are really pushing the envelope now and amazing things come up all the time.

Last week, someone proposed AMASS, the Ajax Massive Storage System, which gets around the problem that browser-side JavaScript cannot store persistent data on the client system (other than 4K of cookies) by using the Flash player (readily available in most web browsers), which apparently can save any amount of data. This week, someone else combined it with the TrimQuery SQL-like query engine to create a Simple JavaScript Database. Both techniques are still brand-new and AMASS apparently only works on Windows for now, but as proofs-of-concepts they clearly hint at what is possible.

And while we are at it, yesterday's discovery combines bookmarklets with a web service to dynamically load useful widgets into any given page. Bookmarklets can apparently access any remote web site using XMLHttpRequest (JS embedded in pages is limited to load from the same domain for security reasons), so I am not sure that I would actually want to use it considering the enormous potential for abuse, but Blummy is certainly worth a look.