Understanding AJAX Benefits

Written By Alla Levin
December 07, 2007
You Can Listen to This Article Here
Voiced by Amazon Polly

What are AJAX Benefits

While Asynchronous JavaScript and XML may have issues with security and performance, Zimbra Inc. still sees AJAX as the best way to deliver experiences on the Web and has based its open-source Web 2.0 platform on 200,000 lines of JavaScript, a company executive said Monday. Let us check all the AJAX Benefits!

At the Web Builder 2.0 conference in Las Vegas, Zimbra’s president and chief technology officer, Scott Dietzen, emphasized a variety of AJAX and Web 2.0 technologies for developers and users, including the extension of AJAX to offline usage.

Despite AJAX’s problems, Dietzen said he favors it over other technologies such as Flash when it comes to the Web.

“There’s no other way to deliver a richly interactive experience on the Web,” said Dietzen, who was once CTO at BEA Systems Inc. “If you want the Web to look and feel and the ability to mash up all sorts of other Web technologies, I think AJAX is the best fit.”

Zimbra acquired by Yahoo Inc.Zimbra acquired by Yahoo Inc.

Zimbra, which was acquired by Yahoo Inc. earlier this year for $350 million, is a provider of collaboration and messaging software.

Dietzen did cite AJAX security issues such as cross-site scripting attacks, in which user data can get interpreted in the browser, creating a breach. Also noted as a security concern was the use of source code in the browser.

“The goal for rich Internet applications at least ought to be to deliver the same level of security that we’ve delivered for Web applications because to deliver less undermines user confidence in various ways,” he said. This is a goal that is close to being achieved, Dietzen said.

Blocking execution of using JavaScript inside of an application is important for combating server-side scripting attacks, according to Dietzen. Obfuscation and minimization technologies to remove white space can be used as security measures, he said. On the positive side, there is no caching of user data on the desktop with AJAX.

Dietzen also advised that sensitive code not is put in a browser.

Browsers, meanwhile, also present challenges. They render the same HTML differently and were not designed for the load presented by AJAX; browsers have memory leaks and performance gaps, Dietzen said. But browsers are getting better, Dietzen said.

“Safari 3 is dramatically better,” he said.

AJAX Benefits: Internet Explorer 7 executes JavaScript two to four times better than Internet Explorer 6

And Zimbra has found that Internet Explorer 7 executes JavaScript two to four times better than Internet Explorer 6 does, he noted.

Toolkits also have been a problem, but that situation, too, has been getting better. Toolkits now are available from organizations such as the Eclipse Foundation, Adobe Systems Inc. and Microsoft Corp. “I’m happy to say no more Zimbra developers are using text editors or vi to craft their JavaScript,” said Dietzen.

Offline AJAX usage is a “hot topic,” Dietzen said. Zimbra now can be used offline, he said.

“The answer for occasionally connected apps is to provide a cache on the client side that allows the application to interact locally with a data set, and then synchronize over the network when the network is available,” said Dietzen.

Offline AJAX systems can be developed by using a set of caching APIs in JavaScript that enables this. These are accessible via offerings such as Google Gears and the Dojo offline toolkit.

Also, developers can program a client in something other than JavaScript, using technologies such as Adobe AIR (Adobe Integrated Runtime). Developers build full programs on the client integrated with the browser, like what Microsoft is doing with its Silverlight platform.

But Zimbra used another approach. “What we did at Zimbra is we actually took Zimbra server code, which was written in Java, and we created a microserver that runs on my local client,” said Dietzen.

Dietzen mentioned the AJAX technique of AJAX Linking and Embedding (ALE), in which one document can be embedded inside another. This expands content-sharing.

He also cited a technique called “lazy loading,” which cuts down loading time for Web pages. With lazy loading, the page loads but other parts of the application, such as calendaring, are loaded only as needed.

Dietzen noted that Zimbra’s platform enables the use of mashups — quickly assembled task-based applications deriving data from other, larger systems. Mashups get Dietzen’s vote as the killer app for Web 2.0.

I Need More

Enter your Email Address to Join the
Gang of Curious and Life Loving

Related Articles

0 thoughts on “Understanding AJAX Benefits

  1. I would like to draw your attention to another alternative which is a paradigm shift for AJAX front ends. One should be aware that I am not, and do not pretend to be objective, never the less I believe that one can judge for himself. Visual WebGui is an open source rapid application development framework for graphic user interfaces of IT web applications. VWG replaces the obsolete paradigms of ASP.NET in both design-time and run-time which were designed for developing sites, with WinForms methodologies, which were designed for developing applications. Thus enabling designer that was designed for application interfaces (WinForms designer) instead of a word documents (ASP.NET designer). This provides the developer with an extremely efficient way to design interfaces using drag and drop instead of hand coding HTML. Visual WebGui is an AJAX frame work that doesn?t expose logic, data or open services on client requests and therefore is not as vulnerable as common AJAX solution.. VWG presentation layer is de-coupled and instead of standard browser it can, and will run Silverlight.
    NO!!! Visual Webgui is not!!
    Not a component library ? It is a complete revised approach to developing web applications.

    not a JavaScript generator ? It runs on the server controlling the browser using a small static JavaScript kernel.

    Not for developing sites ? It was designed to provide for developing IT web applications GUIs.

    Not a closed / locked-in framework ? It has many extensibility features, which allow integration of legacy resources (ASP.NET or DHTML resources) and the development of custom controls and behaviors.
    Worth a look at http://www.visualwebgui.com,

Leave a Reply

Your email address will not be published. Required fields are marked *