Jump to content

User:Danielbullis/sandbox

From Wikipedia, the free encyclopedia

AJAJ stands for acronym Asynchronous JavaScript and JSON.

History[edit]

The term AJAJ has been used since at least 2006.[1]

Similarities with AJAX[edit]

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[citation needed]. 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. [citation needed]

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[edit]

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.[citation needed]

JSON Encoding[edit]

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


References[edit]

  1. ^ "New AJAX ancronym? Move Over XML...JSON puts the J in AJAJ - Jim Plush's Programming Paradise". Litfuel.net. 2006-01-13. Retrieved 2011-12-28.
  2. ^ "Asynchronous JavaScript and JSON". http://imrannazar.com/. 2008-12-30. Retrieved 2013-02-15. {{cite web}}: External link in |publisher= (help)

Category:JavaScript Category:JSON