JavaScript
  Home arrow JavaScript arrow Page 3 - Book Review: Ajax for Web Application Deve...
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  
Moblin 
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? 
JAVASCRIPT

Book Review: Ajax for Web Application Developers
By: Akinola Akintomide
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2007-05-07

    Table of Contents:
  • Book Review: Ajax for Web Application Developers
  • Creating and Using the JavaScript Engine
  • Ajax Patterns
  • My Thoughts

  • 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


    Book Review: Ajax for Web Application Developers - Ajax Patterns


    (Page 3 of 4 )

    If the section on creating and using the Ajax Engine was my favorite, then the section on Ajax Patterns was where Kris Hadlock put in a lot of his energies. It is clear from the writing that creating highly interactive/usable forms is important to him. This section contains chapters on design patterns, with special attention to the Singleton Pattern (which he used in creating his data handling object). A singleton pattern has a single instance. Other patterns he explained, using logic and relatively simple objects, included the model view controller, the observer pattern, the data reflection pattern, interaction patterns and usability patterns; do take note of the chapter on usability patterns.

    The singleton pattern uses one single instance to handle all your AJAX objects. In the particular illustration used, Hadlock created an object to handle all requests in the sample program. The model view controller pattern works at separating the front end (GUI) from the back end (programming back bone) with a controller in between that allows back end programmer to develop applications separate from the GUI. There is a rigorous focus on methodology and underlying logic throughout this section.

    He explained the interaction pattern, using a cookie setting JavaScript object; if I wanted to be more technical I would call it a "session handling" object. He also explained the interaction pattern and how it can create very good looking AJAX features such as drag and drop functionality by using CSS to create the box and JavaScript to control the application.

    However it is in the "Usability Patterns" chapter that Hadlock excels himself, using a model that gives feedback, errors and warnings to the client. He created forms that give feedback using color codes and intuitive error messages, without taking the user off the page. In brief he shows how to create error messages and feedback using code creatively; as an example, consider how blogspot gives error messages when you use a URL that is already in use. He gives clear reasons why users will be able to react better to subtle changes in the interface (which still gives information with clarity). He also gives all the code and I have to be honest, I expect to use this particular set of code repeatedly (though I still prefer the debugging chapter). The major advantage apart from the user experience is ease in debugging when working on large team-involved programs.

    Understanding AJAX Server Side Interaction

    In this segment he explains how to "create user experiences unique to AJAX" and how to connect to the server from the client side using PHP. As I said earlier a knowledge of PHP/MySQL is assumed, but other languages can be used. ColdFusion and ASP specifically were used as illustrations of other languages which can interact with the database effectively, however he uses PHP because it is open source and easy to learn (I agree totally).

    Finishing Touches

    The last subjects he touched were the issues of security and updating, and how to effectively use the object. We have gone through the book at light speed; there are some things I would like to mention about the book before I give it my "grade," which should be obvious by now.

    More JavaScript Articles
    More By Akinola Akintomide


       · I hope you enjoyed the review, pick up the book if you are looking to go into AJAX ...
     

    JAVASCRIPT ARTICLES

    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables






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