HTML
  Home arrow HTML arrow Page 2 - Sending Email with AJAX: Building a Small ...
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 
Sun Developer Network 
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? 
HTML

Sending Email with AJAX: Building a Small Application
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2006-01-17

    Table of Contents:
  • Sending Email with AJAX: Building a Small Application
  • Getting started: developing the application’s user interface
  • Spicing things up: writing the CSS rules for the AJAX email application
  • Working with building blocks: defining the (X)HTML markup for the email 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
     
     
    ADVERTISEMENT


    Sending Email with AJAX: Building a Small Application - Getting started: developing the application’s user interface


    (Page 2 of 4 )

    Before I start writing both the (X)HTML markup  and the CSS styles that will render the structure of my AJAX-based email application, let me show you a simple screenshot, which I hope will serve to give you a better idea of how the corresponding user interface will look:

    As you can see by the image above, the look and feel of the application resembles the structure of a simple email client program. To the left of the main screen, the interface will show an area destined to list and eventually add contacts, and display some basic information such as the contact’s full name and email addresses (in this case, this data will pop up when the mouse is placed over the respective contact name).

    In a similar way, the program’s right panel will show the typical fields used when sending out email, including the "SUBJECT”, “TO”, “CC” and “BCC” fields, in addition to the email text area, where the user will type the corresponding message. Also, notice the three additional control buttons, placed at the bottom of the panel, labeled from left to right “Send Message”, “Clear Message” and “Display Contacts” respectively. As you may have guessed, the first control will submit the message, the second will clear all the fields, and the last one will refresh the list of contacts. All the processes wil be performed without reloading the web page.

    Additionally, the application will expose some other extra features, such as adding a new contact on the fly, refreshing the list of contacts and populating message fields, whenever the proper contact link is clicked. As you may realize, the email program might not fit all your requirements, but it does present a set of quite appealing, valuable features. Of course, the best part of this project is that you can change the look and feel of the application or even add more functionality to it, without having to introduce major modifications to the client-side application layer itself.

    So that’s my schematic description for the user interface of this AJAX email application. Let’s spend a few minutes writing the CSS rules and (X)MTML markup responsible for adding visual presentation and structure to the program.

    More HTML Articles
    More By Alejandro Gervasio


       · Without a doubt, AJAX exposes a great versatility for building different Web-based...
       · The AJAX Email tutorial is very interesting and should be helpful to those who want...
       · Hello,I thank you for posting your comments on this tutorial, and of course it's...
     

    HTML ARTICLES

    - Using a 3D HTML Table as a Recordset
    - Building a 3D HTML Table
    - Maximizing and Restoring HTML Images: Layer ...
    - Completing Construction of a Database Form w...
    - Maximizing and Restoring Images in a Tabular...
    - Building the Recordset for an HTML Database ...
    - Laying Out a Database Form with HTML
    - Tabular Database Form Functions with HTML
    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT