Ajax tutorial
This Ajax tutorial is a term for a type of programming made popular in 2005 by goggle.com and other big web developers. It loosely stands for Asynchronous JavaScript and xml, which sounds like a whole bunch of techno lingo to your average person. In plain words, in this tutorial we show that Ajax can be thought of as JavaScript on drugs.
Ajax- JavaScript on drugs
When JavaScript first came out, people loved all the cool things you could do with the web browser to make it a more user-friendly experience. You could do many things from validation, quirky popup messages; make cool web tools and much more. However, JavaScript had no way of sending information back and fourth between the web browser and the web server.
If you wanted to get any information from a database on the server, or to send user information to a server script like php, you had to make an html from to Get or Post data to the web server. The user would then have to click submit, and then wait for the server to respond, then a new page would load the results. I’m sure everyone has gotten slightly peeved for having to wait for especially slow websites.
Ajax attempts to remedy this problem by letting JavaScript communicate directly with the server, using a special JavaScript object such as xmlhttprequest. With this object, you could have JavaScript get information from the server without having to load a complete new page.
( Read more... )
This Ajax tutorial is a term for a type of programming made popular in 2005 by goggle.com and other big web developers. It loosely stands for Asynchronous JavaScript and xml, which sounds like a whole bunch of techno lingo to your average person. In plain words, in this tutorial we show that Ajax can be thought of as JavaScript on drugs.
Ajax- JavaScript on drugs
When JavaScript first came out, people loved all the cool things you could do with the web browser to make it a more user-friendly experience. You could do many things from validation, quirky popup messages; make cool web tools and much more. However, JavaScript had no way of sending information back and fourth between the web browser and the web server.
If you wanted to get any information from a database on the server, or to send user information to a server script like php, you had to make an html from to Get or Post data to the web server. The user would then have to click submit, and then wait for the server to respond, then a new page would load the results. I’m sure everyone has gotten slightly peeved for having to wait for especially slow websites.
Ajax attempts to remedy this problem by letting JavaScript communicate directly with the server, using a special JavaScript object such as xmlhttprequest. With this object, you could have JavaScript get information from the server without having to load a complete new page.
( Read more... )




