Basic example of indexedDB (create DB, add elem, consult elems, clear DB) using extJS 6.
What I used ?
- [
IndexedDB
] (https://developer.mozilla.org/fr/docs/IndexedDB) - [
ExtJS-6
] (https://docs.sencha.com/extjs/6.0/whats_new/whats_new.html)
The project is the basic example when you create an extJS-6 project. I just add the indexedDB features in it.
- [
Download and Install Sencha Cmd 6
] (http://www.sencha.com/products/sencha-cmd/) - [
Download and unzip the Ext JS SDK
] (http://www.sencha.com/products/extjs/evaluate/) - Open your terminal or console window and issue these commands:
cd /path/to/app
(where you download the maquette project)
sencha app watch
(it will launch a local server)
http://localhost:1841
(go to this adress in your navigator and that's all)