New Google Analytics Mixes up Flash and Ajax

Just checked my sites stats and noticed that Google, the Ajax kings, have added some Flash spice to Google Analytics. Each technology handling what it does best, Flash as the presentation layer and Ajax as the data workhorse.

More on the analytics blog.

Flash/Flex has been blowing up lately, it’s faster growing book category for O’Reilly (via Ryan Stewart), and every Flex developer I know has projects flying at them left and right. Come on you Ajax folk you know you want some AS.

This entry was posted in ActionScript, JavaScript. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted May 11, 2007 at 8:48 am | Permalink

    I’m curious about your assertion that Ajax is better than Flash as the “data workhorse.” Flash is also capable of transferring data remotely to a server and has good XML features. Why do you think that Ajax (Javascript) is better for that?

  2. KreeK
    Posted May 14, 2007 at 8:22 am | Permalink

    Yes that was a bit of blanket statement.

    In this case Ajax is the best way to send data back and forth because there are multiple Flash components on a page. I’ve had cases where I had three or more Flash components on a page that tried to load data all at once and it was quicker to get the data via Ajax and have it passed to the components. That said 99% of the time I use Flash Remoting or XML straight to Flash.

  3. Posted May 23, 2007 at 8:35 am | Permalink

    Can you give more explanations on your observation?
    Is that because you have ajax as a centralized hub for data communication or ajax itself talks faster? Is there a way for flash component to communicate with each other? thanks

  4. KreeK
    Posted May 23, 2007 at 9:03 am | Permalink

    If you have multiple flash components embeded on a HTML page then yes I would use ajax as a hub/queue for data transfer. If you want two seperate flash components to talk to each other you can use flash’s ‘ExternalInterface’ to send data down to JavaScript which would then pass the data to the other flash movie again with ExternalInterface http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15683

    If you don’t need flash to talk to the page Flash Remoting or Flash’s built in XML commands are a better bet.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word