TerrificJS - Terrific JavaScript Framework
TerrificJS is a neat, clever piece of code that allows you to modularize your jQuery code by solely relying on CSS naming conventions.
So simple, so effective! TerrificJS helps you to structure your project in a way you have never dreamt of. Try the magic and get addicted.
Notice: the documentation of TerrificJS is available at http://terrifically.org/api.
- Ant (for the build execution)
- node.js (for UglifyJS, YUIDoc)
- npm (for UglifyJS, YUIDoc)
- UglifyJS
- YUIDoc
Notice: Some of the commands used below are Linux (Ubuntu) specific.
First of all, you need Ant, if you do not already have those installed.
sudo apt-get install ant
To get the build environment up and running, we need UglifyJS and YUIDcc, which itself depends on node.js. Get appropriate installer package from NodeJS.
Notice: npm comes bundled with node.js
TerrificJS uses UglifyJS to build the minimized version of the JavaScript file. Install it via npm using the following commands.
npm install uglify-jssudo ln -s /home/$USER/node-install/node-v0.6.19/node_modules/uglify-js/bin/uglifyjs /usr/bin/uglifyjs
To generate the API documentation, the TerrificJS uses YUIDoc from Yahoo. Install it via npm using the following commands.
npm -g install yuidocjssudo ln -s /home/$USER/node-install/node-v0.6.19/node_modules/yuidocjs/node_modules/yui/yuidoc /usr/bin/yuidoc
To build your own release of Terrific, just run ant in the build directory and you’re done. The files will take place in the release folder in your TerrificJS working copy.
cd /path/to/terrific/buildant
You will get the following release artifacts:
- release/docs/ – generated API documentation
- release/terrific-.js – the full release
- release/terrific-.min.js – the minified release for production use