MVC structure and views in index page
Hi! I'd like to know the best way for don't load all views in my index.html page.
Is there a solution in ST2 for manage this problem??
If I've 10 views, do I've to load all 10 view in index.html page?
Sencha - Sencha Touch Dev Team
If you mean loading the files, that is not an issue. You should use our SDK Tools to build a compressed version of your application.
If you mean having all the views rendered at the same time (for example, 10 views in a card layout), then perhaps you could dynamically add them using the Ext.Container.add method.
I mean this, suppose that my app has 20 views (list pages, details pages, about page .... etc)
In ST1 I've to include all these view in index.html; I think that this make app slow because all pages are loaded in index.html
In ST2 is it the same?