PDA

View Full Version : Splitting large apps into separate applications / modules



Zyclops
27 Dec 2011, 10:33 PM
I would like to write a very large application and split it into modules. How can I use Ext.application to have access to the various different applications files.

For example:


/megaapp
/flightdeck
/app
/model
/controller
/view
/commandcentre
/app
/model
/controller
/view
/engineroom
/communications

And having a defined API between these modules. Is there anyway of doing this in ExtJS / SenchaTouch 2?

28 Dec 2011, 6:31 AM
If your app is this large, I highly suggest you create separate pages.

That said, I've theorized that you could create one master app, then separate "master" controllers, that manage sub controllers. I have not done this yet, but I imagine it's possible.

Zyclops
29 Dec 2011, 10:52 PM
yeah I was really thinking of in just logically separating at first then later on separating them into separate applications that communicate through a defined API