Ajax, WebSocket, WebRTC and client-server applications
Ajax is still the best solution for updating web content at the request of the user, but it is replaced by WebSocket and WebRTC for creating interactive applications online or local on a client-server model. These technologies are also the subjects of this section.
Which interface for a modern application?
Comparison of all solutions: Ajax, XAML, JavaFX, and also the new standards of the Web. The evolutions of these technologies are studied, as they can modify definitively the decision.
Comparison of JSON and XML
The XHR object as defined in the standard specification allow to use two different attributes used when the file is loaded in XML format or not, knowing that a file JSON is seen as a text file. There are responseXML and responseTxt.
To choose between these formats, the article should help to the decision.
Ajax crawlable: Understanding the specification from Google
Google made a proposal for a standard to dynamic content indexed by search engine.
XMLHttpRequest vs. WebSocket
A new modernized standard ways to access the server, with WebSocket we obtain a two-way access to the server which can send notifications.
We let communicate the browser's WebSocket standard object with a framework on the server or a local machine, to exchange texts or images.
WebRTC vs. WebSocket
List of Ajax and PHP frameworks
A lightweight and easy to use library to make Ajax pages without to load a full framework.