ActionScript Developer's Guide to PureMVC by Cliff Hall

By Cliff Hall

Gain hands-on event with PureMVC, the preferred open resource framework for constructing maintainable purposes with a Model-View-Controller structure. during this concise consultant, PureMVC author Cliff corridor teaches the basics of PureMVC improvement through strolling you thru the development of a whole non-trivial Adobe AIR application.

Through transparent motives and diverse ActionScript code examples, you’ll research top practices for utilizing the framework’s periods on your day by day paintings. notice how PureMVC helps you to specialise in the aim and scope of your software, whereas the framework looks after the plumbing in a maintainable and conveyable way.

  • Get a close evaluation of the PureMVC approach for constructing your application
  • Model the area via designing the schema and developing framework-agnostic price objects
  • Implement framework-agnostic View elements that reveal an API of occasions and properties
  • Use the Proxy development to maintain tune of price gadgets and conceal provider interaction
  • Facilitate two-way communique among a View part and the remainder of the application
  • Stitch the version and examine ranges including command gadgets within the Controller
  • Manage frustrating View part lifestyles cycles, and how one can reuse the version tier

Show description

Read or Download ActionScript Developer's Guide to PureMVC PDF

Best programming languages books

The optimal implementation of functional programming languages

All conventional implementation options for useful languages fail to prevent lifeless repetition of labor. they aren't "optimal" of their implementation of sharing, frequently inflicting a catastrophic, exponential explosion in relief time. optimum relief is an leading edge graph relief process for practical expressions, brought by way of Lamping in 1990, that solves the sharing challenge.

LDAP Directories Explained: An Introduction and Analysis

Presents technical managers and people new to listing providers with a basic advent to LDAP. This concise advisor examines how the expertise works and provides an outline of the main profitable listing items in a simple to reference layout. Softcover.

CMMI for Acquisition: Guidelines for Improving the Acquisition of Products and Services(SEI Series in Software Engineering)

CMMI® for Acquisition (CMMI-ACQ) describes top practices for the profitable acquisition of goods and companies. delivering a realistic framework for making improvements to acquisition strategies, CMMI-ACQ addresses the starting to be pattern in company and govt for agencies to buy or outsource required services instead to in-house improvement or source allocation.

Fortran for Scientists and Engineers

Fortran for Scientists and Engineers teaches simutaneously either the basics of the Fortran language and a programming sort that leads to stable, maintainable courses. additionally, it serves as a reference for pros operating within the undefined. between its strengths are its concise, transparent reasons of Fortran Syntax and Programming systems, the inclusion of a wealth of examples and routines to aid scholars clutch tough suggestions, and its factors approximately the way to comprehend code written for older types of Fortran.

Extra info for ActionScript Developer's Guide to PureMVC

Sample text

In a notional music production app, third parties could develop effects and instruments that could be plugged into your app to make it even more powerful. You could simply release an API library containing the interfaces, Value Objects, and message classes that are needed by all modules, and then developers could begin adding value to your app. If the app were not modular, then third parties would not be able to enhance it without access to the source code of the entire application, which you may not wish to give away.

These are the classes outside of the boundaries of your application. Imagine them existing in an inky black void: separate, but meant for one another like hand and glove. When written, your application will bring them together. It makes sense to create and tailor Value Objects and View Components to each other before you even begin writing the code that is meant to connect them. This approach allows you to prototype very quickly since you do not need to worry about loading the data and shuttling it to the view.

Finally, all the code to parse the SQL query results into Value Objects (or objects into queries) can be pretty tedious stuff. ActionScript offers XML as a native datatype, and hierarchical data is XML’s specialty. Plus, the language has built-in features for traversing the XML data and pulling out just what you need. It is hard to imagine a better choice for working with hierarchical data. The great thing is, the data is always ready to be worked with or stored as a simple file. But we want strongly typed objects.

Download PDF sample

Rated 4.94 of 5 – based on 43 votes