1/7 www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-1/ Architecting Your App in Ext JS Architecting Your App in Ext JS 4 , , Part Part 1 Search Twitter Facebook Tumblr LinkedIn RSS Fe e d Vimeo 3 Comments Ext JS, v4.x RSS | Responses Community Community Related Posts Related Posts The Sencha Class System Nov 29 Architecting Your App in Ext JS 4, Part 3 Sep 19 Ext Designer 1.2 Overview Aug 4 Any ideas Any ideas? If you have any ideas to improve this article, please let us know 16 Tweet Tweet 16 Published Jun 21, 2011 | Tommy Maintz | Tutorial | Easy Last Updated Aug 10, 2011 This Tutorial is most relevant to Ext JS, 4.x. The scalability, maintainability and flexibility of an application is mostly determined by the quality of the application’s architecture. Unfortunately, it’s often treated as an afterthought. Proofs of concept and prototypes turn into massive applications, and example code is copied and pasted into the foundations of many applications. You may be tempted to do this because of the quick progress that you see at the start of a project. However, the time saved will be relatively low compared to the time spent on having to maintain, scale and often refactor your application later in the project. One way to better prepare for writing a solid architecture is to follow certain conventions and define application views, models, stores and controllers before actually implementing them. In this article, we’ll take a look at a popular application and discuss how we might architect the user interface to create a solid foundation. Code Organization Code Organization Application architecture is as much about providing structure and consistency as it is about actual classes and framework code. Building a good architecture unlocks a number of important benefits: Every application works the same way so you only have to learn it once It’s easy to share code between apps because they all work the same way You can use Ext JS build tools to create optimized versions of your applications for production use In Ext JS 4, we have defined conventions that you should consider following when building your applications — most notably a unified directory structure. This simple structure places all classes into the app folder, which in turn contains sub-folders to 7 Like
7
Embed
Architecting your app in ext js 4, part 1 learn sencha
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.