EXTJS MVC Structure

Source: Internet
Author: User

Large client applications are generally difficult to develop, difficult to organize, and difficult to maintain. As the project progresses, you will find that the whole job is going out of control-adding more functionality to the project and more developers. ExtJS4 brings a new application structure. This structure is not only used for organizing code, but also effectively reducing the amount of code necessary.

The application structure of this ExtJS4 is in the form of MVC. In this form, models and controllers were introduced for the first time to ExtJS. There are already many MVC-style structures, most of which are similar in their own right. Here is our definition of the MVC structure:

A model is a collection of fields and data (such as a user model that contains a user name and a password model). The model is used for presentation of data, and can also be associated to other models by association relationships. The model works much like the ExtJS3 record class, and is typically used with stores to present data to grids and other components.

A view is a type of component. grids, trees, and panels are all views.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.