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
<script type="text/javascript" src="https://github.com/BastinRobin/connectDb.js/raw/master/connectDb.js"></script>
<script type="text/javascript" src="https://github.com/BastinRobin/connectDb.js/raw/master/connectDb.min.js"></script>
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);
- 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
This software is free to use under the GNU license.