ActionScript Developer's Guide to Robotlegs: Building by Joel Hooks

By Joel Hooks

Robotlegs is a standout one of the ActionScript three improvement frameworks on hand this day. With it, Flash, Flex, and AIR builders can create well-architected, testable, and versatile wealthy net functions - speedy. This concise advisor indicates you the way the sunshine footprint and centred scope of this open resource framework not just solves your fast coding difficulties, it is helping you achieve perception into AS3 structure on a miles deeper point. The authors offer a walkthrough of particular beneficial properties in functions they have written in Robotlegs, entire with code for every program as an entire. you are going to find out how to in attaining a stability of flexibleness and consistency on your personal tasks.

Show description

Read Online or Download ActionScript Developer's Guide to Robotlegs: Building Flexible Rich Internet Applications PDF

Best programming languages books

The optimal implementation of functional programming languages

All conventional implementation options for practical languages fail to prevent dead repetition of labor. they don't seem to be "optimal" of their implementation of sharing, frequently inflicting a catastrophic, exponential explosion in aid time. optimum aid is an cutting edge graph aid strategy for sensible expressions, brought by way of Lamping in 1990, that solves the sharing challenge.

LDAP Directories Explained: An Introduction and Analysis

Offers technical managers and people new to listing providers with a basic advent to LDAP. This concise advisor examines how the expertise works and offers an outline of the main winning 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 most sensible practices for the winning acquisition of goods and companies. delivering a realistic framework for bettering acquisition approaches, CMMI-ACQ addresses the growing to be development in company and govt for corporations to buy or outsource required services and products 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 kind that leads to stable, maintainable courses. additionally, it serves as a reference for execs operating within the undefined. between its strengths are its concise, transparent reasons of Fortran Syntax and Programming strategies, the inclusion of a wealth of examples and routines to aid scholars clutch tough techniques, and its motives approximately tips on how to comprehend code written for older types of Fortran.

Additional resources for ActionScript Developer's Guide to Robotlegs: Building Flexible Rich Internet Applications

Sample text

If you find yourself repeating logic in different commands just do what you’d normally do—identify common code and put it into a shared base class, or (better) split it into a helper that you can use in both commands. Don’t over-dry your code though—it’s easy to confuse coincidental ‘same code’ for meaningful ‘same purpose’. If these two parts of code would always change together in future, dry it up with inheritance or composition. But if they would likely change separately in future, don’t get too hooked up in avoiding duplication.

Statics and globals make code rigid, brittle, hard to test, and prone to memory leaks Static properties and methods have their place—nobody would argue that a function that finds prime factors isn’t a good use of static—but when we use statics to hold state we make big sacrifices in other areas. We can easily use a static value to configure the UserXMLLoader, but now it’s hard to test how the class responds to connection failures or bad responses from the script. We also couple the UserXMLLoader to the AppConfig —when really it only wants to know about the script path.

It’s likely that you already use a process like WHEN-THEN, but it has probably become so automatic that you don’t realise you’re doing it. As with any major change to your workflow, introducing Robotlegs into your applications might disturb that automatic process, so engaging in it deliberately is a good tool for finding your architectural feet. The controller packages alone from our two demo applications will tell you a lot about how those user-stories translated, via WHEN-THEN statements, into Robotlegs-flavored MVCS.

Download PDF sample

Rated 4.37 of 5 – based on 44 votes