PDA

View Full Version : Application Architecture



Jehu
21 Feb 2011, 7:39 AM
Are there more informations about the new Application Architecture (http://www.sencha.com/blog/ext-js-4-preview-faster-easier-more-stable/)? Can't find some more informations about it. Because we will create a huge App in Ext JS 4 it would be helpful at this time... :-)

Thanks.

deemonas
22 Feb 2011, 4:50 AM
Yes, please.

Could anybody put some more light on the subject?

Tod
22 Feb 2011, 7:21 AM
Also for me as well. Attended the conference and heard about all the new features in 4 -- waiting patiently so we can get the architecture under control...

thesilentman
22 Feb 2011, 8:16 AM
Yes please, I am also starting a new app and would like to start it with extjs4. Need to put my hands on Application Architecture and start testing.

s.busch
25 Feb 2011, 7:19 AM
+1

Any information would be helpful for starting a new project with Ext JS 4.

Does the preview release contain components for the new application architecture?

Sebastian

westy
25 Feb 2011, 8:13 AM
+
Does the preview release contain components for the new application architecture?


Yes, it does.

The core bit is Ext.regApplication, which creates the MVC namespaces for your application (models, views, controllers, and stores, so MVCS I suppose).

Just be sure to set autoInitViewport to false, since that's currently broken in the preview.
You'll have to set up a viewport yourself.

Kazuhiro posted a nice example (http://www.sencha.com/forum/showthread.php?124217-MVC-Example&p=573043&viewfull=1#post573043) which I found to be a good starting point.

Hope that helps