Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Welcome, Guest. Please login or register.
April 27, 2017, 05:22:06 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Author Topic: LockableDoor - A PureMVC JS StateMachine Demo  (Read 1928 times)
Global Moderator
Hero Member
Posts: 2865

View Profile WWW
« on: October 10, 2014, 04:27:32 PM »

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.
« Last Edit: October 10, 2014, 05:54:03 PM by puremvc » Logged
Pages: [1]
Jump to: