-
7 Nov 2011 5:35 AM #1
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?
-
7 Nov 2011 8:20 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 434
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
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
2 Apr 2012 6:09 PM #3
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
-
3 Apr 2012 4:40 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 434
I do
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.Code:Ext.define('MyModel', { extend : 'Ext.data.Model', .... });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
14 Nov 2012 11:26 AM #5
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


Reply With Quote