Backbone.js on Rails (a book by Thoughbot)
workshops.thoughtbot.com
workshops.thoughtbot.com
https://peepcode.com/products/backbone-js
Part one in a three part series. For folks wanting a quick way to get up and running, it's a great foundation.
We're aiming a bit above the level of their part 1, and assuming folks have read the Backbone docs, and recommending things like that PeepCode. I'm really looking forward to their follow-on content in parts 2 & 3, too.
What do you think of this approach?
I'm not 100% on the idea of one app for all the chapters. For books we've written and workshops we've delivered in the past, this has actually been more trouble than it's worth, and we ended up adding superfluous content in order to build a cohesive app.
We're aiming to have a code base delivered with the app where examples live, but the examples might not always cohere - we'd rather each example best illustrate its content.
While I don't necessarily have to take the concept as far as Hartl did for it to work, I would suggest that the code relating to every concept/portion of the book is capable of doing something in and of itself, regardless of how small.
Actually the Hello Backbone.js tutorial is a good example of this. http://arturadib.com/hello-backbonejs/ Every page works on it's own and build on the code from the page before.
I think resources should be paid for (I just bought the peepcode videos from a comment here) I would be mildly worried that $49 might be a little high for some, but then again I hope I am wrong. Previews are always nice to see, the first couple of chapters to get a feel.
Definitely hear you (and others) on the previews - we agree they'll be good to have.
Are you going to have easily-downloadable drafts of the book though? or will I have to compile it?
Sound like it'll work out?
-- Credit Card * The transaction has been declined because of an AVS mismatch. The address provided does not match billing address of cardholder. --
One thing that looks like it's lacking is how to integrate ui libraries; specifically jquery-ui. Coordinating re-rendering of your views from updates from your models or events from other views isn't easy. A FSM for backbone would really help, come to think of it.
Don't put yourself in a box though, what's stopping you doing both? Get stuck in :)