Before diving in, let's meet Ajax, the sample PHP application, and Sajax.
Ajax
Ajax allows Web developers to create interactive Web pages without the bottleneck
of having to wait for pages to load. Through Ajax, you can create applications that,
with a click of a button, will replace content in one section of a Web page with totally
new content. The beauty of it is that you don't have to wait for the page to load,
except for the content to load for that single section. Take Google Maps, for
example: You can click and move the map around without having to wait for page
loads.
Issues with Ajax
There are things to watch out for when using Ajax. Like any other Web page, Ajax
pages are bookmarkable, which can create problems if requests are done with GET
vs. POST. Internationalization and the rising number of encoding schemes makes
standardizing these encoding schemes increasingly important. You will learn about
these important issues in this tutorial.