This is a testing environment for WebApps based on MarionetteJS.
To run the Playground use the appropriate run-scripts.
Gulp build system
Two-Way data binding with Backbone.Stickit
Two mock APIs based on hapi-dummy-api
Backbone.Radio to build decoupled applications.
Runs on a HAPI-Server
Templating with Jade
Design based on a free template from redefineIT
Icons & Fonts from Font Awesome
...more to come soon ;)
Building with Gulp
Debug build with LiveReload:
Or use the run-scripts for Windows / *nix
Compilation is supported via
configs/coffee_config.js which is a simple CommonJS module. There's already a
Cakefile located in the project root.
By default the compilation starts with
cake build but it can be adjusted by modifying the
The compiled JS files are located together with their CoffeeScript counterparts. To change this behavior set a general
--output [DIR] in
coffee --compile --output OUT_DIR .
More information regarding CoffeeScript compilation can be found here.
Install CoffeeScript with
npm i -g coffee-script
MarionetteJS console debugging
Marionette.Application is located under
In the upcoming release 3 of MarionetteJS Backbone.Radio will replace Backbone.Wreqr. There's also a shim for version 2.1 which is included in Backbone Playground. Here's an example on how to use Backbone.Radio
Another example is located on the front page. Just type something into the box.
Check the code in
How to run it
- download/install node.js
- install dependencies:
- run it:
run.baton Windows or
- open http://localhost:3000 in a browser