---
id: 103
title: 'State Machines : The C in PureMVC'
slug: state-machines-the-c-in-puremvc
date: '2008-06-08T21:57:00Z'
modified: '2008-06-08T21:57:00Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Uncategorized
tags:
  - Best Practices
  - PureMVC
  - State Machines
excerpt: null
canonicalPath: /posts/state-machines-the-c-in-puremvc
featuredImage: null
commentCount: 1
wordCount: 119
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: 'https://forwardthinking.pemo.me/posts/state-machines-the-c-in-puremvc'
---
I have some difficulty figurering out how to combine the notion of a statemachine workflow with the PureMVC notion of commands as the primary work-units. Using states seems to defy the need for commands and if not in direct conflict only because one could imagine using the statechange events to trigger commands. However, the ladder seems to create additional complexity in return of no other benefit than being able to use a statemachine workflow as the primary driver in a strict PureMVC system without removing logic from the commands.  
  
Cliff Hall started a working group with this focus, but it appears that they too have had some difficulty cornering the right way to combine this.  
  
Check it out...  
[http://forums.puremvc.org/index.php?board=25.0](http://forums.puremvc.org/index.php?board=25.0)
