At the moment our team evaluate possibility of converting large corporate web-application (kind of a ERP system, 600+ unique screens) using ExtJS for the front end. The application was build on our open sourced eludia engine
Our engine requires Model definition (it morphs database as you edit definition), have some kind of Controller (Content modules) and Presentation (Presentation modules with code that generates actual js+html mix)
Like some people from this thread our team has a problem:
We'd like to have Model and View in server side and just to send JSON-data to the front-end
Currently eludia core developers(=my team, we maintain both this application and eludia) have done some steps toward morphing engine to use ExtJS as front end
My team is considering:
- continue using old Content modules as server side code
- generating Model files for ExtJS on the fly using server-side Model definition,
- converting Presentation modules to client-side ExtJS view modules, and write client-side controllers for each screen But now there is one more problem: ExtJS requires to enumerate all controllers in Ext.app.Application Every time a person writes new/ converts a screen from old engine he should add it to this list
Can Ext.app.Application.controllers ... be generated dynamically?
Therefore these questions, ordered by fuzziness:
- Can you name any large enough (600+ screens, preferable open-sourced) MVC/non MVC application which uses ExtJS as front-end ?
- Are we moving in the right way?
UPDATE
I should try to narrow question
One doesn't need to load all controllers at once during app startup?
What I trying to say, maybe it is possible to load controllers in a more 'dynamic' approach:
- generate one controller js for opened screen
- append new ones to Ext.app.Application.controllers whenever user does something (clicks a link, button, etc.): when new screen is needed