Live data from Hacker News

How to start with Backbone.js: A simple skeleton app

codeartists.com

1–10 of 49 posts

Re: How to start with Backbone.js: A simple skeleton app

#2
"How to start with Backbone.js: A simple skeleton app"

first sentence:

"You need a solid knowledge of JavaScript, familiarity with Backbone, Ruby, HAML, SASS and CoffeeScript to find this writeup useful."

Feels like an awful lot of prereqs for a starter. I don't expect to be spoon-fed JavaScript basics, but I feel like too many Backbone guides presume some understanding of Backbone before starting with something that is supposed to help you learn Backbone. Just a minor frustration of mine.

Re: How to start with Backbone.js: A simple skeleton app

#3

"How to start with Backbone.js: A simple skeleton app" first sentence: "You need a solid knowledge of JavaScript, familiarity with Backbone, Ruby, HAML, SASS and CoffeeScript to find this writeup useful." Feels like an awful lot of prereqs for a starter. I don't expect to be spoon-fed JavaScript basics, but I feel like too many Backbone guides presume some understanding of Backbone before starting with something that…

Agree. But I doubt any beginner in web development will be touching Backbone.

Re: How to start with Backbone.js: A simple skeleton app

#4
post #3

"How to start with Backbone.js: A simple skeleton app" first sentence: "You need a solid knowledge of JavaScript, familiarity with Backbone, Ruby, HAML, SASS and CoffeeScript to find this writeup useful." Feels like an awful lot of prereqs for a starter. I don't expect to be spoon-fed JavaScript basics, but I feel like too many Backbone guides presume some understanding of Backbone before starting with something that…

Agree. But I doubt any beginner in web development will be touching Backbone.

True.

Re: How to start with Backbone.js: A simple skeleton app

#5
In the same spirit of releasing the code of a working Backbone app for beginners, I wrote and open sourced a visual bookmark organizer a while back. It's no masterpiece, but it has more working parts than the typical TODO tutorial --

http://bookmarkly.com

https://github.com/dangrossman/Bookmarkly

Re: How to start with Backbone.js: A simple skeleton app

#7

"How to start with Backbone.js: A simple skeleton app" first sentence: "You need a solid knowledge of JavaScript, familiarity with Backbone, Ruby, HAML, SASS and CoffeeScript to find this writeup useful." Feels like an awful lot of prereqs for a starter. I don't expect to be spoon-fed JavaScript basics, but I feel like too many Backbone guides presume some understanding of Backbone before starting with something that…

Not only that; but I find the use of CoffeeScript to be distracting when trying to learn the fundamentals of Backbone (which isn't really more 'optimized' for development with CoffeScript, despite the fact both were created by Jeremy Ashkenas)

Re: How to start with Backbone.js: A simple skeleton app

#8
To echo other comments in this thread -- if you're a beginner just looking to get started with a Backbone app, this may not be the best "skeleton". If you look at the GitHub repo:

https://github.com/mihar/backbone-skeleton/

... you'll find a somewhat odd scaffold that doesn't give you much more than a raw Sinatra app with Backbone included on a page -- but will probably feel far more confusing, with the inclusion of arbitrary bits of code:

https://github.com/mihar/backbone-skeleton/blob/master/src/c...

If you look at this as an interesting example of an extraction from an existing app -- that's great; more power to you. But I'd be wary of using it as a "skeleton" to start building your own thing.

That said, if other folks want to share their basic setup or source code, like @dangrossman did, that would be lovely. I'll start: https://github.com/documentcloud/documentcloud/tree/master/p...

Re: How to start with Backbone.js: A simple skeleton app

#9
post #3

"How to start with Backbone.js: A simple skeleton app" first sentence: "You need a solid knowledge of JavaScript, familiarity with Backbone, Ruby, HAML, SASS and CoffeeScript to find this writeup useful." Feels like an awful lot of prereqs for a starter. I don't expect to be spoon-fed JavaScript basics, but I feel like too many Backbone guides presume some understanding of Backbone before starting with something that…

Agree. But I doubt any beginner in web development will be touching Backbone.

Perhaps not. But it seems like the author added an unnecessary level of abstraction for parts of the tutorial. It's his tutorial - he can do what he wants ... but it likely slows, complicates, or excludes-from-participating-in people that aren't well-versed in his chosen toolkit of technologies.

Re: How to start with Backbone.js: A simple skeleton app

#10

To echo other comments in this thread -- if you're a beginner just looking to get started with a Backbone app, this may not be the best "skeleton". If you look at the GitHub repo: https://github.com/mihar/backbone-skeleton/ ... you'll find a somewhat odd scaffold that doesn't give you much more than a raw Sinatra app with Backbone included on a page -- but will probably feel far more confusing, with the inclusion of…

Which would then be the best "skeleton" ?
Post reply on HN