|
This book is the culmination of three months of intense coding, writing, and editing. But in a broader sense, it is work that has been going on for over five years.
In the time since PureMVC was conceived, a lot of water has passed under the bridge. Thanks to an active community, the framework itself matured quickly, and ports to other programming languages have flourished. The best practices for its use have been outlined and lots of simple demos exist. But questions about how to go about using it in our everyday coding pursuits have continued to be hashed out in forums and workplaces around the world. As the author of the framework, I've been in the fortunate position of being to able to apply it more or less continuously in challenging real-world applications, and to field literally thousands of questions about it in forums and with clients and user groups around the world. So, I thought it would be a good thing to try and put together a more substantial piece of documentation that presented a non-trivial application example. It wasn't possible (within the timeframe extended by the publisher) to create an app with an example for every topic discussed, so there are a number of on-the-spot examples (always inspired by code from real-world programs I've personally worked with). I wanted to get across a more hands-on feel than the existing documentation, which is really more focused on informing architects than developers, lending it a more complicated first impression than is really necessary. This book flips that approach on its head and focuses on the classes you actually use and how best to use them. And since PureMVC is not just a library but a central organizing principle, the book contains plenty of advice on process and mindset for mastery. In addition to some very clear examples of all the workhorse classes you'll use, there are plenty of juicy new bits, including the use of the little-known PureMVC Observer class to allow SimpleCommands to communicate asynchronously with the View or Model via a formal request pattern. Advanced topics for the View include handling popups, deferred instantiation, Flex Mobile mediation strategy, and adding mediated objects to the display list. Advanced Model Topics include fully extracting your Model tier for reuse, and handling asynchronous behavior. And all the application code is available on the O'Reilly site for download. Available now as eBook, and in print on Dec 22nd, 2011. ActionScript Developer's Guide to PureMVC
Enjoy, -=Cliff>
|