Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Supporting Technologies > HTML and JavaScript

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-28-2006, 08:09 PM   #1
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default [Q] Ajax...

I am always curious but never had a chance to dig into it...

What is the stuff that AJAX can do but Flash cannot do in the perspective of Flash developer and/or JavaScript developer???
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 06-28-2006, 08:31 PM   #2
Paerez
Chick dig raccoons
 
Paerez's Avatar
 
Join Date: Apr 2005
Location: Maryland / Massachusetts
Posts: 1,104
Send a message via AIM to Paerez
Default

ajax is good because:
1) Javascript + XML is faster than flash
2) No need to download flash
3) penetration rate is higher for js than flash (see 2)

flash is good because:
1) vector animation (prettier!)
2) cross-platform thanks to the flash player (ajax must be re-written for every browser, yeah it sucks)

end my $0.02
Paerez is offline   Reply With Quote
Old 06-29-2006, 07:19 AM   #3
jsebrech
Joeri Sebrechts
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,465
Default

Are you sure that flash 8's actionscript is slower than javascript? The only performance comparison I could find was for flash 6, which has little bearing on the modern day situation.
jsebrech is offline   Reply With Quote
Old 06-29-2006, 07:36 AM   #4
MichaelxxOA
Flash Sucks
 
MichaelxxOA's Avatar
 
Join Date: Mar 2005
Location: Victorville, Ca
Posts: 2,228
Send a message via AIM to MichaelxxOA Send a message via MSN to MichaelxxOA Send a message via Yahoo to MichaelxxOA Send a message via Skype™ to MichaelxxOA
Default

I can understand how there would be a speed benefit, but that's at the loss of what? All of the power, functionality and design possibilities that Flash has to offer.

As far as what Javascript is capable of that Flash is not, I think it has more to do with language specifics than anything else, like how Javascript has decent XML support, and such.

There is nothing (HUGE) that AJAX is going to accomplish that Flash will not.

With that being said I still suggest learning it, as it opens your eyes to knew way of looking at application design, and can be better than flash in some situations.

It's all about necessity, if you're building a form application, does Flash make sense? Why use a technology when there is no need to leverage what it is so far ahead in, in Flash's case look and feel, and animation capabilities.

I hope that makes sense.

-Michael
MichaelxxOA is offline   Reply With Quote
Old 06-29-2006, 01:37 PM   #5
Paerez
Chick dig raccoons
 
Paerez's Avatar
 
Join Date: Apr 2005
Location: Maryland / Massachusetts
Posts: 1,104
Send a message via AIM to Paerez
Default

I think the top two reasons Google went with AJAX over Flash for most of their apps are:
1) No dependency on Adobe/Macromedia
2) No need for people to download player / upgrade player, javascript is just in the browser.
Paerez is offline   Reply With Quote
Old 06-29-2006, 02:42 PM   #6
jsebrech
Joeri Sebrechts
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,465
Default

They didn't go with ajax over flash. Google finance uses flash. I think that they let their teams decide individually on what tech to build, and some teams have more affinity with one or the other.

It comes down to using the right tech for the job.
jsebrech is offline   Reply With Quote
Old 06-29-2006, 05:27 PM   #7
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,512
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Quote:
Originally Posted by Paerez
ajax must be re-written for every browser, yeah it sucks
..hell yeah that sucks, dang.. You mean rewritten as in completely rewritten, or as in made crossbrowser like you have to do with any piece of javascript you implement into your site?

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Old 06-29-2006, 05:34 PM   #8
MichaelxxOA
Flash Sucks
 
MichaelxxOA's Avatar
 
Join Date: Mar 2005
Location: Victorville, Ca
Posts: 2,228
Send a message via AIM to MichaelxxOA Send a message via MSN to MichaelxxOA Send a message via Yahoo to MichaelxxOA Send a message via Skype™ to MichaelxxOA
Default

Ajax doesn't have to be re-written for every browser. If the right precautions are taken you can develop ajax applications that will work on just as many browsers as Flash.

Michael
MichaelxxOA is offline   Reply With Quote
Old 06-29-2006, 05:36 PM   #9
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,512
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

..thanks for clearing that out Micheal, the refrigerator and $50 bucks bonus go to you..

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Old 06-29-2006, 05:42 PM   #10
MichaelxxOA
Flash Sucks
 
MichaelxxOA's Avatar
 
Join Date: Mar 2005
Location: Victorville, Ca
Posts: 2,228
Send a message via AIM to MichaelxxOA Send a message via MSN to MichaelxxOA Send a message via Yahoo to MichaelxxOA Send a message via Skype™ to MichaelxxOA
Default

Ruben, are you getting smart with me?

jk

I don't get what you said though, lol.

Michael
MichaelxxOA is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ajax gayatri HTML and JavaScript 1 03-15-2006 10:02 PM


All times are GMT. The time now is 11:49 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.