Taffy DB, which is well known JavaScript database for your browser, and which is a free and opensource JavaScript Library which acts as a thin layer inside Web 2.0 and Ajax applications.
Unique features are:
* Under 10K!
* Simple, JavaScript Centric Syntax
* Fast
* Easy to include in any web application
* Compatible with major Ajax libraries: YUI, JQuery, Dojo, Prototype, EXT, etc
* CRUD Interface (Create, Read, Update, Delete)
* Sorting
* Looping
* Advanced Queries
We can think this as a SQL database in our web browser. If you would like to know more about the same then please do have a look at here – Getting Started
Below are the few example snippets on how we are going to implement and utilize the same:
Example #1:
Let’s say you have a collection of products and you want to find every product that costs less $10 and is a book. Simple, just write some JavaScript:
1 |
products.find({price:{lessthan:10},type:"Book"}}); |
Example #2:
Let’s say you want to update every product from XZYDesign and set the status to not available:
1 |
products.update({status:"NA"},{manufacturer:"XZYDesign"}); |
Example #3:
Let’s say you want to sort your products based on type, price descending, and quantity descending:
1 |
products.orderBy(["type",{"price":"desc"},{"quantity":"desc"}]); |
If you would like to know more about the same then please do have a look at here – Getting Started
Download Taffy DB
Feedback/Bugs
FAQ
Articles which you would like to read:
System Error: -1072896658 in IE
Simple steps to develop AJAX Website � DeveloperSnippets
Snippet Code for Simple Ajax Tabs with cool CSS Styles
A simple snippet code to learn basics of Ajax
Related Entries...
-
Here is a simple snippet on adding a "div" to the body tag dynamically using JavaScript, after going ...
-
Hi developers, today I encountered one error which works fine in Mozilla Firefox but giving an error ...
-
Just think what Google Chrome would return when we run browser detection code written in JavaScript ? ...
-
When I am running my Ajax web application, the application is rendering properly in Mozilla Firefox b ...
-
Hey folks over there, here I came up with simple Ajax Tabs, you guys can show case your valuable cont ...
-
In the following article we can have a look at the ways of creating new files in Ruby programming lan ...
-
Introduction Recently, one of my reader came up with a query like "Why JavaScript is not running aft ...
-
I am back again with some good snippet on "Placing a Play Icon over the image using CSS", After going ...
-
Hey folks, here is the basic example snippet code which depicts the basic functionality of Ajax and h ...
-
As we all know AJAX is rocking the Web World all around, just I had a thought to developer a simple A ...
One Response
[...] View post:� Free JavaScript database for your browser, Taffy DB [...]