My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
Go to Article
Advanced Search 

ADVISOR INTERVIEW

IBM and Asynchronous JavaScript and XML (AJAX)

An interview with Vinod Seraphin, IBM Domino Web Access architect.

Interviewed by Richard Schwartz, RHS Consulting founder

IBM was one of the early innovators with the AJAX techniques that are described in Richard Schwartz's Lotus Advisor article, "Develop Domino Web Applications the AJAX Way," in the October 2005 issue (subscribers can read it online at http://My.Advisor.com/doc/16905). He had a conversation with Vinod Seraphin, architect for Domino Web Access (formerly known as iNotes Web Access), to learn more about IBM's experiences with this technology.

Advisor: Are you surprised that AJAX has suddenly become such a popular approach to Web application development? Are you surprised it has taken so long to become popular?

Seraphin: No, we're not surprised it has become so popular. Many Web developers who were working with Internet Explorer 5 when it first came out were probably familiar with it. I'm somewhat surprised it took so long. I think what was holding it back was the lack of support for things such as XMLHttpRequest within other browsers. Users now seem to be upgrading to the latest browsers more quickly, so the barriers to developers more widely using these technologies have dropped. Adding a catchy name such as "AJAX" to these set of technologies has a lot to do with the popularity as well.

Advisor: Were there any example applications out there on the Internet that inspired you to push the boundaries of Web application design with DWA, or were you for the most part out there on your own?

Seraphin: Someone at Microsoft had built a version of the game Asteroids entirely in DHTML and was showing this as they evangelized the "Trident" engine in IE 4. This game, along with various MSDN articles and examples that showcased these rich DOM interaction capabilities, were what inspired me.

Advisor: When did IBM first decide that using XMLHttpRequest was a viable way to build Web applications?

Seraphin: I was working on a "WebPIM" prototype as part of the Lotus Organizer group to prove that DHTML could build "richer" and more robust applications than what we were trying to do with Java applets at the time. The "WebPIM" prototype always had a goal to use Domino as the data store. I then discovered that the Notes View applet which was used by the Domino 5 version of Web Mail was communicating to the Domino server using ?ReadDesign and ?ReadViewEntries -- two Domino URL commands that return XML. I became convinced this could all be done via DHTML and XML islands. XML islands use XMLHttpRequest functionality under the covers, but don't require ActiveX to be enabled on the browser. DWA uses XML islands for the IE version and the XMLHttpRequest object for Mozilla. I'm hoping IE will eventually support XMLHttpRequest as part of the native DOM (as Mozilla and Safari have now done), rather than require ActiveX to be enabled.

Advisor: What specific goals for DWA made the choice of this technique appropriate?

Seraphin: One of the primary goals for DWA was to be more scalable than the original Domino WebMail template. We adopted an architecture in which all view accesses are done via XML and then the HTML UI is managed via the DOM. This approach made more efficient use of HTTP and offloaded the UI formatting work from the server, helping us to achieve the goal.

Advisor: What have you found as the biggest challenge in the development and maintenance of DWA?

Seraphin: Browser regressions. Internet Explorer 6 went through a sequence of cumulative updates, which broke various things we were relying on, particularly as it related to XML responses and gzip compressed content. Updating our code to work around these problems or getting Microsoft to quickly issue a fix has probably been the biggest challenge.

IBM and Asynchronous JavaScript and XML (AJAX)

No reader comments ... yet.

    What do YOU think about this topic? Share your advice and thoughts using this form.

    Your Name

    REQUIRED : PUBLIC

    Your E-Mail

    REQUIRED : PRIVATE

    Job, Company

    OPTIONAL : PUBLIC

    City, State, Country

    OPTIONAL : PUBLIC

    Your Web Site

    OPTIONAL : PUBLIC

    Your Comment

    Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


    Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

    Richard SchwartzRichard Schwartz is the founder of RHS Consulting in Nashua, NH, a member of Penumbra Group and an IBM Business Partner. He has more than 20 years experience with communication and collaboration technologies, and has been working with, writing, and speaking about Lotus Notes and Domino since 1993. http://www.rhs.com

    Printer-friendly
    page layout

    Keyword Tags: IBM, IBM Lotus, IBM Lotus Domino Web Access, JavaScript, Microsoft, Web Development, XML

    ADVISORAMA
    It is no good to try to stop knowledge from going forward. Ignorance is never better than knowledge.
    -- Enrico Fermi, physicist

    ARTICLE INFO

    DataBased Advisor

    Web Edition: 2005 Week 34, Doc #17019

    FREE ACCESS FREE ACCESS

    SUBSCRIPTION STATUS
    You are not signed-in. If you are a subscriber to this publication, sign-in above to access locked articles. To subscribe or renew go to www.AdvisorStore.com.

    Subscribe to DATABASED.ADVISOR.com

    Get it all -- every current and past ADVISOR tech/business publication, now all-in-one subscription, with new articles and a huge reference library packed with expert advice, how-to and downloads. Subscribe now to get it all.

    DataBased.Advisor.com

    Subscribe to FileMaker Advisor Magazine

    Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

    FileMaker.Advisor.com

    Subscribe to Advisor Basics of FileMaker Pro

    Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

    FileMaker.AdvisorBasics.com

    Showcase Your Smarts

    Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

    AdvisorTips.com

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
    Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
    ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
    Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
    Hosted by Prominic.NET Website powered by
    LOTUS SOFTWARE
    SCHWR19 posted 08/24/2005 modified 01/09/2009 03:41:11 AM ztdbms/ztdbms
    domino-144.advisor.com my.advisor.com 01/09/2009 01:44:19 PM