News for hackers. Stuff that matters.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by jc123 on Wednesday November 09, 2011 @05:01AM (#3214955)
How does this compare with backbone-rails?https://github.com/codebrew/backbone-rails
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by ryanfitz on Thursday November 10, 2011 @10:53PM (#3223304)
I'm the author of backbone-rails, one of the main differences that I see is I provide a Backbone.sync method that plays nicely with rails conventions of namespacing your put/post params by model name. It also adds csrf-token to the header in the request for you.

However, I think both of our projects are mainly just about helping users learn how to use backbone.js with rails. I try to balance the pull requests I accept based on usefulness vs will this actually help or confuse a new user trying to get started with rails and backbone. Use either one that makes more sense to you, as long as we helped some users get started with backbone and rails then I think we did our job.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by meleyal on Wednesday November 09, 2011 @11:26AM (#3216108)
My main focus was to follow the thoughtbot naming conventions and keep it simple.

The specific differences are: different naming conventions, fewer generators, generates Coffee or JS.

I wrote a short comparison here: https://github.com/meleyal/backbone-on-rails/wiki/How-is-thi...

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by quartzmo on Wednesday November 09, 2011 @02:07PM (#3216885)
I published my notes on the differences as a blog post, "backbone-on-rails vs backbone-rails vs rails-backbone". http://www.coffeescriptlove.com/2011/11/backbone-on-rails-vs...
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by klaut on Wednesday November 09, 2011 @05:36AM (#3215019)
I think backbone-rails comes with the older 0.5.0 version of backbone.js, whereas this one has 0.5.3 version. But i haven't tried it so not sure of other differences.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by lobo_tuerto on Thursday November 10, 2011 @07:53AM (#3219871)
No, backbone-rails comes with Backbonejs' latest version: https://github.com/codebrew/backbone-rails/blob/master/vendo...

It seems like the difference boils down to directory structure and that backbone-rails includes tests.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by ryanfitz on Thursday November 10, 2011 @11:01PM (#3223327)
I just updated the backbone-rails readme to reflect that it uses backbone.js 0.5.3
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by scottschulthess on Wednesday November 09, 2011 @09:18AM (#3215503)
This one says it supports coffeescript or javascript scaffolding(backbone-rails only supports coffeescript scaffolding right now)
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by thibaut_barrere on Wednesday November 09, 2011 @09:04AM (#3215461)
not sure, but if anyone has a good comparison I'm interested.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by nestlequ1k on Wednesday November 09, 2011 @05:47AM (#3215043)
I've never seen a $50 ebook before. Seems a bit excessive. Whatever, I'll pass or wait till they eventually come to their senses and offer it for $19
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by raganwald on Wednesday November 09, 2011 @10:37AM (#3215865)
> wait till they eventually come to their senses and offer it for $19

If they eventually offer it for $19, it could be they’ve come to their senses. Another possibility is that it’s good old-fashioned price discrimination: You offer it for $49, and sell as many as you can to those who can afford it.

When $49 sales dry up, drop the price and now a whole new group of customers—like you—buy it. If you had offered it at $19 to begin with, you’d have left money on the table from all the people who would have paid $49 but got it for $19.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by thibaut_barrere on Wednesday November 09, 2011 @09:04AM (#3215457)
It's clearly targeted at people who bill more than $100/hour and who are completely willing to pay a premium for that.

I bought it and I can tell you they made a killing (I can see how many people bought it as they invite people to a private github repo).

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by nestlequ1k on Wednesday November 09, 2011 @09:49AM (#3215607)
That's great, but it seems to me like a stupid approach. 1% of rails devs make 100+ an hour. So they are limiting their target market.

But whatever I'm sure they're making money and are happy.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by lobo_tuerto on Wednesday November 09, 2011 @05:51AM (#3215048)
Yeah the price is a bit excessive, and is not even a finished book yet.

So you pay for the knowledge you want now a premium fee, but you have to wait a couple of months to have it all?

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by irahul on Wednesday November 09, 2011 @06:48AM (#3215144)
What are you two people talking about? The url links to github page for the backbone-on-rails.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by Jgrubb on Wednesday November 09, 2011 @07:13AM (#3215182)
There's a link to a Thoughtbot page in the Readme that is pushing a $49 eBook.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by presty on Wednesday November 09, 2011 @07:14AM (#3215186)