advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
advertisement
Average Rating: 3.3/5 | Rate this item | 6 users have rated this item.
 

Putting AJAX Frameworks to the Test

Get a developer's assessment of how well the most popular non-commercial AJAX frameworks performed during the development of a dynamic application. 


advertisement
ot so long ago, developers had to work directly with the XMLHTTPRequest object or use some very rudimentary libraries to get any AJAX work done. When I wrote my first article about AJAX on DevX in June of 2005, the technology was still in its infancy. Today, at least a dozen freely available AJAX frameworks offer features that can help developers accomplish even the most complicated tasks.

For this article, I tested how well the most popular non-commercial AJAX frameworks performed during the development of a dynamic call-center application. I put each of the following products through the development scenario:

  • Prototype
  • Dojo
  • Direct Web Remoting (DWR)
  • Yahoo! User Interface (YUI) Toolkit
  • Google Web Toolkit (GWT)

This article presents my findings and reveals what developers should expect from working with each framework.

The Test Scenario
Traditionally, customer support applications are implemented as either thick clients or Web applications with some in-browser dynamic executables. The nature of customer support requires almost instant responses from the application, as well as a number of interactive features that enable diverse lookups for effective responses to customer demands.

These requirements make typical, non-dynamic Web applications unsatisfactory solutions.

The test application for this article is a very simplified call center application capable of servicing customer calls in real time. The most challenging and interesting aspect of the application is its integration with a corporate PBX and account management system (a Web-accessible simulator), which provide near-instant access to information about the caller and his/hers account.

The development and test environment for the application consisted of the following:

  • For development, Eclipse IDE, Visual Web Developer 2005 Express Edition (for Web design) and PSPad
  • To host the back end, Apache Tomcat 5.5 Servlet/JSP Container
  • For browser testing, Firefox 1.5 and Internet Explorer (IE) 6, and IE 7

Figure 1. Call Center Application UI

The call center application's interface has two main sub-panels (see Figure 1):

  1. On the left side, it displays the number of callers waiting to be answered.
  2. On the right side, it shows a dynamically populated display of the callers' information.

The account management system dynamically populates the right-hand panel with caller information as the customer service representative clicks on each caller waiting to be serviced. By displaying this information, the application enables the representative to greet the caller by name, as well as prioritize which call to answer first based on the information provided.

  Next Page: Prototype and Dojo
advertisement
Page 1: IntroductionPage 3: DWR and Yahoo UI
Page 2: Prototype and DojoPage 4: Google Web Toolkit
Please rate this item (5=best)
 1  2  3  4  5
DevX is a division of Jupitermedia Corporation
© Copyright 2007 Jupitermedia Corporation. All Rights Reserved. Legal Notices
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs