Views on AJAX technology

Source: Internet
Author: User

I have done Ajax for nearly half a year.ArticleIt seems that the excerpt is just in line with your own ideas as follows:

From the beginning of the year to the present, Ajax is becoming increasingly popular, especially in China. At present, it seems that many people are engaged in Ajax-based frameworks, and some of them have been released abroad. This kind of technology has always existed. Google and Microsoft seem a little too popular. NowProgramThey are all stars!

If Ajax is hard to reach, it is really so good. It is worth increasing to the Framework height and turning the system UI around it? For Ajax itself, the most important thing is to solve the problem of refreshing data on the webpage. In addition, it reduces the amount of data transmitted and pushes the data parsing work to the client, it can solve many traditional problems and achieve some dynamic effects conveniently. However, I personally think it is inappropriate to establish a framework around ajax to display the vast majority of content on the UI through Ajax. Many people say on their websites that AJAX is more mature and can achieve good results. But the problem is that AJAX technology is mature, but the Ajax framework is very immature.

I have been involved in the development of a product in a well-known foreign company for a while before. This system was developed several years ago. Many of the system's UIS are based on Ajax, ajax applications have become a peak (of course, there was certainly no Ajax term at that time), and the interface's operational behavior is almost comparable to that of the desktop system. This system has a powerful Ajax framework. There are dozens of basic JS files. The UI is driven by JavaScript events and data is obtained by XMLHTTP. The entire solution looks really good, maybe it's what many people want to achieve now. But what is the actual situation? The effect is achieved, while the efficiency of program development, testing, and maintenance is greatly reduced. The development will not be said. The investment in the early stage is huge, and the system complexity is greatly increased. The program can only be accessed using IE. During the test, the Javascript bug of Ajax was everywhere. It was very inconvenient to debug such errors. Without a good JavaScript debugger, the actual output HTML could not be seen.Code. Poor maintenance. Add a new function. The JSP file, Tag, JS, and background classes are all over again. Perhaps it is these insurmountable problems that I have seen that AJAX is basically useless in the recently developed supporting software.

The attempts and experiences of large companies may give you some inspiration. In the end, all technologies have advantages and disadvantages, and Ajax is the same. I personally think that AJAX is most suitable for online map systems such as Google map. The presentation scheme is relatively simple and requires refreshing data acquisition. For business systems with many businesses and diverse presentation styles, you can't worry about anything. What Ajax framework does it really use? When it comes to the beginning, you just hit your feet for a meaningless effect.

At last, it is emphasized that AJAX is a good thing. It is used in projects to achieve some auxiliary effects (the most traditional ones are real-time verification when users input data, and relevant tips are given) that is, quick and amazing. However, excessive use can easily put your system into trouble. Be careful! In addition, most of the so-called Ajax frameworks published at present implement a form or a part of the page without refreshing the new number. There is no need to talk about any web framework. At present, there is no need to hold too much hope.

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.