Maintainer: Barry Morwood
Chaos is a boilerplate used to generate HTML5 interactive standalone web applications.
Chaos is based on the 'carngorhm' design pattern used to create flash / flex style web applications. If in another life you were a Flex / Flash developer and want a familiar developing landscape or you are looking for portable web application, you are in the right place.
- built in localization using http://i18next.com.
- code documentation using http://yui.github.io/yuidoc/.
- grunt build tasks.
- basic web application scaffolding.
- simple setup to integrate into any web page.
- works on all modern browsers; I still need to check older versions of IE.
build and open application
$ grunt yuidoc
Install yeoman using NPM.
$ npm install -g yo
npm install -g generator-chaos
Make a new directory and
cd into it:
mkdir my-new-project && cd $_
chaos will ask for a namespace, enter your namespace and hit enter.
Skips the automatic execution of
npmafter scaffolding has finished.
- view model
yo chaos:entity [object name]
this is a multiple choice selector, you can also use the 'All' to generate all entities. choose from the available list items, you can select any combination you want.
yo chaos # generates your application base and build workflow [enter namespace] yo chaos:entity blog [choose view & view model] grunt
NOTE: Do not put beginning or trailing slashes on the directory structure!
why css background imgs over img tags