Coder Social home page Coder Social logo

addyosmani / backbone-boilerplates Goto Github PK

View Code? Open in Web Editor NEW
488.0 40.0 177.0 455 KB

Backbone.js stack boilerplates demonstrating integration with Express, Ruby, PHP, Grails and more.

Home Page: http://addyosmani.com

JavaScript 95.34% Shell 0.12% Ruby 2.26% Groovy 1.13% PHP 0.15% CoffeeScript 0.99%

backbone-boilerplates's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

backbone-boilerplates's Issues

No view in option1

There's no View for "todo" in option1, maybe you forgot to push something! =)

Python -> Django app

Needs an idiomatic Django backend example using best practises.

Now that Django dev has experimental Python 3 support, I think it should be using Python 3. Well, Django 1.5 is far from released, but when it is, people are going to want examples on how to build Django with Python 3. Python 3 is the future, so why not.

I've thought about there being two identical apps, one in Python 2 and one in Python 3, but I ended up not suggesting it, since they would be too similar. Django abstracts away most of the mess for you.

Option 2: No template inheritance for todo.jade

Hello and many thanks for this tutorial.

I am new to node and backbone, but I think at option 2 your main template todo.jade is not inheriting from layout.jade. As a result the application is not working. Option 1 is working fine. Also there is a depreciation message for express.createServer().

Best regards,
Andreas

Python -> Flask

Needs a Flask example app since it's one of the most popular Python web frameworks.

500 Error: Cannot find module 'undefined'

Thanks for your example. It really helps.

There is an issue here. When I try to run option1, there is an error "500 Error: Cannot find module 'undefined'".

After I repalce the code in app.js

app.get('/todo', function(req, res){
  res.render('todo', {title: "MongoDB Backed TODO App"});
});

with code like this

app.get('/todo', function(req, res){
    res.sendfile(__dirname + '/public/static.html');
});

It works just fine. Why?
If it's an bug, would you fix it?

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.