5 Nov 2012 10:57 PM #1
How to define Controller
Hi Guys ,
If my form has lot of events or action , instead of writting them in single page , Can I delegate those event or action to a so called 'Controller' ? Please share example if you guys have.
7 Nov 2012 11:06 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Ext JS 3 does not have MVC
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
9 Nov 2012 2:08 AM #3
I am aware about it .. but u know if I have 10 forms and I am handling events in that page only .. what I was thinking ; that there should be one js where I can handle all the events and then from there I will move..