ActionScript 3 and the Model-View-Controller Design Pattern
There are a number of print and online resources for Object-Oriented Programming with ActionScript using the Model-View-Controller (MVC) design pattern. A book has been written on the topic of ActionScript 3.0 Design Patterns with an accompanying article on the Adobe Developer Connection site. Two chapters are available as free downloads from the Adobe article:
The O’Reilly site offers code examples from the book for download.
Also of interest are a number of MVC frameworks available for implementing ActionScript applications:
- Cairngorm microarchitecture for Flex and AIR
- flashMVC
- JumpShip Framework for ActionScript, Flex, and Flash
- Mate
- Prana Framework
- PureMVC ActionScript 3 Implementation
- Soma (AS3 MVC ActionScript Framework)
- Swiz
Colin Moock has written a chapter explaining the MVC concept in his book, Essential ActionScript 2.0, and offers a free download of the chapter.
InsideRIA has a series that compares the differences between the most popular frameworks:
- FrameworkQuest 2008: Introduction
- FrameworkQuest 2008 Part 2: Get Control with Cairngorm
- FrameworkQuest 2008 Part 3: Framework Agnostic Views with PureMVC
- FrameworkQuest 2008 Part 4: IoC With Swiz
- FrameworkQuest 2008 Part 5: Mate, the Pure MXML Framework
- FrameworkQuest 2008 Part 6: The Exciting Conclusion
Other articles written on the subject:
About this entry
You’re currently reading “ActionScript 3 and the Model-View-Controller Design Pattern,” an entry on Bauhouse
- Published:
- January 16, 2009 / 9:42 am
- Category:
- ActionScript
- Tags:
1 Comment
Jump to comment form | comment rss [?] | trackback uri [?]