+ Reply to Thread
I want to use Sencha-Touch2 MVC, I find that the examples such as "Kiva", "Twitter": one controller control all the views. So I want to ask if my App is a litter complex and contains many views, is it better that one controller control one view?
In a complex app, I don't have controllers based on views... I have controllers based on features but each controller can use as many views (and many instances of a view) as it needs to use.
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.
I understand, thank you very much.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us