Hybrid View

  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/