TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why all Backbone resources seem to be outdated?

13 pointsby cberriosabout 10 years ago
Hello. I&#x27;m self-studying to become a &quot;full stack&quot; web developer and I&#x27;ve chosen Backbone as the first frontend framework&#x2F;library to learn, since it&#x27;s small, widely used and plays well with React and other libraries&#x2F;frameworks.<p>However, I&#x27;ve found that most resources seem to be pretty outdated and it&#x27;s been hard to find any tutorial or course not using RequireJS or at least the &quot;newest&quot; Backbone features.<p>Can you recommend a good, updated path to learn Backbone, best if paired with React as the view layer?<p>Should I stick with learning Backbone or should I move to another library&#x2F;framework?<p>Is Backbone still in high demand, will it still be between now and the next year?<p>Thank you for your answers and opinions.

5 comments

PhrosTTabout 10 years ago
As people are saying, the source is a great way to start.... Although I landed on many best practices through trial and error.<p>Marionette (<a href="http:&#x2F;&#x2F;marionettejs.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;marionettejs.com&#x2F;</a>) will maybe help you see its shortcomings (since it fills those gaps, although I don&#x27;t personally use it).<p>Some pro tips:<p>* Figure out how sync works (when save() calls POST vs. PUT).<p>* Figure out how this.el works<p>* Learn the difference between router.navigate(&#x27;&#x2F;fun&#x27;) and router.navigate(&#x27;&#x2F;fun&#x27;, { trigger: true }).<p>* Learn the difference between url() and urlRoot(), and step through the backbone code with the chrome debugger as it determines a model&#x27;s URL.<p>* Look at what delegateEvents() does.<p>* Learn about .listenTo() and how .remove() can alleviate view zombies.
评论 #9287700 未加载
hackerioabout 10 years ago
Backbone might not be the cool kid anymore (maybe React is).<p>I found it to be a good framework for small apps (not those single page JS application).<p>While I was learning Backbone I didn&#x27;t find any really good tutorial, but eventually I figure out an usage and style which suits me.<p>At times I do wish Backbone would be a &quot;complete and opinionated framework&quot;, but I figured out a way to use it to build small UI components. I didn&#x27;t use the Router components, but combination of model and view does wonder.
评论 #9290340 未加载
ricardobeatabout 10 years ago
The library itself is so small you can simply read through the annotated source in half an hour: <a href="http:&#x2F;&#x2F;backbonejs.org&#x2F;docs&#x2F;backbone.html" rel="nofollow">http:&#x2F;&#x2F;backbonejs.org&#x2F;docs&#x2F;backbone.html</a><p>There is a trend towards more complete frameworks, but Backbone is still in use by many high-profile companies. Learning how it works is a small investment of time, and should give you nice insights for understanding larger &amp; more complex projects.
评论 #9287023 未加载
UweSchmidtabout 10 years ago
Surely the quality and freshness of the documentation is a function of the momentum and support a certain technology has. Maybe you can find a similar tech that has tutorials that really appeal to you, that feel like they open a door to a wonderful new world?
评论 #9287036 未加载
wmfabout 10 years ago
Backbone is small because it doesn&#x27;t do that much. After learning Backbone I regretted wasting so much time learning how to do simple things like nest views correctly. Backbone made me really long for a complete and opinionated framework.
评论 #9287028 未加载