Extjs-a pretty but not virtuous lover

Source: Internet
Author: User

[Reprint]Extjs-a pretty but not virtuous lover

Original address: http://www.p * o *-* S * o * f * t.com/blog/yongtree/342.html
Post operation failed. The error message related to this problem was as follows:ArticleContains prohibited content: [www. p * o *-* S * o * f * t.com]! Dizzy. 

Extjs-A beautiful but not virtuous lover is one of my feelings after I learned extjs and used it for development. I have been fascinated by the beauty of extjs. In order to solve this beautiful thing, I study all night long. At that time, there were no Chinese tutorials at the time of study and development. The only complete document that can be referenced was the official API documentation. Although the content was comprehensive and rich, however, I still suffered a lot from the English tutorials. I am very happy to use extjs in system development and have made some achievements.

Why do I call extjs "lover ". As a lover, she should first have a charming appearance. A large number of beautiful demos on the official website show her charming posture and how many people entered her territory because of her beauty. I have posted several pages on which extjs is used in our system.
1. In Koa Extjs is used. The following is my blog published on javaeye.
Let's show my ext results.
2. We are at the Baiyang software lab. The system background uses extjs desktop applications.


from these beautiful interfaces, why don't we fall under her pomegranate dress? How can we resist the temptation of the extjs camp and drive us closer?
in addition to her charming appearance, extjs has other advantages.
1. Although the unified class library has changed a lot after it was upgraded to 2.2, it is still relatively consistent.
2. componentization. Extjs can be called Javascript the object-oriented programming features are fully realized. A clear inheritance system allows us to use and expand different components.
3. Rich UI. For details, the first time you went to learn extjs was also attracted by the amazing example on the official website. The rich UI is different from the features not available in lightweight frameworks such as property and jquery.
4. detailed documentation. The extjs team did a good job in documentation, rich and easy to use, and prepared online and offline documents and other forms for us.
but the development system or technology selection, we can not only look at the interface, the effect, but from all aspects, just as people can not be promoted to the right room because of the beauty of the lover. The following are the shortcomings summarized when learning and developing extjs applications:
1. What we hate most is the extjs authorization. The restrictions are added again and again, so we have to consider the cost of using extjs.
2, the library file is too large, a ext-all.js is more than 900 K, resulting in page loading speed is too slow.
3. After a long period of time, the memory occupied by the browser increases rapidly, and the browser gets stuck frequently.
4. The functions on the server side are greatly weakened. Most of the functions on the server side are only for database operations. The function utilization of the application server is too low.
5. The previous section showed that JavaScript is used for implementation. There are many compatibility and stability issues, but not many people are proficient in JS programming.
6. Lack of powerful ide support. Although Aptana, spket, and other development tools, it is much worse than eclipse and. Although the online designer is provided, it is just a plaything.
7. js debugging is difficult, and the communication between the interface and the backend of the server and data transmission are not direct. The conversion of server objects and JSON and XML transmission media increases the overhead, although Java objects and JSON conversion class libraries are also provided, they are not very convenient to use, resulting in low development efficiency.
8. js code is messy and difficult to maintain. The larger the project, the higher the maintenance cost.
that's why extjs is a pretty, but not a good lover. Just as we do not know what we advocate, we naturally have reasons for existence as a social problem and need to properly understand and handle it. Extjs, as a lover, is also very embarrassing. We also need to carefully analyze it and give it a correct position.
1. extjs is too large and is not suitable for Internet applications. But fortunately, extjs released the EXTJS-CORE version this spring, the core class library is separated, remove the UI, only retain the relevant Ajax operations, this gives ext a place in Internet applications.
2. extjs is not suitable for developing the entire application, especially for large applications. You can use it wherever you need it. Let's fulfill her duties as a lover.
3. Because extjs is not concerned with HTML and CSS These page elements are especially suitable for some programmers who do not understand the interface. For example, I can use extjs to develop some small systems to entertain myself in my spare time.
After using extjs for a while, I finally decided to say goodbye to her. In oecp, we use beautiful and slightly virtuous richfaces. As our rich client technical framework, we will also learn more deeply and apply it in future development. In the future, please pay more attention to our oecp. Project and related technical applications.

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.