Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax versus Macromedia Flex

 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you compare Ajax against Macromedia Flex. Both are similar technologies and offer similar features (UI richness, partial page refresh etc.) I wonder survival of Flex ($12K or more/CPU ?) on the other no investment using Ajax.

[ November 15, 2005: Message edited by: Vicky Pandya ]
[ November 15, 2005: Message edited by: Vicky Pandya ]
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bueler? Beuler?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65105
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know anything about flex, but AJAX mechansims are already built into the browsers. So if they offer similar capabilities, why go with a proprietary solution?
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure why would you compare Flex and Ajax

Flex is a thing of flash world and it's more of a technology. It provides rich set of flash based jazzy components and other broad range of related functionalities. I don't see any existing Flex user dumping Flex for AJAX.
Probably AJAX can complement Flash thuogh I am not sure how it would or whether it's feasable at all or not.
[ November 15, 2005: Message edited by: Varun Khanna ]
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Primary purpose of Flex is to develop RIAs (Rich Internet Applications), which costs around $12K or more/CPU. RIAs can be developed using AJAX (free of cost technologies). In both cases you can have your choice of technology on server side (J2EE, .NET). Why wouldn't one compare these technologies when he/she is wanting to develop RIA?

Originally posted by Varun Khanna:
I am not sure why would you compare Flex and Ajax

Flex is a thing of flash world and it's more of a technology. It provides rich set of flash based jazzy components and other broad range of related functionalities. I don't see any existing Flex user dumping Flex for AJAX.
Probably AJAX can complement Flash thuogh I am not sure how it would or whether it's feasable at all or not.

[ November 15, 2005: Message edited by: Varun Khanna ]

[ November 15, 2005: Message edited by: Vicky Pandya ]
 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vicky Pandya:
Why wouldn't one compare these technologies when he/she is wanting to develop RIA?


I guess to quote Arthor Nate Schutta's posting in another thread "Using the XMLHttpRequest object, we are able to send a request off to the server without interrupting the user. Rather than do a full page repaint, we can get a small chunk of data back and then update the DOM. To me, it's the A in Ajax .... " would answer your question.

-- For Flex, although its Rich Internet Applicatoin, it does not reduce user's operations on the GUI; it does not reduce traffic between server and client machines.

That makes the difference.
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I developed a product using Flex as a UI, and the extent to which I used Flex (flash-y Tabs, Tree, custom animated components and other functionalities) I really don't see AJAX replacing Flex on that front, not atleast as of now.
Moreover, I am not sure whether we should call AJAX a technology at all
It's just Asynch. Javascript and XML. I will prefer incorporating this with Flex, NOT replacing it.
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
seems Macromedia has already started working on Flex / Ajax integration

Link
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed on following. However you can still develop drag n drop and rich UI using AJAX.

Originally posted by Varun Khanna:
I developed a product using Flex as a UI, and the extent to which I used Flex (flash-y Tabs, Tree, custom animated components and other functionalities) I really don't see AJAX replacing Flex on that front, not atleast as of now.

In case of Flex, one needs to have Flash Player installed on client machine, AJAX doesn't require any plug-ins. Flex demands developers to learn new language (Action script) .mxml etc. Learning curve is minimal while using AJAX. Also, think about Flex's substantial licensing cost.
[ November 16, 2005: Message edited by: Vicky Pandya ]
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can achieve partial refresh using Flex as well.
Originally posted by reubin yi:


I guess to quote Arthor Nate Schutta's posting in another thread "Using the XMLHttpRequest object, we are able to send a request off to the server without interrupting the user. Rather than do a full page repaint, we can get a small chunk of data back and then update the DOM. To me, it's the A in Ajax .... " would answer your question.

-- For Flex, although its Rich Internet Applicatoin, it does not reduce user's operations on the GUI; it does not reduce traffic between server and client machines.

That makes the difference.
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the link. let's keep this discussion alive.

Originally posted by Varun Khanna:
seems Macromedia has already started working on Flex / Ajax integration

Link
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic