Thứ Năm, 6 tháng 10, 2016

Ajax Tutorial : Getting Started Using Ajax in Your Web Apps


Ajax tutorial for beginner - What's Ajax? Ajax (Asynchronous JavaScript and XML) is a web development technique for creating interactive web applications. Actually, Ajax is not a new programming language, But is a merger between Javascript and XML programming language. So all Sytaxs used in AJAX is marger from Javascript Syntaxs.

If you know JavaScript, HTML, CSS, and XML language, then you need to spend just one hour to start with AJAX.

When javascript was released, people loved all the cool things you could do with the web browser to make a more user-friendly experience. You could do form validation, quirky popup messages, make cool web tools and more. However, Javascript had no way of sending information between the web browser and the web server.
Ajax Tutorial

If you wanted to get any information from a database on the server, or send user information to a server-side script like PHP, you had to make an HTML form to GET or POST data to the server. The user would then have to click "Submit", wait for the server to respond, then a new page would load with the results. I'm sure we have all gotten slightly annoyed when having to wait for especially slow websites!

Ajax attempts to remedy this problem by letting your Javascript communicate directly with the server, using a special Javascript object XMLHttpRequest. With this object, your Javascript can get information from the server without having to load a new page!

For more tutorial about Ajax, please going to Ajax page.
See you next Lessons ...

Không có nhận xét nào:

Đăng nhận xét