summaryrefslogtreecommitdiff
path: root/databases/ruby-dm-is-state_machine/DESCR
blob: 8b468aa316a342180e2cdcdb2d8d3103e1900a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DataMapper plugin that adds state machine functionality to your models.

== Why is this plugin useful?

Your DataMapper resource might benefit from a state machine if it:

* has different "modes" of operation
* has discrete behaviors
* especially if the behaviors are mutually exclusive

And you want a clean, high-level way of describing these modes / behaviors
and how the resource moves between them.  This plugin allows you to
declaratively describe the states and transitions involved.