Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What's the connection between Extjs and Flex?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail what is the connection between Extjs and Flex. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.

Extjs and Flex links

Development is faced with demand and performance, third-party selection lies in the overall level of the team, the satisfaction of demand, performance affordability, word-of-mouth & development prospects and future maintenance costs;

1. Extjs does a really good job in webui. The learning curve is not a problem. I want to choose between Extjs, which tends to charge, and dojo, which is noble. You should choose the former, at least I am. The reason is very simple: Extjs is not fully charged, beautiful interface can meet the needs of the project, documentation &api are in place, worried performance Extjs is also very concerned about optimization and improvement in each upgrade version, and dojo although well-known, favored by large companies, but there is a fatal flaw-less documentation, api upgrade changes, some module performance may not be very stable, this point you can pay attention to struts2, struts2 also chose dojo, It is also because of this kind of wide son random change of dojo that this part of struts2 development is actually very painful, struts2-dojo-plugin is said to be born in struts2.1 version out of this;

2, Extjs and jquery are not comparable, because their respective starting point and foothold are not on the same platform; of course, if you are worried about the performance of Extjs, but also prefer jquery, then you can consider using jquery+css+div to DIY wheels or jquery ui plug-ins to achieve Extjs similar features you need, here you have not found a problem: jquery package to achieve similar Extjs provides functionality! Yes, that is it, it can answer at least two of your questions, one is that Extjs and jQuery are not comparable, and the other is that Extjs performance is generally weaker than jQuery, but then again, if you encapsulate jQuery to Extjs level, how will the performance of the two compare? God knows, at least I don't know, the eternal contradiction-ease of use and performance, the higher the level of packaging, the more convenient it is to apply and maintain, the more performance concerns there are, not only web development, but also pure background projects, and pure background projects pay more attention to performance. The easy-to-use and easy-to-maintain packaging level and performance and flexibility are always contradictory coexistence. How to choose is up to you, but the effect ultimately depends on the satisfaction of the end user experience of the project. Because that's where the money comes in;

PS: That's because I recently did a pure background project encountered persistent layer performance bottleneck debate, I give you a rough performance test data, even if I don't say, I believe you know the meaning of this (it is said that C oracleoci can reach 3k/s insert speed, and I test java oci or thin** test record is no more than 1.3k/s, sweat):

Test environment: host HP-UXrp3440B.11.23U9000/800(td) database ora9i

Insertion speed test data

Mode Drive Mode Data Volume 2w2w10w10w

Original jdbc mode thin time (rate)17 s (1176 bars/s)18 s (1111 bars/s)1.26 min (1162 bars/s)1.26 min (1162 bars/s)

oci18 seconds (1111 bars/s)18 seconds (1111 bars/s)1.25 minutes (1176 bars/s) 1.28 minutes (1136 bars/s)

JdbcTemplate mode thin24 s (833 entries/s)24 s (833 entries/s)1.59 min (840 entries/s)1.54 min (877 entries/s)

oci29 seconds (689 bars/s)29 seconds (689 bars/s)2.33 minutes (653 bars/s)2.21 minutes (709 bars/s)

The insertion speed of ibatis in two driving modes is about more than 400 pieces/s, and the batch size of ibatis can reach [5400,6000](pieces/s). When the batch value is selected between [500,1000] pieces,

It can be seen from the test data that the better the OO ease of use, the higher the level of encapsulation abstraction, the lower the performance, and the future improvement may adopt DBUtil, because in most cases the meaning of instant insert project cache in the background is not obvious, and there is a feeling that the more you go to the bottom, the more primitive you are. Is the *** realm of life really returning to its original state?

PS-Java is an open source world, there are many options, in order to avoid duplication of manufacturing wheels, rapid development, the use of existing third-party is a useful measure, but to achieve the use of third-party can quickly, high-performance completion of project development, we must strictly select off, from the requirements to meet, open source manufacturers, user groups, word of mouth, performance, prospects, etc., multi-directional, multi-angle measurement of the third party, once determined under the third party will be in-depth research, for my use;

3. Besides Flex, if we compare Extjs with Flex, it is nothing more than ui and performance. Things are two-sided, so I don't know why, but we might as well look at it from another angle:

What caught your eye about Flex? I think it is nothing more than good public opinion, beautiful ui components, highly coupled B/S layer server data can easily access the browser's ability and rich client experience (similar to the relationship between js and dwr, in this case seems to be highly coupled We don't mind, maybe interface oriented programming mitigates the criticism of high coupling, so don't be too technical... Flex does come out of a new way, its new benefits from the door out of adobe, benefit from the flash environment and actionscript footsteps; we might as well dismember Flex like this:

a. Beautiful UI of component style;

b. script programming for actionscript;

c. Flash operating environment;

d.B/S communication protocol;

Where is its focus? Adobe takes advantage of flash to create an application development model for web rich client experiences. Personally, why do I say that? We can see from the following points:

1. Traditional web development mainly relies on JS+div+CSS to design the interface. Although JS intentionally climbs Java, there is no inevitable connection between the two. Finally, due to its early difficulties in development, debugging, cross-browser differences and non-real object-oriented syntax, as well as the so-called JS loading performance discussion, developers love and hate JS.

Second, the popularity of Ajax makes the customer experience greatly improved, the gradual silence of JS and the second spring, once again being fanatically sought after, this process also reflects the web development UI is soft, indicating that web development needs rich UI, need non-traditional web experience, developers expect to be able to use RAD way to develop application systems to complete web development, simple, rich UI and convenient UI and backend data interaction, this should be the route jsf does it;

3. jsf already existed before ajax. jsf was also an orthodox origin. it was aimed at UI. it was pushed for a long time, but it was always lukewarm. i do not know why, but jsf gave me the feeling that the configuration was more than the code. this made me unable to stand it.

Fourth, the next representative should be gwt, is a set of development base class library launched by google, will be completely divided into client/server mode, no js code, because gwt will do it for you, this may be not good at js and eager to develop a beautiful UI web application friends gospel, maybe google's reason, gwt is quite influential;

5. Extjs focuses on the js class library of webUI, and then looks at gwt-ext and ext-gwt, both focusing on web development UI and customer experience;

Can we look at it this way: the weakness of traditional web development ui (js+div+css)--> Bandwidth increase, data interaction ability, customer experience improvement (Ajax)--> UI requirements on the one hand (air, Extjs), a change in development mode (jsf, gwt, gwt-ext)--> The above webUI finally embodies script js, parsing depends on each browser; there are dismembered elements a. component ui;b.js script;c. browser runtime environment;d.http protocol (of course ajaxrpc)--> finally to the hot Flex; this should be the root of development ~

About "Extjs and Flex have what connection" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report