Ajax, Computer Networking

Ajax is a relatively new set of techniques that, in a sense, implement some of the functionalities originally provided by RPC. Ajax is primarily used to build web applications with good performance and interactive responsiveness. The name comes from "Asynchronous JavaScript and XML" (though the general technique doesn't necessarily need to use JavaScript or XML).

The idea is to use JavaScript (or the equivalent) to run a web application in your browser, and do as much as possible on your computer, minimizing data exchanges over the network. Typically, Ajax applications are designed so that most data exchanges can be asynchronous and in the background. This means that you will be able to keep doing useful work with the application even on a relatively slow network connection.

Ajax resembles RPC because most of the processing can be done "remotely" on the client, instead of on the server. A good example of this technology is Google Maps. One reason why Google Maps works so well is because it explicitly uses the fact that most users own a fairly fast computer, and thus lots of the actual processing can be done locally. The user just needs to fetch asynchronously each piece (tile) of the map, and, when these are received, he or she can process them locally. If, on the other hand, we were to send every mouse movement to Google, and expect all processing to be performed remotely, we would end up with a very slow and impractical system. Notice that because Ajax is asynchronous, it scales very well with slow connections. Ajax does not block waiting for pieces of data to arrive beforemaking the systemusable. Instead (in the case of Google Maps), we notice that the user is allowed to manipulate the map (panning around, zooming in, etc) even when the map itself has not yet been completely received.

Posted Date: 3/13/2013 6:25:25 AM | Location : United States







Related Discussions:- Ajax, Assignment Help, Ask Question on Ajax, Get Answer, Expert's Help, Ajax Discussions

Write discussion on Ajax
Your posts are moderated
Related Questions
Describe some common threats to the hardware Theft of a computer, printer, or other resources. Tampering by a disinterested or frustrated employee who takes every chan

Design the user interface for mode switching and data entry any way that you like. For example, to switch an application from transmit mode to receive mode, you can give it special

Q. Physical Layer Responsibilities of osi model? - Physical characteristics of interfaces as well as media - Representation of bits with no interpretation - Data rate is


A stored procedure is a named collection of SQL statements and procedural logic that is compiled, verified and kept in a server database. It is typically treated like any other dat

Suppose there are exactly five packet switches (Figure 4) between a sending host and a receiving host connected by a virtual circuit line (shown as dotted line in figure 4). The tr

In multiprocessing, various processors have to to communicate with each other. Therefore, synchronisation is needed between them. The correctness and performance of parallel execut

After going through this part, you should be capable to: Describe the concepts of message passing programming; List out the various communication modes for communication

Explain Network Services Network services are the thing that a network can do. The main networking services are File Services: This contains file transfer, storage, data m

Systolic Array This interconnection network is a kind of pipelined array architecture and it is designed for multidimensional flow of data. It is used for executing fixed algor