Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
State Machines

State Machines

Ratings: (0)|Views: 358|Likes:
Published by Russell Jones
2009 April Meeting of the NH Ruby Group:

http://nhruby.org/2009/4/3/april-meeting-state-machines-git

State Machines are a useful design pattern in any language, and in Ruby they are super easy to implement. State_Machine and Acts_As_State_Machine (AASM) both help ease the pain of implementation and provide some amazing features.

In this presentation, I’ll cover some basic aspects of the pattern and talk a bit about both plugins. I’ll also demonstrate where state machines were useful in my own applications, and some of the cool things you can do with them.
2009 April Meeting of the NH Ruby Group:

http://nhruby.org/2009/4/3/april-meeting-state-machines-git

State Machines are a useful design pattern in any language, and in Ruby they are super easy to implement. State_Machine and Acts_As_State_Machine (AASM) both help ease the pain of implementation and provide some amazing features.

In this presentation, I’ll cover some basic aspects of the pattern and talk a bit about both plugins. I’ll also demonstrate where state machines were useful in my own applications, and some of the cool things you can do with them.

More info:

Published by: Russell Jones on May 01, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/28/2010

pdf

text

original

 
STATE MACHINES
By CodeOfficer
codeofficer.comgithub.com/codeofficertwitter.com/codeofficer
 
Friday, May 1, 2009
 
State Machines?
A model of behavior composed of a finitenumber of states, transitions between thosestates, and actions. A finite state machine is anabstract model of a machine with a primitiveinternal memory.
 
Friday, May 1, 2009
 
Machine
States
Events
Transitions
So, What’s in a State Machine?
Friday, May 1, 2009

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Debolina Ghosh liked this
saeavana liked this
Manjunath Daine liked this
riz_rom_2010 liked this
simon1969 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->