Limit search to available items
Book Cover
E-book
Author Hall, Cliff

Title ActionScript developer's guide to PureMVC / Cliff Hall
Published Sebastopol, CA : O'Reilly, 2011

Copies

Description 1 online resource (xvii, 239 pages) : illustrations
Series Adobe developer library
Adobe developer library.
Contents 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
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
Summary 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
Notes Online resource; title from title screen (Safari, viewed May. 18, 2012)
Print version record
Subject Application software -- Development.
ActionScript (Computer program language)
COMPUTERS -- Programming -- Open Source.
COMPUTERS -- Software Development & Engineering -- General.
COMPUTERS -- Software Development & Engineering -- Tools.
ActionScript (Computer program language)
Application software -- Development
Form Electronic book
ISBN 9781449324728
144932472X
9781449324711
1449324711
9781449324698
144932469X
1449314562
9781449314569