Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    amitkumargupta is on a distinguished road

      0  

    Default Unanswered: How and Where to store data ?

    Unanswered: How and Where to store data ?


    I have following case to handle:

    My application has around 5000 book titles. Now, I don't want application to ping server to get these books on his mobile. Application will need to access this data during run time. So should I

    a) dump the data into sqlite at the time of installation of the application ? (First time run)
    b) Fetch data from files only. ( I will be making sorting and querying operations over this data - may not be a good solution if I store the entire file in an array at once and process it further )

    Kindly advice.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Sounds like sqlite may be best
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Vote Rating
    0
    amitkgupta28 is on a distinguished road

      0  

    Default Can I prestore data ?

    Can I prestore data ?


    thanks a lot for the reply.

    Can I store pre-package the data at the time of deployment. Or should I prepare a dump sql file which I should insert at the time of install. Please enlighten me.

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Answers
    2
    Vote Rating
    0
    JohnM_ is on a distinguished road

      0  

    Default


    Depends on your use case.

    If your users will not have access to the server at all, and the data is static, store it locally. If data is dynamic, retrive it on request from the server. If your customer use case is some combination of the two, or they do not always require up-to-date data, then implement as you see fit.

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    567
    Answers
    34
    Vote Rating
    31
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default


    I guess you will need the sql only if you are updating the books.
    If you are not updating the books keep them in a file or as a static and load the JSON string as data object.