pTutorial

New way to learn Programming

AJAX tutorial

AJAX stand for Asynchronous JavaScript and XML.

  • Asynchronous JavaScript and XML (AJAX) is a new way for creating faster and interactive web pages by using XML.
  • Ajax is a means of using JavaScript to communicate with a web server without submitting a form or reloading the new web page.
  • Ajax is not a new programming language it just a programming concept using existing languages like JavaScript, DOM, XML etc.
  • Ajax is a Client side technology so it’s independent of web server software. You can use AJAX with PHP, Servlet, JSP, Python.
  • AJAX allows web pages to be updated partially by exchanging the data with the web Server without reloading the entire web page or new web page request.

Why Ajax is used?

The main use of Ajax is "To update the webpage without reloading the complete webpage."

Where Ajax is used?

Now Most of the famous web Application are using AJAX like Google Maps, Gmail, YouTube, and Facebook.

live example of Ajax

Google with Ajax

ptutorial | php tutorial

Difference Between Synchronous and Asynchronous

Synchronous

The word Synchronous means that user is waiting for the waiting for the response and cannot using web pages that means we can send single request at a time.

Asynchronous

The word asynchronous means that the user is not waiting for the server respond to a request but can continue the using web pages that means we can send another request before get the response of first request.


See Also


QUOTES OF THE DAY

Knowledge without integrity is dangerous and dreadful.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER