GithubHelp home page GithubHelp logo

puremvc-javascript-objs's Introduction

PureMVC Port to Javascript / Objs

PureMVC Port to Javascript / JavaScript Objs port by Frederic Saunier
PureMVC – Copyright© 2006-2012 Futurescale, Inc., Some rights reserved.
-———————————————————————————————————-
Release Date: 10/21/2012
Platform: JavaScript / Objs
Version: 2
Revision: 0
Author: Frederic Saunier <[email protected]>
License: Creative Commons Attribution 3.0 United States License
License for Objs: GNU General Public License Version 3
-———————————————————————————————————-

Releases

Version 2.0

This port, inspired originally from PureMVC for AS3 standard port by Cliff
Hall. The source classes are in separate files mirroring the original and the
minified library is about 9K. The minification is brought to this port using
YUICompressor.

Version 1.0

First official PureMVC JavaScript port released on PureMVC.org with the
Framework source and a demo based on the Employee Admin AS3 demo.

Usage

As this port depends on the Objs library you may want to start by reading the
Objs library documentation.

Optional

The only thing you may know which is specific to this port (gratefully to
namespaces) is that you can hide the PureMVC classes from the global (the
window object in most cases) context.

This can be made by setting a HidePureMVC property to true before loading the
port.

Example:

This made classes from the PureMVC framework will not pollute the global
context and can only be accessed through their namespace.

Build

To build the project you’ll need Ant to run the
/build/build.xml file located in the build YUICompressor. The task concat all
the JavaScript files in one, next compress and minify it. The YUICompressor
munge option is activated.

The Ant task need both
YUICompressor and
YUIant. Respective jar
file for both library need to be copied in the /build/lib/ folder for the task
to run correctly.

Unit Tests

Unit Tests follow the PureMVC for AS3 standard port with some specific
additions for the JavaScript language.

Unit tests are built upon
YUI Test Standalone Library.

The tests run by opening the /index.html. The test runner and Unit Test
framework loads all the libraries it needs from the /lib/yuitest folder. They
were first built upon YUI 3.2.0 and YUITest 1.0.0 b1 standalone libraries.

puremvc-javascript-objs's People

Contributors

tekool avatar

Watchers

Ankur Agarwal avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.