Alex,
Thanks so much for the info. Good things to keep in mind.
--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
On Sep 22, 2009, at 3:28 PM, Alex Harui wrote:
Hopefully you’ve read through the modules and marshall plan posts on
my blog.
Sub-apps can share code via RSLs.
You can’t jump immediately to either a sub-app or module; it has to
load first.
You can build custom test harnesses for either.
There are three main criteria: size, integration and security.
Modules are generally smaller because they are optimized for a
particular host. Sub-apps must carry their own weight because they
are capable of running on their own. Modules sacrifice security for
tight integration: they assume they have direct references to the
host. Sub-applications can be written in a way that they don’t
assume direct access to the main application and that allows you to
sandbox the sub-app so it can’t do mean things. Sandboxing also
allows the application to be written with a different version of
Flex. However there are UI and performance limitations.
If you own and will always own every line of code that runs, modules
are going to be faster and smaller.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui