What is Ajax?
Defining Ajax is not as easy as pointing to a Web page, because it is a combination of several technologies. It includes the following techniques:
* Standard representation of XHTML and CSS;
* Implement dynamic display and user interaction using the Documentation Object model DOM (document object models);
* Data exchange and operations using XML, XSLT, and XMLHttpRequest;
Microsoft first applied the XMLHttpRequest object as an ActiveX object in the Windows IE5. The first development with this ActiveX component is also the Outlook Web Access. The Mozilla program's engineers have launched a compatible local version of Mozilla 1.0 (and Netscape 7), and Apple has added this support to their safari 1.2. Similar features are included in a proposed standard for the consortium. At the same time, XMLHttpRequest objects have actually become technical standards.
The traditional network application software first triggers the call of a user's behavior or request to the HTTP server. In turn, the server performs certain tasks and then returns an HTML page to the requesting user. This is an incoherent user experience, when the server is processing the request, the user most of the time in the waiting state.
Ajax continues to warm up
Ajax is being watched by big companies such as Google and Amazon. Google has widely applied Ajax to web apps such as Gmail, Google suggest and Google Maps. (Indeed, Google has invested heavily in Ajax in all of the most recent major products that have been developed or improved.) Amazon has also launched a A9 search engine that uses AJAX technology. Every day there are many similar examples emerging.
Of course, Microsoft is also starting to develop more sophisticated Ajax. It is about to launch an AJAX tool code-named Atlas. The functionality of Atlas transcends AJAX itself, including the ability to consolidate the debugging capabilities of Visual Studio. In addition, the new ASP.net control makes it easier to bundle the client control with the server-side code. The Atlas Client Scripting Framework (Atlas Clent Script framework) also facilitates interaction with Web pages and related projects. However, this feature is not included in Visual Studio 2005.
Microsoft recently announced that the Atlas client scripting framework will contain the following (For more information, visit the Atlas planning website):
* A common function of the basic class library, has a wealth of string processing, timers and running tasks.
* A user interface framework that appends dynamic behavior to HTML.
* A set of network stacks to simplify server connectivity and network access.
* A rich set of user interface development controls, such as: Automatically completed text boxes, animations, and drag-and-drop.
* Browser compatibility level to handle differences in browser script behavior.
The above content is only a preliminary framework. These things are likely to change before the exact product is released. If you can't wait for Microsoft's products, you can try a free Microsoft first. NET Framework Ajax.NET Library.
Disadvantages of Ajax
The user's complaints about Ajax are mainly focused on the failure of the browser's fallback function, because under AJAX, the dynamic update of the page is not viewed by the browser as entering another page. However, a common method of using IFRAME can solve the problem.
Another criticism that Ajax faces makes me feel interesting, some people think that Ajax is just a new term introduced to promote old technology. This may be right, but at least the technology it contains is mature and tested.
New wine in old bottles
Ajax technology is not novel in the Web development world, but overall, its wide support for all major browsers makes it easier to accept and apply to the Web development community. The technology applied by Ajax is mature and stable. It allows you to develop rich application software to reduce server response time, so the user's latency is reduced accordingly.
- Ajax: A new way to build Web apps
- Discussion on the error handling mechanism of AJAX (2)
- Discussion on the error handling mechanism of AJAX (1)
- First experience. NET Ajax Brushless New technology
- A brief analysis of Ajax development Technology in Rails system (4)