Home arrow JavaScript arrow Building the Behavioral Layer of an SMTP Client with Prototype

Building the Behavioral Layer of an SMTP Client with Prototype

Looking for new and productive ways to use the robust features that come packaged with the Prototype JavaScript library? Then look no further, since this set of articles might be what you're searching for.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 10
October 01, 2007
  1. · Building the Behavioral Layer of an SMTP Client with Prototype
  2. · Listing the presentation and structural modules of the SMTP client
  3. · Using the Prototype JavaScript library
  4. · Listing the full source code for the SMTP client

print this article

Building the Behavioral Layer of an SMTP Client with Prototype
(Page 1 of 4 )

Welcome to the second part of the series that began with "Building a SMTP client with Prototype." In three educational tutorials, this series walks you through the development of a highly expandable web-based email client, by using the remarkable functionality provided by the Prototype software package.

Looking back to the preceding article of the series, you'll recall that I started creating a simple front-end for this application, which became very useful for letting users enter basic data. This data included the email address corresponding to the main recipient, the subject and text of the message, and finally the group of additional recipients who should receive carbon copies (CC) and blind carbon copies (BCC) of the message.

Actually, the seemingly complex process that I described above was easy to perform, since it was limited to only a few straight CSS styles and some basic structural markup. However, as the title of the series claims, this SMTP client will use the Prototype JavaScript library to carry out some useful tasks, like requesting on the server a PHP file that really sends out the email message, as well as collecting all the data entered by the user in the corresponding web form.

As you'll see later on, all of these processes will be tackled with relative ease thanks to the functionality provided by the $ and $F functions included with Prototype and its robust "AJAX.Updater" and "Event.observe" classes.

So, having outlined the topics that will be treated over the course of this second article of the series, it's a good time to continue developing this SMTP client application, paying strong attention to building its behavioral layer.

Are you ready to continue learning how to build this email client application? Okay, let's begin now!

blog comments powered by Disqus

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


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