Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JimLynchCodes/jimvc
Lightweight actionscript 3 framework that combines MVC (model view controller) and FSM (finite state machine)
https://github.com/JimLynchCodes/jimvc
Last synced: about 2 months ago
JSON representation
Lightweight actionscript 3 framework that combines MVC (model view controller) and FSM (finite state machine)
- Host: GitHub
- URL: https://github.com/JimLynchCodes/jimvc
- Owner: JimLynchCodes
- License: apache-2.0
- Created: 2014-01-25T01:20:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T04:42:56.000Z (over 8 years ago)
- Last Synced: 2024-08-29T02:02:15.265Z (5 months ago)
- Language: ActionScript
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - jimvc - Lightweight actionscript 3 framework that combines MVC (model view controller) and FSM (finite state machine) (Frameworks / MVC Framework)
README
jimvc
=====Lightweight actionscript 3 framework that combines MVC (model view controller) and FSM (finite state machine)
This is a very simple seed project that I developed after reading about and creating a lot of Flash Applictaions. It was originally designed for simple Flash games and allowed to me to keep my classes small and each have a single responsibility.
### Main.as - This is where the application begins. The core functionality of this class is in the *changeState* function that descides which view to show, kills the old view, shows the new one, and attaches an ENTER_FRAME handler to the new view.
### Model - An internal data store. Here, it's basically a class with public static variables.
### Views - These are handles by main.as, and each represents a different state of the application. These display stuff on the screen. Each view also has acess to its own ENTER_FRAME handler.
### Controllers - These are almost always singleton classes for me. Basically, the views can hand off work that they need to do into compartmentalized classes that can normally be thought of as a type of helper class.