Molecule is a front-end ecosystem consisting of framework agnostic code, tooling and tests. This is a personal project of mine using all the lessons learned through several years of professional web development experience.
##External Libs
- Requirejs
- jQuery
##Patterns
##Naming Conventions
###Prototype Methods All prototype methods are named Object_methodname. This is done to allow for easier debugging instead of using anonymous functions. See below -:
Composer.prototype.addScaffolding = function Composer_addScaffolding() {};
##Tooling
##Tests
##Notes
Set this up using npm init
in the app folder. Need this in place for grunt.
Use npm install <pkg> --save
afterwards to install a package and save it as a dependency in the package.json file
- Create a Gruntfile
- install grunt using
npm install grunt
####SASS & Watch
npm install grunt-contrib-sass --save-dev
npm install grunt-contrib-watch --save-dev
####Handlebars
npm install grunt-contrib-handlebars --save-dev