Skip to content
This repository

PureMVC TypeScript Standard Framework

PureMVC is a lightweight framework for creating applications based upon the classic Model-View-Controller design meta-pattern. This is a TypeScript port of the AS3 reference implementation of the Standard Version. It does not support modular programming since it uses Singletons as Core actors rather than the Multitons used in the MultiCore Version.

Unit Tests are included in this repository.

Status

Development - Version 1.0

  • Fully unit-tested and demoed, but in 'Development' status since the TypeScript language specification is not finalized.

Platforms / Technologies

Usage

As this port depends on the TypeScript language you may want to start by reading TypeScript getting started guide.

Unit Test can be run live in the browser using included HTML file test.html

Build

To build the project you'll need to download and install :

  • TypeScript compiler
  • Ant
  • JDK (Ant need a JDK not a JRE, also don't forget to change environment var JAVA_HOME to the JDK path).

  1. Rename the file user.properties.sample to user.properties
  2. Edit the file and replace MY_TYPESCRIPT_COMPILER_PATH by the real TypeScript compiler full system path. e.g. on windows: <code>typescript.compiler.path = C:/Documents and Settings/{USER NAME HERE}/Application Data/npm/tsc.cmd
  3. Use your favorite editor to run Ant or simply type <code>ant puremvc-typescript-standard-framework/build

License

  • PureMVC TypeScript Standard Framework - Copyright © 2012 Frederic Saunier
  • PureMVC - Copyright © 2006-2012 Futurescale, Inc.
  • All rights reserved.

  • Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    • Neither the name of Futurescale, Inc., PureMVC.org, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Something went wrong with that request. Please try again.