• Complain

Cliff Hall - ActionScript Developers Guide to PureMVC

Here you can read online Cliff Hall - ActionScript Developers Guide to PureMVC full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2011, publisher: Futurescale, Inc, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Cliff Hall ActionScript Developers Guide to PureMVC
  • Book:
    ActionScript Developers Guide to PureMVC
  • Author:
  • Publisher:
    Futurescale, Inc
  • Genre:
  • Year:
    2011
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

ActionScript Developers Guide to PureMVC: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "ActionScript Developers Guide to PureMVC" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 application Model the domain by designing the schema and creating framework-agnostic value objects Implement framework-agnostic View components that expose an API of events and properties Use the Proxy pattern to keep track of value objects and hide service interaction Facilitate two-way communication between a View component and the rest of the application Stitch the Model and View tiers together with command objects in the Controller Manage problematic View component life cycles, and learn how to reuse the Model tier

Cliff Hall: author's other books


Who wrote ActionScript Developers Guide to PureMVC? Find out the surname, the name of the author of the book and a list of all author's works by series.

ActionScript Developers Guide to PureMVC — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "ActionScript Developers Guide to PureMVC" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
ActionScript Developer's Guide to PureMVC
Cliff Hall
Editor
Mary Treseler
Editor
Mike Hendrickson

Copyright 2011 Futurescale, Inc.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. ActionScript Developers Guide to PureMVC , the cover image of a thick-billed coot, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media Dedication This book is dedicated to my wife Helen whose - photo 1

O'Reilly Media

Dedication

This book is dedicated to my wife Helen, whose patience, love, and support enabled every keystroke .

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/0636920022459/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface
Code at the Speed of Thought

Too often in the development of a large application, the developer must stop and think about where to find some class he needs, where some new class should go, and how to wire them up in such a way that gets data from wherever it lives to a display so the user can interact with it or vice-versa.

Regardless of the high level complexities in your application, you will never truly be doing anything more involved at the lower levels than moving data from point A to point B and occasionally doing some calculations on it. You should not have to keep inventing ways to do it; instead, your energy should be focused on the requirements of your current use case.

PureMVC is a simple framework that helps reduce the amount of time spent thinking about these low level issues by providing solutions for organizing your code and an expression of the well known Model-View-Controller concept based on several time proven design patterns.

Not only can it help a lone developer get her work done faster, but a team that is all on the same page about where things go and how they talk to each other within the application can move fluidly as they implement use cases in parallel. This is actually possible without creating the spaghetti code that often occurs during the heat of development. And since PureMVC is a mature, feature-frozen framework, legacy code written this way becomes much easier to maintain since the organization and implementation principles remain as valid as when the code was originally written.

The Purpose of This Book

As the author of the framework, I have had the good fortune to remain engaged more or less constantly from the time it came out, applying it to one challenging project after another. I have also had the pleasure of talking with a great many other developers around the world who have shared gems of wisdom or worked through their problems with me. I want to try and convey the most important bits, of course, but in a holistic manner and within the context of a non-trivial application.

There is a wealth of discussion about the details of development on the PureMVC website as well as documentation, demos, and utilities. There are plenty of community blog posts about building small demo apps, but up until now, nothing has taken a developer through the process of building a non-trivial PureMVC application, giving a sense of how all the pieces need to fit together and in what order to approach building them. From rough conceptualization of an application to the finished product and all the steps in between, you will gain the insight to know which responsibilities need to be handled by framework actors and, just as importantly, which do not.

Note

Engineering an application that exposes every problem you might run into is impossible, but still we will touch on all the moving parts of the framework. The code for the application (StoryArchitect) we will begin building in the book is packaged within com.futurescale.sa package. Where it is necessary to demonstrate something in code that is not present in the application that is the focus of the book, the text preceding the code will set forth a hypothetical situation, and the example code will be packaged within com.mycompany.myapp package.

Who Should Read This Book

ActionScript developers who are interested in, or are already working with, PureMVC will gain usable insights, although Adobe Flex and AIR developers will be best served, as the example application is written with AIR.

You should already have some experience with Adobes ActionScript, Flex, and AIR, Object Oriented Programming (classes, interfaces, inheritance), and your IDE of choice. To fully understand the Value Objects and View Components of the application we will build, you should know at least a little about ActionScripts implicit accessors (getters/setters), XML handling, Flashs event bubbling, and Flex data binding.

Also, while this book speaks directly to an ActionScript/Flex/AIR audience, developers who are using or learning any of the PureMVC ports to other programming languages could certainly use this book as a basis for understanding the framework classes and how they should be used. The Flex and AIR specific sections are when we build View Components, talk to the filesystem or services, and handle XML. But the PureMVC framework roles, responsibilities, and collaborations are universal to all ports, and clarifying them is the real focus of this book. The platform and language are incidental.

Acknowledgements

At OReilly, Id like to thank Dan Fauxsmith, Sarah Hake, Mike Hendrickson, Rachel James, Sarah Kim, Sarah Schneider, Karen Shaner, Mary Treseler, and Melanie Yarbrough, for excelling in their roles and making this book possible. For a developer who has been well-guided by OReilly books for years, it is an honor to be published by the best of the best!

PureMVC Contributors

The PureMVC project could never have made it without the community. It would be impossible to list them all here, but I would like to give a heartfelt personal thanks to the following folks who have lent a hand in one way or another:

Ahmed Nuaman, Ali Mills, Andy Adamczak, Andy Bulka, Anthony Quinault, Brendan Lee, Brian Knorr, Bruce Phillips, Chandima Cumaranatunge, Chris Pyle, Dan Pedersen, Daniel Garay, Daniel Swid, Daniele Ugoletti, Dave Keen, David Deraedt, David Foley, David Knape, Denis Sheremetov, Denis Volokh, Dmitry Kochetov, Don Stinchfield, Dragos Dascalita, Duncan Hall, Eric La Rocca, Frederic Saunier, Frederic Sullet, Gary Paluk, Greg Jastrab, Hasan Otuome, Jake Dempsey, James Knight, Jari Kemppinen, Jason MacDonald, Javier Julio, Jens Krause, Jhonghee Park, Jim Bachalo, Jim Robson, Jody Hall, Joshua Gottdenker, Justin Wilaby, Luke Bayes, Marcel Overdijk, Marco Secchi, Mark Bathie, Mark Geller, Matt Brailsford, Matthieu Mauny, Michael Oddis, Michael Ramirez, Milos Zikic, Nate Rock, Nathan Levesque, Neil Manuell, Nick Collins, Nicola Bortignon, Omar Gonzalez, Ondina D. F., Paddy Keane, Patrick Lemiuex, Pedr Browne, Philip Sexton, Phuong Tang, Richard Germuska, Roman Pavlenko, Rostislav Siryk, Samuel Asher Rivello, Sasa Tarbuk, Sean Carnell, Simon Bailey, Stefan Richter, Steve Hueners, Thomas Schuessler, Tim Will, Toby de Havilland, Tony DeFusco, Yee Peng Chia, Zhang Ze Yuan, Zhong Xiao Chuan, and Zjnue Brzavi.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «ActionScript Developers Guide to PureMVC»

Look at similar books to ActionScript Developers Guide to PureMVC. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «ActionScript Developers Guide to PureMVC»

Discussion, reviews of the book ActionScript Developers Guide to PureMVC and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.