Simple JavaScript Database

This example illustrates one way of creating a completely JavaScript database with AMASS storage.This was thrown together and just more or less illustrates the possibility of using AMASS storage and TrimPath query javascript in conjunction for an offline in browser database. Why? The possibility of an offline database would be one of the pieces needed to create an offline AJAX application, something very desirable.

To Use:

First, under the "The Data In Our Database" subheading hit "Save Changes" even if you decide to make no changes to save to AMASS

Then, under the "The SQL Expression" subheading hit "Run SQL" even if you make no changes.

Finally, scroll down to see the results.

The Data In Our Database (Basically an JS array):

[ Hit the save button to store to AMASS ]

The Database Structure (Format same as above, JS Array):

The SQL Expression:

[ Scroll below for results ]

Debug Output:

The Results: