AJAX Introduction

0
9

AJAX stands for Asynchronous JavaScript and XML. AJAX uses a combination of Javascript and XML to allow web pages to be updated with new data from the server. It consists of HTML, JavaScript, DHTML, and DOM. The traditional way of processing data between client’s browser and a server was to submit a HTML form and send data to the server, the server processed the data and sent a response back to the browser. The disadvantage of this method is that the web page must be reloaded in the browser. As a new and outstanding approach, AJAX allows to write web-applications without reloading the page on user interaction. By using AJAX, we can create better, faster and easier to use web applications.

To learn AJAX, you should have some basic knowledge about HTML and Javascript. If you do not have even basic knowledge about HTML and Javascript, please consider taking the two courses first.

Please note that, when you created a HTML page, you can open it by a click in a folder. But for an AJAX page, you must have a server to run it. You need either a localhost on your computer, or a remote server managed by a web hosting company.

AJAX uses JavaScript language through HTTP protocol to send and receive data. If you go to Yahoo Finance or Google Finance, you may notice that, the stock quotes on their pags are automatically changing without refreshing the page. We can use AJAX to update data dynamically without reloading the page.

Source

Leave a Reply