Real world application architecture

In reality we work with very large applications which may consists of hundreds of UI screens. What is a recommended architectural structure for large applications?

Thanks

You can construct UI on demand and call destruction methods when it doesn’t not necessary anymore. Using some client side MVC framework ( Backbone ) would be a good idea

Is there an example of a page that would be configured as a release version - without folders with separate components?

Thanks

I’m not sure that we have such sample.
Check the dhtmlx.zip in the root of dhtmlxSuite folder. It contains dhtmlx.js and dhtmlx.css - single js and css file for all components. You can use it in production instead of separate js and css files.

Such single file can be built on demand by using libCompiler or custom scripts
dhtmlx.com/blog/?p=2034
dhtmlx.com/blog/?p=2098