What is Ajax?
In these post I will answer on the question above- what is Ajax?
AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) is a group of related techniques for creating websites. These techniques are used on the client side (client-side, an example are web browsers) to create asynchronous web applications. Using AJAX, network applications can send data and download it asynchronously from the server (in the background), without interfering with the appearance and functionality of an existing website. The term “AJAX” was first used on February 18, 2005 by Jesse James Garrett in the article “AJAX: A New Approach to Web Applications” (“AJAX: A New Approach to Web Applications”).
The techniques used by AJAX consist of elements such as:
XML, that is, from the markup language that should describe the information being received. It should, because in reality the data is transferred in a different format and is received as text. Such formats include, for example, HTML or JavaScript code fragments, XMLHttpRequest, which enables the previously mentioned asynchronous data transfer. Asynchrony allows the ability to download data from different places, and also works in the background, JavaScript, or any other scripting language that works on the client side (client-side), DOM (Document Object Model), used to present XML and HTML documents in the form of an object model, HTML (or XHTML) and CSS for presentations.
The use of AJAX also has disadvantages, such as:
there is no traditional diagram for browsing, which allows you to move back and forth. This is because after clicking on the link, the script is turned on, which changes the inside of the page, leaving the rest unchanged. It means that clicking the back arrow will not cause the page content to be undone, downloading websites is very difficult due to the fact that programs used usually to download websites can not cope with scripts, the content of the page made available through scripts limits access to it for some users. This is due to the fact that some people block the scripts automatically, which relieves the processor and processor memory), there are problems with indexing used by search services.
The most known and most commonly used JavaScript libraries that are associated with AJAX can include:
AJAX.OOP (open programming library for creating web 2.0 components using AJAX license X11), Script.aculo.us (another programming library on the simplest X11 license, based on the Prototype JavaScript Framework), jQuery (also a programming library that makes JavaScript easier to use and allows manipulation of the DOM tree, MooTools (library composed of modules), Ext (toolkit), picoAjax (toolkit).