360|Flex Denver 2011 – Maximizing Code Reuse Across Screens
The rapidly increasing number of screens that Flash applications can run on, and rapidly decreasing amount of time I have to actually write code encouraged me to find a way to share as much code across as many screen targets as possible (Web, AIR, mobile, etc.). This session will present ways to organize your projects and design patterns that work well when using the same code in multiple projects. Use of new project types in Flash Builder 4.5 (Burrito) and widespread use of the Presentation Model pattern will be covered in this session. An abstract approach to states that facilitates using the same presentation model for significantly different views and applications will be explored. This approach to project design has the added benefit of making your code more testable … if you are into that type of thing.
