1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    30
    Vote Rating
    0
    pm.sreejith is on a distinguished road

      0  

    Question Difference between sencha-touch.js and sencha-touch-all.js library files?

    Difference between sencha-touch.js and sencha-touch-all.js library files?


    Hi All,

    What is the difference between sencha-touch.js and sencha-touch-all.js library files?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,795
    Vote Rating
    834
    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


    sencha-touch.js has the bare minimum classes in it (no widgets, etc)... sencha-touch-all.js has everything in it.
    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
    Oct 2011
    Location
    Montreal
    Posts
    48
    Vote Rating
    0
    JFFortierQc is on a distinguished road

      0  

    Default


    Seams like if we want to do
    Ext.define("AnyCustomClass", {extend: "Ext.data.Model", ...
    or even
    Ext.define("AnyCustomClass", {"Ext.mixin.Observable",, ...
    We need to use the sencha-touch-all.js

    So to create an app, we need at least to extend a model, well it's what I do and this requires sencha-touch-all.js. Well this fix my error message in Safari with missing file data.Model.js and mixin.Observable.js


    Let me know if I'm wrong

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,795
    Vote Rating
    834
    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


    I do

    Code:
    Ext.define('MyModel', {
        extend : 'Ext.data.Model',
    
        ....
    });
    without any issues with sencha-touch-debug.js . If you don't use one of the all builds, you need to have Ext.Loader enabled so that it can load the files that you need like Ext.data.Model above. sencha-touch-debug.js has this enabled, sencha-touch.js does not as Ext.Loader is not meant for production.
    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.

  5. #5
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    thomaskantaras is on a distinguished road

      0  

    Default


    I 'm afraid I do not understand. What is the recommended way on production that keeps minimum memory usage? Should we use sencha-touch.js and disable Ext.loader? How should we then load the widgets the application needs?

    thanks a lot

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