Javascriptlib_javascript that uses json as the database

Source: Internet
Author: User
Use javascript to operate the JSON class library TAFFYDB. This section describes how to query, add, delete, and modify data. Some time ago, Json data was used in work, and some simple additions, deletions, modifications, and queries can be placed on the client, which can also reduce the pressure on the server. I searched several javascript class libraries that can operate on Json respectively, and finally selected TAFFY DB. The reason is as follows:
1. The BSD open source protocol is used, so there is no need to worry about commercial restrictions.
2. Someone has been updating and is not in conflict with other frameworks (such as Jquery, YUI, and Dojo ).
3. Complete functions-addition, deletion, modification, query, sorting, and so on.
4. Small, only 17 K after compression.
Therefore, after the work, I will write this article and recommend this class library for you. I hope to help some Coder who are looking for Json query and modification, and exchange and study with everyone.

Basic taffy db Information
Project home: http://taffydb.com/
Managed address: https://github.com/typicaljoe/taffydb

Usage:

The Code is as follows:


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.