View Full Version : Mobile app with sencha-touch

19 Aug 2012, 10:24 PM
I wrote a ppt named "Mobile app with sencha-touch" for my colleagues in other sub-companies.I propose a new word "WebView" to instead one of the "Hybrid" mode.I have also attached the the sencha practice of an android project. I hope you give me some feedback.~o)

PPT URL: http://www.slideshare.net/fch415/mobile-app-with-sencha-touch

20 Aug 2012, 5:01 AM
In your index.html you are using <script> for your classes, why not use the loader instead so your build can pick it all up and build into one JS file?

20 Aug 2012, 6:00 PM
I very like sencha's dynamic class-loading system?Not like the module file loading solution in earlier other JS frameworks. This system is very much like Java(Coincides with what I thought before), I having realized it in the next version of my JSDK: http://jsdk2.sourceforge.net/

Why not use DCL in index.html?
1)Main reason: early in the project, finishing class depends is cumbersome, which is why we temporarily use the traditional write way.
1)Other reason: Because our build.xml(under Ant) only compress each js, not join them and rewrite index.html.

I feel DCL(for JS) is more suitable for the development period, rather than the running period.