Subscribe

  • Subscribe  

Adobe Flex Marshall Plan

Posted by Sravan | June 11, 2008 .

Applications may crash or result in a run-time exception if the APIs used by the caller and those expected by the callee are incompatible. Java, Flash and Actionscript deal with the issue in their own ways. In Flex, attempts to support cross-versioning began with version 2.0.1 though it didn’t work very well.

Cross-versioning Support should be particularly interesting if you are working on a Flex Portal, or have infinite SWFs in Flex 3.1 that make up your application. For you, the Adobe Flex people are working on the Marshall Plan. The project provides Cross-versioning Support and Untrusted Application Support. The catch is that it will only support Flex 3.1 applications working in Flex 4 and beyond.

The essence of this plan is “to load SWFs compiled with different versions into separate ApplicationDomains and have them interoperate through event passing” instead of going through ModuleManager because modules require class-level interdependence. The event passing happens through Requests and Notifications.

A Flex application can comprise of a main application and a set of sub-applications. These are grouped into ApplicationDomains and SecurityDomains, and can share information even when a sub-application is untrusted or is compiled with a different Flex version. For untrusted sub-applications there are some stage, mouse and pixel-related restrictions.

The plan involves identifying all places and patterns in Flex code that provide interoperability; deciding whether to fully emulate them despite those restrictions, partially implement them, prevent them, or implement them differently; and modifying several Flex classes accordingly.

Not only the Flex Framework, but these changes will impact the application development itself. BrowserManager calls from the sub-application, dragging custom class data between applications, HistoryManager, and Shared web services will not work. Adobe Flex suggests a few best practices to follow, and will of course keep us posted if there are any new developments. Note that all this applies only if cross-versioning support is necessary for your application.

For more details about the plan, please read this document.

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
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

Comments

*
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


Related Posts

<

Error. Page cannot be displayed. Please contact your service provider for more details. (24)


Direct TV Offers - usdirect has the best directtv deals