Skip to content

PureMVC/puremvc-typescript-standard-framework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Production- Version 1.0

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.

About

PureMVC Standard Framework for TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.3%
  • TypeScript 40.1%
  • Other 0.6%