开发者

Sench Touch MVC

开发者 https://www.devze.com 2023-04-07 14:03 出处:网络
I am pretty new to MVC and I have implemented it in my Sencha touch app. My question is what开发者_C百科 is the advantage of implementing the Sencha Touch controller Ext.Controller and dispatching to

I am pretty new to MVC and I have implemented it in my Sencha touch app. My question is what开发者_C百科 is the advantage of implementing the Sencha Touch controller Ext.Controller and dispatching to it over using just regular js functions instead? In my experience you can do the same with both but Ext.Controller requires a bit more code to do.


find this below link, you will get clear step by step approach to MVC using sencha touch

sencha-touch-mvc-application-from-scratch


This question answered it for me, kindly provide by Luis. As for as I can tell you can use the dispatch and the controller to load only the code needed instead of all at once on page load as well as better control on event handling.

0

精彩评论

暂无评论...
验证码 换一张
取 消