Giter VIP home page Giter VIP logo

marionette-template's Introduction

Contributing

Make sure you have the following dependencies installed:

  1. Node (I recommend version 0.10.x, node -v to check what you have installed). You will also need NPM, which comes with Node.

To get the development workflow up and running follow these steps:

  1. git clone the repository
  2. cd marionette-template
  3. Run npm install. This will install all of the dependencies.
  4. Run gulp watch. This will start listening for changes to the javascript and sass files, dynamically recompiling them as necessary.
  5. http-server. This will start a server on port 8080 that is serving the files in the public folder. You can now see the running client by visiting localhost:8080.

Toolchain

  • The application framework is Marionette on top of Backbone.
  • Automation is handled by gulp.
  • Javascript builds are done through browserify.
  • ES6 is converted to browser-friendly JS by babel.
  • Templates are written in Jade.
  • Stylesheets are written in Sass.
  • Base-styling is provided by Bootstrap.

Application Structure

/app - everything that runs in the browser

/app/main.js - the script that buts up the application, initializes any necessary singletons, and starts the router.

/app/router.js - the router that defines the mapping between urls and views.

/app/<resource_type> - directory containing everything related to a given resource: views, templates, routes, models, stores, and styles.

/app/<resource_type>/<route_name> - directory containing everything related to a give route: the view, the template, the styles.

marionette-template's People

Contributors

gabeisman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.