addyosmani / backbone-boilerplates Goto Github PK
View Code? Open in Web Editor NEWBackbone.js stack boilerplates demonstrating integration with Express, Ruby, PHP, Grails and more.
Home Page: http://addyosmani.com
Backbone.js stack boilerplates demonstrating integration with Express, Ruby, PHP, Grails and more.
Home Page: http://addyosmani.com
@sindresorhus, should we start from scratch for https://github.com/TasteJS/TasteStack or do it feel it would make more sense to transfer this repo to TasteJS and retroactively get them to conform to the TodoMVC template/specs?
There's no View for "todo" in option1, maybe you forgot to push something! =)
Like tastejs/todomvc#174
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.
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
Needs a Flask example app since it's one of the most popular Python web frameworks.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.