PDA

View Full Version : Localstorage or SqLite



ssdesign
23 Jul 2010, 7:55 PM
Hi,
What are the pros and cons of each of them.

Which is most compatible with Sencha.

gabrielstuff
25 Oct 2010, 3:18 AM
SQlite is not supported by Sencha Touch.

ssdesign
25 Oct 2010, 4:50 AM
I infact ended up making a SqLite app in Sencha and its on the app store now :)

Secha Touch might not have SqLite libraries but there is no way to stop you from using standard Javascript to add SqLite functionality to ST app.

gabrielstuff
25 Oct 2010, 4:52 AM
totally right, but I've found the command quiet limited in Webkit.
Didn't you encounter some drawback and difficulties with the support of SQLite in safari mobile ?

G

ssdesign
25 Oct 2010, 4:54 AM
Maybe I didn't encounter the issues you are facing.
What exactly you are not able to do?

gabrielstuff
25 Oct 2010, 4:58 AM
During the time I tried to use it, I did not manage to properly DELETE data, create a specific ID and using it with Model and store of Sencha Touch.

I end up using localStorage.

g

hq242
28 Oct 2010, 1:19 AM
Hi ssdesign or others here,

did you notice any differences in usability or performance during your implementation? Can you give any pros or cons? Why did you choose sqlite instead of localStorage which is supported?

g, hq242