Welcome!

Java Authors: Liz McMillan, Walter H. Pinson, III, Maureen O'Gara, Yakov Werde, Tony Bishop

Related Topics: Adobe Flex

Adobe Flex: Article

Time Magazine's 50 Best Web Sites (Time Uses Flex?)

Time Magazine's selection and the use of Flex

Time magazine has published their version of the 50 best Web sites of 2007 . Check it out. You may or may not agree with their ranking, but I'm sure you'll find some interesting sites there that you didn't know about.  All these sites are Web 2.0-ish, which by my definition are not sites that were built using any particular technology, but rather sites that give more control to the end user. So while some people say that Web 3.0 is about semantic Web, I believe that Web 3.0 sites will just give the end user more control than Web 2.0 ones.

But since developing rich Internet applications is my main professional activity, I couldn't stop myself from looking at what's under the hood at Time's Website.

It's good to see that they are gradually introducing Adobe Flex to their Web site. While most of the Web site is done using DHTML, the widget that shows "Top 5 Best Web Sites" is done in Adobe Flex. Just right-click on that area and you'll see that it was delivered by Flash Player. To be more specific, most likely it's a custom component that consists of a VBox container (a box with vertical layout) that in turn has an HBox and a DataGrid. The HBox holds the Label that reads Top 5 Best Web Sites" and two buttons - one with an image Refresh Data and the other with a custom skin that looks like a circle(?). As you move your mouse over the latter button, you'll see a tooltip that hints that the DataGrid below is sortable - just click on the column's header. If Time developers read this blog, I'd appreciate if someone would confirm that I've guessed your Flex components selection correctly.

I applaud Time for using Flex. Just think about it, this little widget that displays the rating can be coded in no time - one hour for coding and testing and one hour for the skin creation, which can be done in parallel by a Web designer in Photoshop.  The speed of development is crucial for any multimedia mega site such as Time Magazine.

Of course, since they are just starting, there are some usability issues; for example, if you sort  the ratings table by any other than Rate column, the text of the Label above should change from "Top 5 Best Web Sites" to something else based on your sort criteria.

Another usability issue - there is a column Total Votes, but it's not clear how the user can vote. I'd use a custom item renderer in the Total Votes column to turn the number of votes into a clickable link that would bring the user to the voting page. In Flex, this would take another five lines of code.

But these are the little things that will be ironed out in the future. Good job, Time Magazine! Go Flex!

Update. One of the readers (thank you, Zohar) gave me a reference to a Web site created by James Ward to check if a site was created in Flex
 http://www.jamesward.org/is_it_flex/

If you try this URLhttp://www.time.com/time/flash/time50BestWebsites/top5/top5_websites.swf you'll see that the site was not created in Flex. Oh, well, at least it's ActionScript :)   Time, go Flex!

More Stories By Yakov Fain

Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex". He twits at twitter.com/yfain.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Allan 01/23/08 11:27:44 PM EST

I think the reason that you cannot vote is that this is actually a pretty old list (it came out in the summer), so the voting is closed. I only know this b/c my company's site is on the list (and our site IS built in Flex)

oren 01/22/08 02:58:40 PM EST

Thanks for this coverage Yakov.
I, the same as you, believe in the abilities of flex and personally - prefer the flex framework for the end result of a ria.
Thanks :-)