Flash-only vs. AJAX sites
Even though web developers like me have discouraged from building Flash-only sites for as long as I remember, they are popping up all over the place. For no reason! We are ready to make the leap to standards. And our weapon with be AJAX.
What kind of sites are built with only Flash?
Let’s start by having a look at a few big Flash sites. Because they exist, and keep popping up all over the place. Here’s a couple of movie sites using it: Departed, Underworld Evolution, Matrix; Here’s a couple of big brands: Coca-cola, Nike, Electrolux. These sites are more than just animated images, they have their own content and often need to get updated continuously.
What’s the purpose of them?
Before deciding on anything we need to examine what purpose these sites have. It’s not OK to change the purpose of the site just because we dislike the technology behind it. I can’t possibly know the reasons behind all of the campaigns going on today but I believe there’s a core that most sites are after.
- Promote something new – Someone wants to to push some of their products/deals/ideas to the spotlight.
- Specific target audience – Companies are well aware that what kind of people they reach initially will define if the product is successful or not. Many want the hip people.
Updating flash files is hard
Many years ago it was ok just to throw up static information on a site and have a good site. Don’t get me wrong, content is still king, what has changed is that content alone isn’t enough. We demand much more from a good website. Coca Cola can’t just publish a press release telling us that there is a new taste out. It’s the Web 2.0 age and we want to be able to send our own tasting stories in, we want to be able to see live counters of the number of bottles sold, and we want forums to talk amongst ourselves about our experiences. We want tags! You get the point.
How does this affect the choice of flash or not? We need dynamics, ways for both editors and users to add content to the site, and Flash files are hard to update! Just the fact that I need a special program to edit them speaks for itself.
Another fact: As you probably know, it’s rare (in the real world) to have the same person both writing code and publishing content. The coders need to cater for that, and make sure it’s easy for editors to add new content. Now. Even if you’ve bought licenses and are able to edit flash files, you can’t expect editors to understand all about how flash works. So you need to build a content management system (CMS) of some kind. If you buy one, you still need to integrate it with your current code.
“But”, I hear you say, “…you have that same problem with non-Flash sites!”. Yes, but the difference is that CMS tools that publish HTML have existed a lot longer. This affects both the quality, usability and ease of integration with current systems. A HTML-based site will therefore be easier to update, making for both more and fresher content that reaches more people. If it’s easy enough to update the site, you can even let users do it, Web 2.0 style.
Flash is not hip any longer
Publishing a site with Flash today is hardly going to get mentioned at all. AJAX has completely taken over the scene and anyone even whispering AJAX gets to the front page of digg.
Flash-only vs. AJAX – The showdown
I’ve made a small list of things that matters when you build a website today, and evaluated each one of them for both Flash-only and AJAX.
|Accessibility||Poor. There’s problems with everything from how a flash app gets its initial focus from the browser window, to unusual interaction controls, to lack of text resize. In summary, zero points.||Moderate. AJAX has problems with requiring js for accessing data, but smart developers have started thinking in terms of accessibility and fixed many of AJAX initial flaws. Nyman’s ASK is one way.|
|Ease of content change||Poor. You need an expensive program to edit the files. ? Only available on PCs running Windows. Few CMS:es available (any?) that makes it easy for editors to update content.||Strong. All the big CMS:es can be used together with an AJAX app, it’s just a matter of changing the templates on the front. Systems like Ruby on Rails (while not being a CMS) have built in support for AJAX stuff, but including a framework in older systems is no big deal.|
|Hipness||Poor. There used to be a big community of flash developers that got incredible respect in the webdev community with their flash-only sites. Many of these communities have been replaced by CSS Galleries of different kinds.||Strong. While Flash-only developers focused mainly on visuals the AJAX community have focused more on user experience, building applications that feels better to use. Together with the technology buzz behind it AJAX solutions have gotten (and still get) a great response from the start. The potential for marketing campaigns based on user experience in huge.|
|Graphic effects||Strong. This wouldn’t be a fair comparison if we didn’t acknowledge that Flash is far ahead of AJAX when it comes to graphic effects. Most of this is based in the fact that you are working in an application instead of a website, and things like anti-aliasing, drop shadows, transitions, and filters have existed for long.||Moderate. Websites was long lacking pretty interfaces but in the recent years we’ve seen an explosion of graphic effects even in the standards world, probably starting with the famous CSS Zengarden.|
Next time a customer ask for a Flash-only site, tell them about AJAX and it’s advantages.