Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - chaplinjs/chaplin: HTML5 application architecture using Backbone.js
HTML5 application architecture using Backbone.js. Contribute to chaplinjs/chaplin development by creating an account on GitHub.
Visit SiteGitHub - chaplinjs/chaplin: HTML5 application architecture using Backbone.js
HTML5 application architecture using Backbone.js. Contribute to chaplinjs/chaplin development by creating an account on GitHub.
Powered by 0x5a.live ๐
An Application Architecture Using Backbone.js
Introduction
Chaplin is an architecture for JavaScript applications using the Backbone.js library.
All information, commercial support contacts and examples are available at chaplinjs.org, comprehensive documentation and class reference can be found at docs.chaplinjs.org.
Download the latest release on chaplinjs.org. See below on how to compile from source manually.
Building Chaplin
The Chaplin source files are originally written in the CoffeeScript meta-language. However, the Chaplin library file is a compiled JavaScript file which defines the chaplin
module.
Our build script compiles the CoffeeScripts and bundles them into one file. To run the script, follow these steps:
-
Download and install Node.js.
-
Open a shell (aka terminal aka command prompt) and type in the commands in the following steps.
-
Change into the Chaplin root directory.
-
Install all dependencies
npm install
-
Start the build
npm run build
This creates these files in build
dir:
chaplin.js
โ The library as a compiled JavaScript file.chaplin.min.js
โ Minified. For production use you should pick this.
Running the Tests
Chaplin aims to be fully unit-tested. At the moment most of the modules are covered by Mocha tests.
How to run the tests:
-
Follow the steps for building chaplin.
-
Open a shell (aka terminal aka command prompt) and type in the commands in the following steps.
-
Change into the Chaplin root directory.
-
Start the test runner.
npm test
or alternatively, if you want code coverage reports
npm run coverage
Generated code coverage reports may be viewed by opening coverage/index.html
in your browser.
The Cast
The Producers
JavaScript Resources
are all listed below.
Made with โค๏ธ
to provide different kinds of informations and resources.