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

txtrainguy

Replying to an old topic that I'm currently facing with my CEO (who is on a Mac). Our servers are primarily Windows Servers, office is about...

55 minutes ago by txtrainguy on Windows Server 2008 drops the ball for Mac compatibility
k0tcs3

Sure, that makes perfect sense. Pay wrong-doers money and thank them for breaching your security and pointing out your flaws, that would surely...

1 hour ago by k0tcs3 on US indicts Romanian over NASA climate change hack
Random_Error

I think he's referring specifically to Android apps, as Apple do regulate their App Store, but Google seem to let any old crap onto the Android store!

2 hours ago by Random_Error on RIM: BlackBerry will keep 'garbage' apps out of store
Paul Fezziwig

Keep the crap apps out?! How will they compete with Android and Apple's claim to fame of having so many life changing apps? I wonder if the media...

7 hours ago by Paul Fezziwig via Facebook on RIM: BlackBerry will keep 'garbage' apps out of store
Aigars Mahinovs

It has been shown time after time that if there is an author store that sells the songs at even 1$ per song and gives you a high-quality digital...

8 hours ago by Aigars Mahinovs via Facebook on Copyright isn't working, says European Commission
awbMaven

""As a result of Butyka's alleged conduct, researchers were unable to use the computers for more than two months while NASA removed the malicious...

10 hours ago by awbMaven on US indicts Romanian over NASA climate change hack
subhorup

It simultaneously worries me and uplifts me that a self-proclaimed group of internet activists name themselves after Indian mythical figures....

19 hours ago by subhorup on Anonymous activists release PCAnywhere source code
naviathan

It's actually far easier to work anonymously on the internet than you think. With tools like Tor bouncing your traffic around the world before...

22 hours ago by naviathan on Anonymous activists release PCAnywhere source code
Agnostic_OS

1000272134 and bluedalmatian with you both there but then I'm still in 10.04 land (and happy with it)

22 hours ago by Agnostic_OS on Ten factors that make Ubuntu 11.10 a hit
apexwm

Interesting article and definitely see your points on the products mentioned. One of the top products for our Help Desk (approximately 20% of all...

1 day ago by apexwm on Ten flawed products that derail productivity
Paul Hutchinson

Absolutely - this should obviously not be handled my isp - but handled by their hosting operator. What's been suggested here is that my isp police...

1 day ago by Paul Hutchinson via Facebook on MPs urge ISPs to take down terrorist material
Techs UK

Looks like a great phone. I don't notice any deficiencies in WP7. used IOS before, that's pretty good. I don't spend much time in Apps, all i need...

1 day ago by Techs UK on Nokia pins US 're-entry' hopes on Lumia 900
Larry Bloggy

Now with the help of these apps you are always synced with MS outlook while on the move. Just download apps like xobni or outlookreflex and get...

1 day ago by Larry Bloggy via Facebook on Outlook Social Connector beta 2 and the LinkedIn connector
mike40g123

Your details are wrong. The version currently being made is the one with 2 USB ports, 256MB RAM and a network port. This is the Model B. The...

1 day ago by mike40g123 on Raspberry Pi boards set to go on sale
Moley

The thing that has been puzzling me for quite a while is how Anonymous can remain anonymous whilst not only being active on the Internet but also...

2 days ago by Moley on Anonymous activists release PCAnywhere source code
Don Dilly

If what Semantec is saying is rue, that is even worse and shows a complete disregard for thier users. If what Anonymous claims is true and the...

2 days ago by Don Dilly via Facebook on Anonymous activists release PCAnywhere source code
MattChurchy

Didn't seem particularly biased to me either. Oh though you might have mentioned some other competitors with free search and email services...

2 days ago by MattChurchy on Time for an evil umpire: Google, Microsoft & privacy
Simon Bisson and Mary Branscombe

James - exactly as much as anyone paid you for your comment; I don't feel that I need to say that I'm independant and unbiased, but just for you...

2 days ago by Simon Bisson and Mary Branscombe on Time for an evil umpire: Google, Microsoft & privacy
Carl White

Once they realise symantec are willing to pay real money, they will simply keep extorting, unless of course symantec/authorities can use the...

3 days ago by Carl White via Facebook on Symantec offered hackers $50k in source code sting
Jonathan Hassell

You can find more information on BS 8878 by Jonathan Hassell its lead-author at http://www.hassellinclusion.com/bs8878/ The page includes a...

3 days ago by Jonathan Hassell on BSI publishes first British web accessibility standard

Latest in Application Development