This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Flex and the fly likes Is flex truly  platform independent? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Is flex truly  platform independent?" Watch "Is flex truly  platform independent?" New topic
Author

Is flex truly platform independent?

Abhi Venu
Ranch Hand

Joined: Jul 09, 2009
Posts: 73
I have following (mis)conceptions about flex .please correct me if i am wrong

Flex heavily depends on Flash player by adobe so if in a case it is missing the flex files wont run.Also the flash files in webpages were used minimmaly as in some cases it took much time to execute wont this happen in the case of Flex also.


Thanks
Abhi


A table, a chair, a bowl of fruit and a violin; what else does a man need to be happy?:Einstein
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Flex heavily depends on Flash player by adobe so if in a case it is missing the flex files wont run.

Flash won't run without it.


Also the flash files in webpages were used minimmaly as in some cases it took much time to execute wont this happen in the case of Flex also.

Yes. You can construct a Flash (or Flex) application that is in modules and can be loaded on demand. You can also keep static resources (images etc.) external. So you can avoid giving the use a single big file to download, if you write it to do so.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Dan Orlando
author
Ranch Hand

Joined: Mar 04, 2010
Posts: 31
Paul Sturrock wrote:

Flex heavily depends on Flash player by adobe so if in a case it is missing the flex files wont run.

Flash won't run without it.


Also the flash files in webpages were used minimmaly as in some cases it took much time to execute wont this happen in the case of Flex also.

Yes. You can construct a Flash (or Flex) application that is in modules and can be loaded on demand. You can also keep static resources (images etc.) external. So you can avoid giving the use a single big file to download, if you write it to do so.



Good answer! It is true that the only 3 real reasons for a Flash or Flex app to take a long time to load is: 1) The server is slow as hell or is overloaded and can't provide the client with data quick enough 2) The application is poorly structured in that it is a large application and the developer is loading the entire thing on startup instead of loading assets and data on demand with a modular architecture, and 3) you're still using a 300 baud modem

Those are the 3 "biggies", but I've also seen some pretty interesting things, like developers that set the buffer to 1000 in their movie players, and I've even seen developers manage to use AS3 as a procedural language using a chain-of-command pattern and synchronous data communication so that nothing can pass through the pipeline at the same time. There was no justification either. They had procedural language backgrounds, so that is what they knew, and its the only way they knew how to code, unfortunately.

I've never had an opportunity to ask these developers the reasoning behind the decisions they made because they were (not suprisingly) no longer around.


Dan Orlando
Adobe Community Professional
Author, Flex 4 in Action (Manning Press)
Abhi Venu
Ranch Hand

Joined: Jul 09, 2009
Posts: 73
Thanks a lot for the information
 
Don't get me started about those stupid light bulbs.
 
subject: Is flex truly platform independent?