Asynchronous JavaScript and XML

Epidemiology in Public Health
March 6, 2019
Gender symmetry and domestic violence
March 6, 2019

Asynchronous JavaScript and XML

Asynchronous JavaScript and XML

Asynchronous is one way that one can make a request to a server, and once the request is issued, the script does not wait for it to respond instead it continues with its execution. Thus, Asynchronous JavaScript and XML is not a programming language or tool, but it is a technique for developing more efficient interactive web application where it enables the exchange of data with a server and updates parts of a web page without reloading the entire page (Technologies, 2015). AJAX is mainly used by Google where its major products that it has introduced such as Gmail, Google maps are AJAX applications (Technologies, 2015). AJAX has various advantages and disadvantages as discussed below.

The benefits are; It is user-friendly because its enabled applications will always be responsive, faster and well understood by the user hence this will eliminate a page post back. There is increased speed because there is no pushing on a submit button and reloading of a website are needed, and this too helps in dynamic user interactivity. It helps in making asynchronous calls where it allows the user to avoid waiting for all data to arrive before engaging the user to act again (Burten, 2013)

The disadvantages are; there is no back button in AJAX because of the asynchronous code thus the browser has no former page in the cache and cannot reload it accurately. JavaScript can be switched off in the browser because of security reasons, and this leads to event handling and server connection on the client’s side impossible (Burten, 2013).

Lastly, the biggest challenges in AJAX are not technical, but the designers of the application and hence can be well modified with a broader and richer range of possibilities.

References

Burten, H. (2013). AJAX Programming[Asynchronous JavaScript and XML]. Information Professional4(3), 10-11. http://dx.doi.org/10.1049/inp:20070301

Technologies, S. (2015). What is Ajax and Where is it Used in Technology?Segue Technologies. Retrieved 8 November 2017, from https://www.seguetech.com/ajax-technology/

Leave a Reply

Your email address will not be published. Required fields are marked *