What is AJAX?Ajax - an acronym of Asynchronous JavaScript and XML is a way of programming for the Websites, to get the tasks done without refreshing web pages. When your customer clicks on something on an Ajax driven application, there is very little lag time. The page simply displays what they're asking for. Google Maps and Yahoo mail are the best examples. The page updates almost before your eyes. There is very little lag and you don't have to wait for pages to refresh or reload. It gives user of web applications a rich experience of desktop applications. Technically Ajax is a way of developing Web applications that combines: XHTML and CSS (Cascading Style Sheets) standards based presentation, Interaction with the page through the DOM, Data interchange with XML and XSLT, Asynchronous data retrieval with XMLHttpRequest and JavaScript to tie it all together. This saves web server processing time, since much of it is done on the client. Traditionally, Web applications interact to server like: User opens a web page -> User clicks to do something -> Browser sends HTTP Request to the server -> Server processes the request and sends data to browser. During this user sees blank page refreshing Ajax acts as an intermediary, The Ajax engine works within the Web browser (through JavaScript and the DOM) to render the Web application and handle any requests that the user might have of the Web server. The beauty of it is that because the Ajax engine is handling the requests, it can hold most information in the engine itself, while allowing the interaction with the application and the user to happen asynchronously and independently of any interaction with the server. Means If a user clicks a link, the request is sent to the server, which then sends the results back. Ajax is not a new technology, rather is a new way of looking at technology that is already mature and stable.
|
|||||||||||||