Skip to content

ConnectDb is a lightweight javascript framework for building browser based database web, mobile applications using NoSQL. It is an open source framework which makes easy to Connect, Query and Report.

License

Notifications You must be signed in to change notification settings

BastinRobin/connectDb.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectDb.js

ConnectDb

ConnectDb.js stable v0.1 ConnectDb is an javascript framework for building browser based database web, mobile applications. It is an open source framework which makes easy to Connect, Query and Report.

ConnectDb.js is an advanced implementation of the HTML5 Local Storage API. It is now easy to use the complete offline storage for any purpose of your development process.

Features:

  • Easy connection to Offline Storage (HTML5)
  • Easy Querying from collections
  • Easy to update the data
  • Fastest DB processing
  • More to come.

ConnectDb was started as an open source project which can be forked by developers and contribute to our projects.

Let us play with mobile environment

Development Version:

<script type="text/javascript" src="https://github.com/BastinRobin/connectDb.js/raw/master/connectDb.js"></script>

Production Version:

<script type="text/javascript" src="https://github.com/BastinRobin/connectDb.js/raw/master/connectDb.min.js"></script>

Usage:

Check the version of connectDb.js library

_db.version();

Check if browser supports connectDb.js.

_db.checkBrowser();

Check if any db exists.

_db.isempty();

Check if key already exists

_db.isKey(key);

Clear complete db if exist.

_db.clear();

Check the length of DB

_db.length(key);

Create a New Key ,Value Pair DB

_db.createRow(key, value);

Retrieve a row using key

_db.getRow(key);

Remove a Row from Db

_db.removeRow(key);

View all rows in DB.

_db.viewRow();

Store any JSON array to the Db as key value pair

_db.setJSON(key, json);

Retrieve JSON array from DB using Key

_db.getJSON(key);

Update existing row using key with JSON data

_db.update(key, json);

Create secure row using Key, Value pair

_db.createSecureRow(key, value);

Retrieve secure row using key

_db.getSecureRow(key);

Remove secure row using key

_db.removeSecureRow(key);

Get the list of keys of JSON array

_db.keys(json);

Get the list of values of JSON array

_db.values(json);

Contributing:

  • Fork it.
  • Create a branch (git checkout -b my_connectDb)
  • Commit your changes (git commit -am "Added New change")
  • Push to the branch (git push origin my_connectDb)
  • Open a Pull Request
  • Enjoy a refreshing Diet Coke and wait

License

This software is free to use under the GNU license.

Bitdeli Badge

About

ConnectDb is a lightweight javascript framework for building browser based database web, mobile applications using NoSQL. It is an open source framework which makes easy to Connect, Query and Report.

Resources

License

Stars

Watchers

Forks

Packages

No packages published