Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is flex truly platform independent?

 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Dan Orlando
author
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the information
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic