JavaScript
  Home arrow JavaScript arrow Building the Behavioral Layer of an SMTP C...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Building the Behavioral Layer of an SMTP Client with Prototype
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-10-01

    Table of Contents:
  • Building the Behavioral Layer of an SMTP Client with Prototype
  • Listing the presentation and structural modules of the SMTP client
  • Using the Prototype JavaScript library
  • Listing the full source code for the SMTP client

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building the Behavioral Layer of an SMTP Client with Prototype


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this second article of the series, you'll learn how to use the robust...
     

    JAVASCRIPT ARTICLES

    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in
    - Active Client Pages at the Server
    - ACP Tab Web Page







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    Stay green...Green IT