I’ve been incommunicado in the blogosphere because I’ve been tweaking the compiler to fix some issues discovered in 2.0 that would get in the way of modularizing your app.
If you’re one of the lucky few who have had a chance to play with 2.0.1, you’ll also notice that mx.modules is official!
IM IN UR BETA OPTIMIZING UR SWFS
I’ve put in numerous refinements since the prototype I posted to my blog a while back, including:
- Both low-level AS API and high-level MXML-oriented declarative API supported
- MXML modules fully work and do the CSS thang
- Runtime stylesheets are now possible and are built using modules!
- You can stream extra classes after the application by using the -frame configuration option.
- There’s a dictionary weak-key approach for releasing but reacquiring modules such that they may reload quickly if they didn’t get dumped via GC. This should be handy for apps where you’re only ever visiting one giant module at a time.
I’m pretty happy with it all, and hey, guess what? I’ll be talking a lot about modularizing your app (the general issue, but I’ll touch on mx.modules) at MAX in two workshop sessions titled “Techniques for Delivering Modular Flex Applications”, on Wednesday at 10:30 am and on Thursday at 4:15 pm.
In other news, I’ve decided to move over to the Player team. The compiler has started to stabilize, which is good for you but not as much fun for me. I’ll be dusting off my C++ and getting my hands dirty at a lower level. I’ve gotta say, I’m looking forward to it!
See you at MAX!