JavaScript
  Home arrow JavaScript arrow Building an SMTP Client with Prototype
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  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 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 an SMTP Client with Prototype
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 2 stars2 stars2 stars2 stars2 stars / 4
    2007-09-26

    Table of Contents:
  • Building an SMTP Client with Prototype
  • Defining the front end of the Prototype-driven SMTP client application
  • Defining the SMTP client's structural markup
  • Listing the complete client-side code for the SMTP application

  • 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
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Building an SMTP Client with Prototype


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · True to form, the AJAX capacities offered by the Prototype JavaScript library are...
       · just made me lose time, title of tutorial is prototype and afterall al its just...
     

    JAVASCRIPT ARTICLES

    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...
    - Bulleted Menu of Links
    - Creating Click Loggers and Basic Markers wit...
    - Adding Pan Controls to Yahoo! Maps
    - Adding Zoom Controls to Yahoo! Maps
    - Working with Yahoo! Maps
    - Building Image Zooming Controls with the DOM...
    - Working with Multiple Graphics for a Zoom Ap...

    Iron Speed

    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway