Posting Data from Websql to server
How to send data from websql(browser) to server(asp.net) using sencha.
Sencha Touch and Extjs do not currently support WebSql. However you can program WebSql with them side by side.
Check out this thread for more details on touch: http://www.sencha.com/forum/showthre...ha-Application
This Extjs tutorial is pretty handy too: http://superdit.com/2010/09/30/stick...-sql-database/
Database for Sencha
Thanks for you reply
We are new to sencha
We are builiding offline apps using sencha framework
suggest the database type to offline application using sencha framework.
If you are trying to take the app offline using Sencha check out this tutorial:
Basically you have to create a localstorage proxy to store data in the browser's local storage. You can see how it works in the docs here http://docs.sencha.com/touch/2-0/#!/...y.LocalStorage
Offline Storage Using Sencha Framework
Actually we want to store more than 1000 records of different tables like accounts and products. So if we use local storage key value pairs maintenance is very difficult.
What is the preferred way of storing data locally.
You can also try to use indexeddb, however at the moment it is not supported by many mobile or desktop browsers while websql is.
Here is a pretty good article on the differences between them: http://csimms.botonomy.com/2011/05/html5-storage-wars-localstorage-vs-indexeddb-vs-web-sql.html
Here are some pretty good tutorials on each, but I think your best bet would be to use websql for large data.
Tags for this Thread