1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    Ramlaxman.gunda is on a distinguished road

      0  

    Default Posting Data from Websql to server

    Posting Data from Websql to server


    How to send data from websql(browser) to server(asp.net) using sencha.

  2. #2
    Sencha User ericbowden's Avatar
    Join Date
    May 2012
    Location
    Provo, UT
    Posts
    25
    Vote Rating
    2
    ericbowden is on a distinguished road

      0  

    Default


    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/

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    Ramlaxman.gunda is on a distinguished road

      0  

    Default Database for Sencha

    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.

  4. #4
    Sencha User ericbowden's Avatar
    Join Date
    May 2012
    Location
    Provo, UT
    Posts
    25
    Vote Rating
    2
    ericbowden is on a distinguished road

      0  

    Default


    If you are trying to take the app offline using Sencha check out this tutorial:

    http://www.sencha.com/learn/taking-s...-apps-offline/

    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

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    Ramlaxman.gunda is on a distinguished road

      0  

    Default Offline Storage Using Sencha Framework

    Offline Storage Using Sencha Framework


    Thanks.

    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.

  6. #6
    Sencha User ericbowden's Avatar
    Join Date
    May 2012
    Location
    Provo, UT
    Posts
    25
    Vote Rating
    2
    ericbowden is on a distinguished road

      0  

    Default


    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.

    http://www.html5rocks.com/en/tutorials/indexeddb/todo/

    http://www.html5rocks.com/en/tutoria...database/todo/

  7. #7
    Sencha User
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    146
    Vote Rating
    10
    Möhre will become famous soon enough

      0  

    Default


    Sencha Touch supports indexedDB from 2.1 on.

    Have a look at the current release candidate.

    Api doc: Ext.data.proxy.SQL

  8. #8
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,165
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    You are correct, the new version of Sencha Touch 2.1 will have Web SQL support.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  9. #9
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    Ramlaxman.gunda is on a distinguished road

      0  

    Default Exit Functionality in IPhone Using Sencha

    Exit Functionality in IPhone Using Sencha


    We are using the below code to exit the app
    navigator.app.exitApp();
    the above is working in android but not in iphone
    Can you please help us how to exit the app in iphone