Sending Email with AJAX: Building a Small Application
AJAX has become ubiquitous, thanks to the fact that it gives web developers the ability to create applications that make http requests without reloading the page on which the application is running. It is also extremely versatile and powerful. This article, the first in a series, will start you on the way to creating an AJAX-based email application.
Sending Email with AJAX: Building a Small Application (Page 1 of 4 )
A downloadable file for this article is available here.
As part of the Web development community, I’m sure you have seen the remarkable impact AJAX has had on the creation of Web applications that perform most of their operations on the same web page. The capability to develop web-based programs that make http requests without reloading the page on which the application is running, has sparkled the creativity of many developers. It allows them to build http-driven programs which look a lot like desktop applications.
At the time of writing this article, you can already see the influence of AJAX within the Web development universe. It's easy to find small AJAX-driven packages, aimed at offering solutions at specific problems. Likewise, full-featured frameworks are also available, which are in most cases best suited for use within the development of large web projects.
Asides from learning how to work with multiple “XMLHttpRequest” objects across the same application, the experience hopefully will illustrate how to interact with a couple of server-side procedural scripts, in this case written in PHP. However, because of the ease and flexibility of the application I plan to build in, you can easily use your preferred server-side language, all without dealing with major maintenance hassles.
Ready to begin learning how this small AJAX-based email application will be developed? Fine, let’s do it together.