GithubHelp home page GithubHelp logo

geekyme / backbonejade.io Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.06 MB

Test implementation of a Backbone.js app, powered by Node.js, it's templating engine Jade and socket.io

JavaScript 100.00%

backbonejade.io's Introduction

BackboneJade.io


A demo implementation of Backbone.js powered by Node.js, Express, Jade, Backbone.io


What does this do?

  • Use of Jade to render initial HTML, and bootstrap a list of users (from dummy server DB :p) into backbone
  • How socket.io is used on backbone.js, using Backbone.io
  • CRUD on a list of users
  • Use of dustjs-linkedin on the frontend to render html templates

Instructions

  • npm install
  • node app.js
  • Next fire up a few browsers and go to http://localhost:8080
  • Click one of the names and see what happens to the other browsers!
  • Try creating a new user / deleting them and see what happens to the other browsers too! The name changing effect also applies to newly added users
  • Refresh your browsers to see if data persists
  • Feel free to hack on this more to see what else you can do with socket.io + backbone

Misc

  • package.json list a number of node packages many of which are not necessary but are just hot favourites, simply adding them for convenience

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.