User:Danielbullis/sandbox

AJAJ stands for acronym Asynchronous JavaScript and JSON.

History
The term AJAJ has been used since at least 2006.

Similarities with AJAX
Similar to the more popularly used AJAX, AJAJ is executed asynchronously, meaning that it occurs in the background, and does not interrupt the flow of the JavaScript interpreter as it gets read. The asynchronous aspect of AJAJ allows one to write code which, for example, sends some request to a server and handles a server response without reloading the page in the process. The opposite of this is synchronous, which means "in order". An example of synchronous processes is seen in standard HTML transmission between a client and a server; when a user clicks a hyperlink, there is some time in which the content is requested and retrieved from the server which causes the page to "reload." With AJAX, you can request the same resource without reloading the page.

AJAX is used primarily with server communication, it does so Unlike its predecessor AJAX which uses XML, in AJAJ the content sent back and forth between the client and server is strictly JSON.

Advantages
AJAJ has many advantages over its predecessor AJAX like being lightweight and sending data back and forth in JSON which being JavaScript is faster for the browser to process and easier for developers to work with.

JSON Encoding
JSON, or JavaScript Object Notation, is the structure type of the returned data from the server.