1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    10
    Vote Rating
    1
    youdonotexist is on a distinguished road

      0  

    Question Unanswered: Sencha without Models/Stores

    Unanswered: Sencha without Models/Stores


    I'm new to Sencha (and web development in general).
    I'm researching writing port of our current iOS/Android application using the Sencha Touch framework, but I'm concerned about how Sencha handles data (through the use of Models and Stores).


    The Web Services I will be writing against are (unfortunately) written in SOAP. The javascript bindings and parsers are generated for me automatically. So, using generated code is preferable to re-writing the objects using the Model/Store setup that Sencha uses.


    My worry is that I will make Sencha harder to use in the long run by doing this.


    Any thoughts on how will this impact my ability to:


    1) Use UI components like Lists (which seem to work in tandem with Models and Stores)
    2) Persist objects using Sencha
    3) Leverage Sencha to maximum potential (will not using Models/Stores hurt me in the long run?)


    Any help would be appreciated.

  2. #2
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    406
    Answers
    16
    Vote Rating
    4
    abe.elias is on a distinguished road

      0  

    Default


    I think you can have the best of both worlds. How you get your data, and how components consume the data are separated into two different concepts - Proxies and Stores

    Sencha's data package doesn't lock you into any particular paradigm. We do ship with an array of proxies:

    http://docs.sencha.com/touch/2-0/#!/...ata.proxy.Ajax
    http://docs.sencha.com/touch/2-0/#!/...ta.proxy.JsonP
    http://docs.sencha.com/touch/2-0/#!/...y.LocalStorage
    http://docs.sencha.com/touch/2-0/#!/...a.proxy.Memory
    http://docs.sencha.com/touch/2-0/#!/...ata.proxy.Rest
    http://docs.sencha.com/touch/2-0/#!/...SessionStorage

    But you can create your own. Luc Stakenborg created a couple to integrate with SharePoint services that leverage SOAP.

    https://github.com/lstak/SharePoint-...r-Sencha-Touch

    I hope this helps.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi