On the excessive of JS, Flex, jquery and other rich Internet age framework

Source: Internet
Author: User
Keywords On the special net the rich

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

After years of Internet technology development, website interactivity is more and more strong, software from C/s to B/s, and to the B/s structure of the C/s interface experience, accompanied by a large number of rich Internet framework to complete a spiral of reincarnation, at present we use in the project in the main B-end (browser-side) Framework JS Flex, jquery should be the most frequently used three frames, but these three frameworks are not suitable for use in any occasion, the so-called ruler has a short inch.

From the projects I've been exposed to, if it is to do the LAN, application systems, office classes and other systems, JS or Flex is a good choice, as I understand that some domestic banks are already using these two frameworks to develop internal application systems, tobacco industry cigarette Smoking system is also currently using flex development ( This technology choice I personally think is not very good, although very cool, but according to the current domestic speed, customer experience is not high, to download a lot of resources.

If it is done on the public Web site, JS and Flex or try to avoid the use of priority to recommend jquery, no matter what system, the speed of the system is the first threshold of customer experience, if you choose JS or Flex, the opening speed of the site will be a test, No small runtime download time will allow visitors to dying, I have been personally developed in the past few years to buy gifts network can be described in these three kinds of frameworks have tried, the old version of the site are all using jquery, the backstage use of flex, but the unstable speed will often result in the day after long time to open, After the adoption of the air installation package, directly into the desktop version, but also mixed.

The advantage is that air features can be used as much as possible, system made of orders voice reminders, printing, document design, such as powerful, the disadvantage is: the need to install every computer, although it can be automatically upgraded, but the feeling is still not very convenient, there is a problem is known as Air cross-platform, in fact, is not completely cross-platform, Currently I use the Ubuntu 64-bit system can not install the Air runtime environment; Therefore, the new version of the site before and after the development of the use of technology to develop into a "front: Jquery, Backstage: JS", after the actual operation experience, that JS than Flex has the advantage, Although JS also has a base pack of around 1M, but relatively flex to small, now the major browsers for the operation of JS fast spell, with the JS framework to develop the system in the speed will be more and more good, and developed the system can do a real sense of cross-platform, Cross-browser.

Choose these frames to ramble on, mainly these frameworks use a wide range, I have done the education industry, banking, and understanding of the tobacco industry are using one or more of these frameworks in the development of application systems, with these three frameworks to do different technical camp representatives to carry out the final end (purely personal opinion):

1, Flash VS Javascript (this angle contrasts JS and Jqury station A camp, representing all JS all frame sisters, Flex, Flash a separate camp):

Flash Player's current penetration rate is very high, but all developed with flash or flex system needs to install Plug-ins is its shortcomings, running flex developed applications download the runtime is too large, is also a burden, Flex is suitable for interactive games ( People who love to play the game seem to be able to accept the time to download the game application, intranet application system. At the same time, to add a bit more energy to run flash applications, I practice proved that a bad CPU fan, see the normal Web page, run JS application is no problem, but open Flash class program will automatically shutdown, it seems Apple said Flash energy consumption is correct.

JS, jquery and other JS framework, more in line with the future technology trend, including the current popular mobile phone applications, the use of JS development and application of the more advantages, whether it is multiplatform compatibility, or deployment is better, do not need to install similar Flash player plug-ins, Reduces the difficulty of applying deployment. At the same time, the browser is in a spell JS running speed, which for JS application class system is a good thing, compared to the Adobe company to optimize the flash more strength.

2, the heavy frame vs light frame (Flex and JS become a camp, which represents the heavy frame, jquery represents the light frame camp)

As mentioned above, Flex and JS are more suitable for intranet and application systems such as the development, these frameworks have many ready-made controls, the development of some layout, structured fixed applications better, jquery although there are many plug-ins, but the interface style, implementation methods are not unified, The trouble with freedom is to be too casual. But in the development of the site, because of the diversity of the interface of the site, the need is freedom, jquery has more to play the control, plus jquery natural small size of the good gene, the site's download running speed will not have any impact.

The comparison of these frameworks is not to distinguish who is superior who inferior, who wins who negative, the purpose of comparison is only to understand what they should use in the occasion, to avoid weaknesses, so that technology can be more effective for life services, good steel used in the blade.

This article by each family buys the gift net (http://www.jiajiamai.com) original, contributes in A5 stationmaster NET, respects the copyright! Reprint Please specify the source!

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.