Ajax, Computer Networking

Assignment Help:

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.


Related Discussions:- Ajax

State the security concerns, State the Security concerns The history of...

State the Security concerns The history of security concerns is not new. They have been of great worry to man and for many centuries man has been endeavouring to devise new tec

Switching, SWITCHING: A switched LAN has a single electronic device th...

SWITCHING: A switched LAN has a single electronic device that sends frames among the connected devices. A hub with several ports simulates a single shared phase. However a swi

Nfs best performance, what parameters should i have for the best nfs v4 per...

what parameters should i have for the best nfs v4 performance?

What is the function of the osi session layer, What is the function of the ...

What is the function of the OSI Session Layer? This layer gives the protocols and means for two devices on the network to communicate with each other by holding a session.  Thi

Illustrate about rsa encryption, Q. Illustrate about RSA Encryption? R...

Q. Illustrate about RSA Encryption? RSA Encryption - Public key encryption technique - Encryption steps: - Encode data to be encrypted as a number to create the pla

Determine about the tcp/ip and osi model, Determine about the TCP/IP and OS...

Determine about the TCP/IP and OSI model Both models are based on the layered protocols. Both comprise network, transport and application layer. In both the models, transport s

Describe the static routing process, Describe the static routing process ...

Describe the static routing process A static routing method does not adapt to changing conditions on the network but uses a fixed method developed ahead of time. With alternat

LAN, categories of LAN

categories of LAN

Explain the types of security threats, Q. Explain the types of Security Thr...

Q. Explain the types of Security Threats? (a) Normal Flow (b) Interruption: An asset of a system develops into unavailable or unusable. (c) Interception: A few unaut

Define transport layer of osi model, Q. Define transport layer of osi model...

Q. Define transport layer of osi model? - The transport layer regulates information flow to makes sure end-to-end connectivity between host applications reliably and accurately

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd