2. Who is Dan Orlando? Universal Mind Consultant Adobe Community Professional Preacher of best practices with Flex Author (latest: Flex 4 in Action) Blog-banger (danorlando.com) Master DJ Entrepreneur Flex Jedi
4. Welcome to Spark! Not a death sentence for Flex 3 apps Builds on Flex 3 component architecture (UIComponent) More Stable & Scalable Structurally and organizationally superior Design patterns Separation of concerns Code reusability (for real this time!)
5. Will the real MVC please stand up? Tight Coupling + dependecies = “domino effect”
8. Spark Component Anatomy "The general rule is any code that is used by multiple skins belongs in the component class, and any code that is specific to a particular skin implementation lives in the skin."
21. Simple vs. Composite Composite: derived from composition; composed of more than one simple component Simple: Basic control or container; example: Canvas, Label, Button, ComboBox
28. Summing it up… The component class must: Define the skin(s) that correspond to it Identify skin parts with the [SkinPart] metadata tag Identify view states that are supported by the component using the [SkinState] tag The skin class must: Use the [HostComponent] metadata tag to specify the corresponding component Declare view states and define their appearance Define display information of skin parts
29. Custom Flex 4 Component Resources Ryan Stewart:http://blog.digitalbackcountry.com/2009/07/building-custom-components-in-flex-4-skinparts/ Dan Orlando:http://danorlando.com/?p=379 Pete DeHaan:http://blog.flexexamples.com/ Chet Haase:http://graphics-geek.blogspot.com/ Flex 4 in Action (ch. 17)Orlando, Ahmed, Bland, Hooks(coming soon)
30. Flex 4 is not as scary as Ozzytrying to be scary after all, so have fun Flexing!!!