Home arrow JavaScript arrow Building an SMTP Client with Prototype
JAVASCRIPT

Building an SMTP Client with Prototype


The Prototype JavaScript library offers its user some interesting capabilities. It's especially useful when you want to build some AJAX functionality into your program. In this three-part article series, you will see how to use the Prototype library to build this kind of functionality into an email (SMTP client) application.

Author Info:
By: Alejandro Gervasio
Rating: 2 stars2 stars2 stars2 stars2 stars / 6
September 26, 2007
TABLE OF CONTENTS:
  1. · Building an SMTP Client with Prototype
  2. · Defining the front end of the Prototype-driven SMTP client application
  3. · Defining the SMTP client's structural markup
  4. · Listing the complete client-side code for the SMTP application

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Building an SMTP Client with Prototype
(Page 1 of 4 )

Introduction

You may have already heard about the neat capabilities that come bundled with the popular Prototype JavaScript library. They're particularly useful in those cases where a specific web application needs to use the functionality provided by AJAX to trigger HTTP requests to the web server without page reloads.

Prototype facilitates working with XML HTTP request objects via its proprietary AJAX.Updater class (among others, by the way). This class can be used in conjunction with a few intuitive parameters for more than just fetching files that are located on the server in the background. It can also be used for receiving the respective response, either as plain text or formatted as XML.

Therefore, over the course of this three-part series, I'm going to show you how to develop a highly expansible SMTP client application for sending email by using the "AJAX.Updater" class that was mentioned above.

Of course, in this situation, one of the strongest benefits offered by this Prototype-based email application rests on its ability to handle easily the SMTP client via a simple, intuitive web-based user interface. This interface can be improved and expanded if you want to add more features to the core program.

Hopefully, by the time you finish reading this series, you should be equipped with a solid background in how to use some of the most robust AJAX classes that come integrated with the Prototype JavaScript library. You will also know hot to implement its popular $ and $F functions, since they will be used intensively during the development of the SMTP client application.

All right, now that you know the objectives of this group of educational tutorials, let's learn together how to create this expandable SMTP client application with Prototype. Let's begin now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 1 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials