PureMVC Architects Lounge

PureMVC Manifold => Demos and Utils => Topic started by: puremvc on October 10, 2014, 04:27:32



Title: LockableDoor - A PureMVC JS StateMachine Demo
Post by: puremvc on October 10, 2014, 04:27:32
This simple demo shows how the StateMachine utility works in a PureMVC application.

With click of buttons the Application can transition from OPENED to CLOSED to LOCKED state. Use of entry and exit guards. Also sends changed announcements. The demo was ported from an AS3 implemenation http://mariusht.com/blog/2009/07/14/puremvc-statemachine-lockable-door-demo/.

Pseudo-classes are written in PureMVC's optional built-in style.

The demo is located here: https://github.com/PureMVC/puremvc-js-demo-lockabledoor/wiki

It was ported from an AS3 implemenation found here: http://mariusht.com/blog/2009/07/14/puremvc-statemachine-lockable-door-demo/

The authors are Mariush T. and Saad Shams.