Chapter 19. Architectural design patterns
This chapter covers
- Introduction to architectural frameworks
- Flex and the Model-View-Controller pattern
- How to roll your own architecture
- Mate, Cairngorm, Parsley, Robotlegs, and Swiz
- Principles of the Robotlegs framework
- How to build an application using the Robotlegs framework
So far, you’ve learned the basics of OOP and how to make custom classes. We’ve also looked at how to develop cool components that encapsulate and abstract functionality so they can be reused.
Once you’ve mastered the content of this chapter, you’ll feel as though your Flex development skills have reached the next level, so to speak, and rightfully so. You’ll start by taking a deep look into Flex-driven design patterns and the thought process behind the core Flex architecture. Then, with that as your foundation, you’ll get into the good stuff when you learn how to roll your own Flex application architecture. Many books claim to empower the reader to be able to do this, but most fail in this regard. The reason for this is that most books that attempt to teach this skill get atrociously and unnecessarily overcomplicated, staying solely in the conceptual and theoretical domains, and fail to bring the concepts to reality by going through the process of designing architectures for enterprise applications.