PDA

View Full Version : MVC - controller, models



Zdeno
8 Aug 2011, 1:46 PM
Hello, is there any way how you can add controllers, models modularly? Is there any example how to create structure like:



app/controllers/module1.js
app/controllers/module2.js
app/models/module1/module1-model1.js
app/models/module2/module2-model1.js
app/views/module1/module1.js
app/views/module2/module2.js

etc.
Do i need register controllers or so?

Thank you in advance

Zdeno
8 Aug 2011, 1:57 PM
Hmm thats what im looking for: nice example

http://www.sencha.com/forum/showthread.php?115688-Sencha-Touch-MVC&p=544044&viewfull=1#post544044
(http://www.sencha.com/forum/showthread.php?115688-Sencha-Touch-MVC&p=544044&viewfull=1#post544044)
i appreciate any other hint =)