Flash, HTML, Ajax vie for victory in web-app war

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

ANALYSIS

The days when web pages were static collections of text and graphics are long past.

However, as the web matures, there's fierce competition over which technology will propel it into a medium for rich, interactive applications.

On one side of the battle lines is the original web-page-description technology: HTML, or HyperText Markup Language. Over the years, its abilities were augmented first with JavaScript, a basic programming language, and later with Ajax.

On the other side is Adobe's Flash, which began as a method for graphic animations. It's grown into a much more powerful programming foundation over the years and has been recently joined by a competitor: Microsoft's Silverlight.

All these technologies are advancing rapidly as internet start-ups and giants, such as Google, race to transform PC software into services available on the internet. These so-called 'rich internet applications' rarely match the performance and features of PC-based applications, at least today, but online applications can benefit from sharing, reliability and access from multiple devices.

Consumers typically need not worry much about the programming plumbing beneath their online applications. However, suppose you're the person on the hook for your company's online expense-reporting tool or a start-up planning to build an online music mixer for anyone on the internet. You'll have to place a bet on which technology is best and which programmers to hire or train.

Few expect the competition to have a winner any time soon.

"You'll continue to see a high degree of flux for probably the next several years," said Kevin Hoyt, an Adobe technology evangelist for rich internet applications.

People in the computer industry like to talk about competition, which, indeed, often does keep companies from growing complacent. However, it's also convenient when some foundational technology — Windows, JPEG and USB for example — dominates to the point where most engineers need not worry much about the messy chaos of multiple choices.

The HTML camp
The HTML side of the battle has its roots in industry standards and in the task of displaying information. That's both good and bad.

Industry standards can attract broad adoption, but they're typically slow to arrive. And although both JavaScript and HTML are standards, differences in how they're implemented in different browsers — and even different versions of the same browser — force programmers to accommodate all the possibilities.

Unlike during the browser wars of the 1990s, however, there's more convergence than divergence these days. Even the upcoming version 8 of the dominant browser, Microsoft's Internet Explorer, will ship in a standards-compliant mode by default.

HTML also can't be beat for pervasiveness, which is one reason why Kevin Henrikson, director of engineering at Zimbra, is a fan. Zimbra, which provides online email and other applications, was an early Ajax adopter and in 2007 was acquired by internet giant Yahoo.

"Even if I were starting from scratch today, I still think I'd bet on JavaScript and Ajax... It's going to be hard to stop the massive momentum we have," Henrikson said. "Flash is seeing a pretty aggressive growth cycle now, [but] I still think JavaScript is going to be [used in] 10 times the number of Flash apps that launch."

Microsoft sees things differently, believing that programmers are best off ditching HTML and JavaScript as soon as web applications start getting rich.

"It's amazing what people have done with HTML, which was never intended to do rich internet applications. And Flash was originally created for lightweight animation — literally for Mickey Mouse on the web," said Brad Becker, who as group product manager for rich client platforms at Microsoft helps oversee Silverlight. "But these technologies were designed for something else, and people are really hacking them to do more."

Overhauling HTML and JavaScript
However, big changes, which may rectify HTML's shortfalls, are on the way.

One idea that's established, but still has a way to go, is more sophisticated data storage that can let applications keep local copies of data or documents for a long time. One important use of this technology is letting people use their web applications even when offline.

Other big HTML changes include Canvas, to let browsers create customised graphical elements, such as charts, on the fly, based on programming instructions rather than just downloading pre-fabricated elements from a website; Web Workers, to let browsers perform computationally intense background tasks without disturbing the browser interface; and Scalable Vector Graphics (SVG), an existing standard, which, if adopted more widely, could encroach on some Flash abilities.

Further out on the horizon are audio and video tags for HTML that would let browsers play media with no extra plug-ins needed. If the industry manages to wade through the technological and intellectual-property difficulties involved, it could erode one of main advantages of Flash and Silverlight.

"If you put it all together, that lends itself to Ajax being a very powerful, capable rich-internet-application technology," said Adobe's Hoyt.

The Google guns
Google is perhaps the biggest gun backing HTML, JavaScript and Ajax. Its Gmail and Google Maps sites woke many up to the possibilities, and the company followed up with Google Docs for online word processing, spreadsheets and presentations.

But just because Google is doing something doesn't mean it's the right way, Becker said. "If you look at Google Apps, they're doing great things, but how many shops out there have the Ajax chops that Google does?"

Google is trying to hard to give new ammunition to the HTML camp, in part by…

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Simon Bisson and Mary Branscombe

Nice to see that Turing's idea of a general purpose computer doing once-hardware-powered tasks in software is now universal ;-) Mary

37 minutes ago by Simon Bisson and Mary Branscombe on Software with everything
Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

4 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

9 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

9 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

11 hours ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

12 hours ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

13 hours ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

15 hours ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

15 hours ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

1 day ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

1 day ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

1 day ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

1 day ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

1 day ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

1 day ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

2 days ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

2 days ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT
Mispam

So what do you do when you can't boot into windows? Why can't I just hold Shift while I power up instead of having to boot into windows and click a...

2 days ago by Mispam on Windows 8 start-up speed forces USB boot workaround
apexwm

I've also seen that Mac OS X for Intel machines is supposed to run in VirtualBox, which would also be a nice solution. I've never tried it though.

2 days ago by apexwm on xTreme Triple Booting: Linux, Mac & Windows
dave heasman

What I wonder is why when companies are caught bang to rights in not providing contracted services, people bend over to smear the customers? Surely...

2 days ago by dave heasman on Virgin throttles broadband for high-speed customers