4 ms·
The FSM is the model, the Railroad Diagram is the view, to borrow terms.
by spiralganglion 14y ago
The FSM is the model, the Railroad Diagram is the view, to borrow terms.
- beala 14y agoWell, as long as we're picking nits, an FSM accepts only regular languages, while a rail road diagram accepts context-free languages[1]. So a railroad diagram isn't really the "view" for an FSM. A state-diagram or state-transition table is (although the whole MVC analogy is itself kind of weird. Where's the controller?). [1] http://en.wikipedia.org/wiki/Syntax_diagram http://en.wikipedia.org/wiki/Syntax_diagram
- modarts 14y ago>Where's the controller? The MV* family of patterns seems to be okay without the notion of a controller.