ActionScript developer's guide to PureMVC / Cliff Hall
- Hall, Cliff
- Sebastopol, CA : O'Reilly, 2011.
- Physical Description:
- 1 online resource (xvii, 239 pages) : illustrations
- Table of Contents; Preface; Code at the Speed of Thought; The Purpose of This Book; Who Should Read This Book; Acknowledgements; PureMVC Contributors; Enneagram Personality System; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Chapter 1. Introduction; Classic MVC Architecture; The PureMVC AS3 Reference Implementation; The Role of PureMVC in Your Application; Pay No Attention to the Man Behind the Curtain; Meet the Workhorses; Actors at the Boundaries; Use a Proxy as a Data Source for the Application; A simple proxy example; EmailConfigProxy., Use a Mediator as a Secretary for a View ComponentA simple mediator example; EmailConfigMediator; Actors Between the Boundaries; Let SimpleCommands Do Most of the Thinking; PerformEmailTestCommand; Use a MacroCommand to Execute Several SimpleCommands; The Rest of the Gang; Notifications; The Core Actors; The Facade; Packaging Your Classes; Ordinary Classes; Framework Classes; Typical Package Structure; Standard and MultiCore Versions; Writing Portable Code; Chapter 2. Building an Application with PureMVC; Choosing the Platform; It Was a Dark and Stormy Night., StoryArchitect, A Tool for Writing FictionStatement of Purpose; Determining Scope; Describing the Domain; Imagining the User Interface; Persistence Strategy; Erecting the Startup Scaffolding; Prepare the Project and Initial Package Structure; Create an Application Constants Class; Class; Code; Create a Startup Command; Class; Code; Create the Application Facade; Class; Code; Initialize the Application Facade and call startup(); Class; Code; Building from the Outside In; Step 1: Value Objects; Step 2: View Components; Step 3: Proxys; Step 4: Mediators; Step 5: Commands., Chapter 3. Modelling the DomainDesigning the Schema; Reviewing the Entities; Creating the Schema; ValueObject; Note; Setting; Milieu; Character; Cast; Draft; Scene; Chapter; Part; Story; Season; Series; Creating the Value Objects; A Simple Case; NoteVO; A Slightly More Complex Case; ValueObject; An Advanced Case; StoryVO; Creating the Enums; Enumerating the Enums; The Base Class; Enum; An Enum Subclass; StoryTypeEnum; Testing the Entities; A Flex Unit Test Class; NoteVOTest; Chapter 4. Implementing the User Interface; A Tale of Two Views; The Application; Class; Responsibilities., and CollaborationsCode; The Chooser; Class; Responsibilities; Collaborations; Code; The Story Chooser; Class; Responsibilities; Collaborations; Code; The Editor; Class; Responsibilities; Collaborations; Code; The Editor Controls; Class; Responsibilities; Collaborations; Code; The Details Component; Class; Responsibilities; Collaborations; Code; The Item Info Component; Class; Responsibilities; Collaborations; Code; The Notes Component; Class; Responsibilities; Collaborations; Code; The Timeline Component; Class; Responsibilities; Collaborations; Code; The Story Tile; Class; Responsibilities.
- Annotation Gain hands-on experience with PureMVC, the popular open source framework for developing maintainable applications with a Model-View-Controller architecture. In this concise guide, PureMVC creator Cliff Hall teaches the fundamentals of PureMVC development by walking you through the construction of a complete non-trivial Adobe AIR application. Through clear explanations and numerous ActionScript code examples, youll learn best practices for using the frameworks classes in your day-to-day work. Discover how PureMVC enables you to focus on the purpose and scope of your application, while the framework takes care of the plumbing in a maintainable and portable way. Get a detailed overview of the PureMVC process for developing your applicationModel the domain by designing the schema and creating framework-agnostic value objectsImplement framework-agnostic View components that expose an API of events and propertiesUse the Proxy pattern to keep track of value objects and hide service interactionFacilitate two-way communication between a View component and the rest of the applicationStitch the Model and View tiers together with command objects in the ControllerManage problematic View component life cycles, and learn how to reuse the Model tier.
- 9781449324728 (electronic bk.)
144932472X (electronic bk.)
9781449324711 (electronic bk.)
1449324711 (electronic bk.)
- Digital File Characteristics:
- text file
View MARC record | catkey: 37424552