GithubHelp home page GithubHelp logo

animal-party's Introduction

#Animal Party An Unsuck your Backbone Demo, useful to compare how the same app would be implemented in both backbone.js and marionette.js

The facts

  • Animals like to party.
  • Scaling backbone.js applications can be hard.

So to help the party animals, and provide some guidance for scaling JavaScript applications written in backbone, here is animal party. An example app built with backbone.js and then again with marionette.js. Illustrating one way to structure your backbone application in a composite fashion.

In this demo you can create an invitation list, to keep track of who you have invited to the party of the year. Once your guests have sent back an RSVP, you can mark them as attending. If you decide your animal friend was mean and you no longer want them at your party you can kick them off the list. Once you are ready - you can start the party!

The pieces of the demo

There are two folders, each containing an implementation of the same app, one written in backbone.js and the other written in marionette.js. Both folders contain a web server written in node.js (express). If you are not farmiliar with Express.js you can find more information here. The webserver contains a simple api for keeping track of your potential guests, and your confirmed guests. The web server also serves up static assets like, the html, javascript and css.

How to run the demo

To run, change directory into one of the directories (backbone, or marionette)

cd backbone

Then, install local development dependencies. From the subroute directory, run:

npm install

Then, start the app

node app

You should now have a express web server listening on port 3000

animal-party's People

Contributors

ammeep avatar

Watchers

 avatar  avatar

Forkers

drbalaji

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.