Skip to content

A brief demonstration on how to integrate Backbone models into the MontageJS framework.

Notifications You must be signed in to change notification settings

wulftone/backbone-montage-example

Repository files navigation

Backbone-Montage-Example

This is a brief introduction on how to integrate the two technologies, and is itself a work in progress. I assume I'm doing everything wrong, but this works for now. If anyone wants to enlighten me, please do!

==============

This is the Montage app template.

Note: Before working on your app you will need to add montage to it.

npm install .

Layout

The template contains the following files and directories:

  • index.html
  • package.json – Describes your app and its dependencies
  • README.markdown – This readme. Replace the current content with a description of your app
  • ui/ – Directory containing all the UI .reel directories.
    • main.reel – The main interface component
  • core/ – Directory containing all core code for your app.
  • node_modules/ – Directory containing all npm packages needed, including Montage. Any packages here must be included as dependencies in package.json for the Montage require to find them.
  • assets/ – Assets such as global styles and images for your app
  • test/ – Directory containing tests for your app.
    • all.js – Module that point the test runner to all your jasmine specs.
  • run-tests.html – Page to run jasmine tests manually in your browser
  • testacular.conf.js – This is the testacular configuration file. You can start testacular by running node_modules/testacular/bin/testacular start

Create the following directories if you need them:

  • locale/ – Directory containing localized content.
  • scripts/ – Directory containing other JS libraries. If a library doesn’t support the CommonJS "exports" object it will need to be loaded through a <script> tag.

About

A brief demonstration on how to integrate Backbone models into the MontageJS framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published