Ajax and REST
Related Tags:
In a short span of 15 years, the World Wide Web has been growing from an experimental study for the technical backbone of a modern society. The purpose of the initial invention Web to enable people to easily publish and link information, it has now developed into a viable software application platform. However, as applications through the use of rich application model and generate personalized content and access to more integration, the structure of their Web architecture style REST (Representational State Transfer) violated more and more. This will reduce breach of the scalability of applications, increasing system complexity.
Emerging Ajax Web client framework for integration-style Web applications and REST style coherent framework. REST so that they can enjoy the characteristics of those outstanding, at the same time, eliminate the application criteria for the violation REST the adverse characteristics. This paper will be presented for the integration of Web applications with Ajax and REST successful ways and reasons.
Please visit Ajax technology resource centre, which is the Ajax programming model of a one-stop information centre, including many documents, tutorials, forums, blog, wiki and news. Any new information can be found here.
references), he describes his feelings at that time:
"Despite its success was very excited, but the Internet developer community gradually began to worry that the use of the Web such rapid growth, as well as some clumsy early HTTP network characteristics, fast Internet infrastructure overwhelming the capacity to bear, resulting in sudden collapse. "
"A framework for the design should be taken into account when a group of characteristics, it can meet or exceed the system requirements. Ignore these characteristics may lead to changes in the latter part of the whole structure interference, as is the use of a Ladechuang to replace the load-bearing walls will destroy the whole structural reliability. "- Roy Fielding
Fielding and the other people on the Web structure and whether to support a variety of expansion and the use of re-examination. This re-examine the tangible results including updating such as URI and HTTP, such as a number of important criteria. This review also received some invisible but very meaningful results: super-media applications determine the structure of a new style, Fielding will be named for REST (Representational State Transfer). Fielding, that the use and meets REST design constraints on the deployment of Web components can be useful to make full use of the Web. He also warned that, contrary to the norms REST Web component will be unable to make use of these advantages.
Early, most Web sites, and simple Web applications are in fact comply with the REST criteria. However, with the integration of Web applications the growing popularity of Web application framework REST gradually began deviated from the criteria, then spiral, the situation has been deteriorating. Integration of Web-server structure of the analysis clearly it is very difficult, because the use of this framework in the style of 10 years, has established such a belief: All these problems are Web applications and the inherent structure. In fact, this is not a Web application structure. But by the server-side Web application architecture style generated by the issue. To break this bias, we have to look at how the whole structure is developed to such a state, that would be helpful. We will explain why in the Ajax application in the creation of commercially viable, acceptable to many of the past assumptions are no longer set up now.
the non-use of Ajax client processing). But Ajax style architecture allows developers and the state can be dealt with the distribution to client demand. Read on to learn why choose to use the integration of Ajax-style applications can continue to follow the REST criteria, and make full use of its advantages.
References Jesse James Garrett in the Ajax Enlightenment article). Data Binding and Display the location may seem to be a realization of the details, but such a distinction would lead to entirely different style of the structure.
(see references). Construction at the Dojo provides a tool to create applications contain all the logic that the compression JavaScript and style documents. Because it is only the end of a document, so can their Web browser cache, which means that the opening of our second visit to the Dojo Web applications, it is likely to be from the browser cache loading Ajax, and not from loading it on the server. We will be able to integrate into this situation with a high degree of server-side Web application procedures to contrast, the latter will be a large number of requests for each of the server, because the browser and not the intermediary network cache ever-changing resources.
As Ajax applications engine is a document, it also can use the proxy cache. In the large-scale enterprise network, as long as an employee has downloaded a particular version of the application's Ajax engine, any other person can be from the internal network gateway, access to a copy of the cache.
Therefore, the application of resources, a good definition of Ajax applications engine with REST criteria, and server-side Web applications than it has significant scalability advantages.
original English text.
Access to products and technologies
- Dojo Toolkit: Dojo Toolkit is an open source Ajax framework, which provides a high-level programming abstraction, and the browser incompatibility has also standardized.
Discuss
- Ajax Forum: Ajax discuss the issues of developing the Forum by Jack Herrington maintenance, which can lead you into the Ajax world.
developerWorks blog on the subject of reading and playing basketball for comment.
- AJaX for weblogs
- Ajax --
- About''Ajax '
- AJAX Technology
- AJAX Essentials
- Learning REST
- Wrote the AJAX
- AJAX browser
- Ajax and REST, Part 2
- Ajax resources or Ajax Resources
- What is Ajax?
- Ajax is not mysterious
- AJAX, tasteless!
- Ajax bad
- Acquaint AJAX
- AJAX
- What is AJAX
- Thinking in AJAX (1) - AJAX
- Ajax Profile
- The Ajax
- About AJAX
- Pragmatic Ajax
- Ajax and REST




