generator-metaproject v0.0.7
The Metaproject Generator
A Yeoman generator for Metaproject applications.
This is alpha-software
We're getting ready for a stable release.
Getting Started
To run this generator, you'll need NPM, Yeoman and Bower installed
$ npm install -g yo
$ npm install -g bowerInstallation
To install generator-metaproject from npm, run:
$ npm install -g generator-metaprojectFinally, initiate the generator on app_root:
$ cd /path/to/app_root
$ yo metaprojectApplication Structure
[app root]
`- app/
`- core/
`- modules/
`- base/
`- index.js
`- models.js
`- main.js
`- script.js
`- style.css
`- index.html
.bowerrc
.gitignore
.htaccess
bower.jsonThe
app/directory stores the public application files.app/coreholds the core frameworkmain.jsbootstraps the applicationscript.jsAdditional scriptsstyle.cssAdditional stylesindex.htmlMain app structure
Every module is self contained and stored under
app/modules- The
basemodule is defined inapp/modules/base/module app/modules/index.jsholds the modules url mappingapp/modules/models.jsdefines the shared Data Models used by the application.
- The
Modules are framework-agnostic. The architecture, provided by BoilerplateJS, demonstrates the best practices for integrating your libraries for large scale product development.
Module Generator
You can add additional modules to your application using the module
subgenerator
yo metaproject:module nameCreates a default module with separate viewmodel.js and submodule
support.
yo metaproject:module name --simpleCreates a simple module with inline viewModel and a single endpoint.
For detailed examples, please check the Skeleton reference Application and the Building Skeleton post