December 2008
Intermediate to advanced
360 pages
8h 21m
English
You’re using Cairngorm, and you want to describe sequences of events that take place on certain user actions. These sequences of events involve different commands that you’d like to keep separate from each other, so that each remains reusable in the maximum number of scenarios.
Use Prana (http://pranaframework.org) and its EventSequence class to describe a sequence of CairngormEvents, the properties of which, when changed, should trigger them.
Keep your Cairngorm commands reusable by keeping them from knowing too much about other commands. Commands should be as atomic as possible; to use a time-honored phrase, they should do one thing and do it well. If ...
Read now
Unlock full access