jashkenas/backbone
View on GitHub ↗ ★ 28,083 JavaScript
Give your JS App some Backbone with Models, Views, Collections, and Events
55 mentions on Hacker News by 48 people: 11 stories, 44 comments · first 2010-10-13 · latest 2026-01-18
20082026
-
…Compare the annotated source with the source at GitHub: https://backbonejs.org/docs/backbone.html https://github.com/jashkenas/backbone/blob/master/backbone.j... https://ashkenas.com/docco/
comment by there4 · 2025-12-07 · in What is “literate programming”? (2024) -
…like the classic `backbone.js` documentation[1] [1]: https://backbonejs.org/docs/backbone.html [2]: https://github.com/jashkenas/backbone/blob/master/backbone.j... [3]: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....
comment by metafeather · 2025-01-07 · in The Future of Htmx -
Back when I was starting out, it was nice that Backbone had such clean, well-commented code: https://github.com/jashkenas/backbone/blob/master/backbone.j...
comment by Waterluvian · 2023-06-17 · in Ask HN: What are some of the most elegant codebases in your favorite language? -
▲ 2
BackboneJS is being actively maintainedstory by hernantz · 2022-01-26 · 0 comments
-
SQLAlchemy author here. The critique of "Backbone" and the original quoted author's note at https://github.com/jashkenas/backbone/issues/2888#issuecomme... expresses an issue that SQLAlchemy has as well. A fine-grained development library…
comment by zzzeek · 2020-10-12 · in Sentimental Versioning -
https://github.com/jashkenas/backbone/issues/2888#issuecomme... > So, as I like to joke — not "semantic" versioning, _romantic versioning_. > Given a version number MAJOR.MINOR.PATCH, increment the: > MAJOR version when you make a major…
comment by paulddraper · 2019-02-11 · in What's next for SemVer -
…want a leading version number that they can spin manually. For example, the creator of Backbone: https://github.com/jashkenas/backbone/issues/2888#issuecomme... I say: why not both.
comment by hombre_fatal · 2019-02-11 · in What's next for SemVer -
▲ 1
Backbone.js activitystory by artursapek · 2017-06-13 · 0 comments
-
…set after the 1.0 version. When you look at the contributions graph, its practically non-existent: https://github.com/jashkenas/backbone/graphs/contributors Add in the Google trends graph compared to Angular and React:…
comment by at-fates-hands · 2016-11-04 · in Visual Studio Code 1.7.1 -
> on the way to be deprecated Where do you get this from? Very active IMHO: https://github.com/jashkenas/backbone/pulse
comment by bikamonki · 2016-03-08 · in The Sad State of the Backbone Ecosystem -
…with vanilla JS [2]. No schism, just not a huge paradigm shift either (which is a good thing). [0] https://github.com/jashkenas/backbone/pull/3003 [1] https://github.com/jashkenas/backbone/pull/3006 [2]…
comment by krebby · 2016-03-08 · in The Sad State of the Backbone Ecosystem -
…you probably interact with regularly (e.g. https://github.com/documentcloud/document-viewer , https://github.com/jashkenas/backbone ), so it also seems somewhat overblown to make it sound like they're putting the entire team on a small…
comment by acdha · 2016-02-02 · in How to Build a TimesMachine -
▲ 1
Why duplicate models are no more allowed in Backbone collections? (2012)story by ziodave · 2015-12-21 · 0 comments
-
Interesting issue with discussion regarding ES6: https://github.com/jashkenas/backbone/issues/3560
comment by cdnsteve · 2015-08-14 · in Developing Backbone.js Applications – a Creative Commons book -
▲ 2
Backbone and ES6 Classesstory by outdooricon · 2015-07-08 · 0 comments
-
From the backbone archives (linked in the article): https://github.com/jashkenas/backbone/issues/2888#issuecomme...
comment by yoshuaw · 2015-02-20 · in Coffeescript 1.9.0 contains a backwards incompatible change -
▲ 3
Backbone Plugins page – could save me some time in the paststory by hippich · 2015-01-19 · 0 comments
-
…messages on real world applications that might have been replaced by a 'cmt' commit: - backbone https://github.com/jashkenas/backbone/commit/49123e9ab1d2ef5... ('Don't be clever') - angularjs https://github.com/angular/angular.js/commit/553…
comment by gianlucaguarini · 2014-07-20 · in Get rid of all the boring git commit messages like 'small fix' -
Here is the mentioned pull request: https://github.com/jashkenas/backbone/pull/2959 Here is his benchmark: http://jsperf.com/backbone-patch-22be8f9/2 It only compares jQuery 1 and the DOM API, no jQuery 2. TestBaseView: DOM API…
comment by LukeShu · 2014-01-31 · in You might not need jQuery -
…of Backbone is hard because of the lack of built-in delegated event support It actually is builtin: https://github.com/jashkenas/backbone/blob/1.1.0/backbone.js... In fact it takes a bit of effort to not use event delegation when setting…
comment by crescentfresh · 2014-01-23 · in We spent a week making Trello boards load fast -
The commit you want is here: https://github.com/jashkenas/backbone/commit/51eed189bf4d258... and the pull request: https://github.com/jashkenas/backbone/pull/2461
comment by masterj · 2013-10-11 · in Backbone.js 1.1 is out -
Here's a direct link to the actual net changes: https://github.com/jashkenas/backbone/compare/1.0.0...1.1.0#...
comment by jashkenas · 2013-10-11 · in Backbone.js 1.1 is out -
…hub.com/tbranyen/backbone.layoutmanager/blob/mast... but this was completely removed with the update: https://github.com/jashkenas/backbone/compare/1.0.0...1.1.0#... In backbone's defense, that wasn't part of its public API, but it does…
comment by masterj · 2013-10-11 · in Backbone.js 1.1 is out -
▲ 1
Backbone.js 1.1 release imminentstory by calebgilbert · 2013-10-10 · 0 comments
-
…the function wrappers (in the non-trivial case, anyway). Look at what Backbone's `extend` does: https://github.com/documentcloud/backbone/blob/master/backbo... The subclass's constructor calls the parent's constructor function, just as in…
comment by just2n · 2013-06-01 · in Backbone vs. Simple JavaScript Inheritance -
…extend when used to inherit from the same class (either an empty class, or a Backbone class). [1] https://github.com/documentcloud/backbone/blob/master/backbo...
comment by cdata · 2013-06-01 · in Backbone vs. Simple JavaScript Inheritance -
…by client id ImageGallery.getByCid(534); The `getByCid` method has been removed since 0.9.10: https://github.com/documentcloud/backbone/compare/0.9.9...0....
comment by danso · 2013-04-03 · in Backbone.js Collection -
Have you actually read http://docs.angularjs.org/api/ng.$http or https://github.com/documentcloud/backbone/blob/master/backbo... ?
comment by jsg · 2013-03-22 · in Why we're moving away from Ember.js -
…paste, for the detail-oriented among you, the full list of changes and diff is available here: https://github.com/documentcloud/backbone/compare/0.9.10...1...
comment by jashkenas · 2013-03-20 · in Announcing Backbone.js 1.0 -
▲ 2
Backbone.js 1.0.0 Releasedstory by smagch · 2013-03-20 · 0 comments
-
…[2] https://github.com/documentcloud/underscore/blob/master/unde... [3] https://github.com/documentcloud/backbone/blob/master/backbo... [4] http://coffeescript.org/ [5] http://arcturo.github.com/library/coffeescript/02_syntax.htm.
comment by sanderjd · 2012-11-24 · in Changing times for web developers -
But you have to keep in mind, according to the code ( https://github.com/documentcloud/backbone/blob/master/backbo... ) this will only get rid of the events on this.model and this.collection. If you are using another field or model (like…
comment by chrizel · 2012-11-12 · in Preventing memory leaks in Backbone.js -
…This is often unexpected when creating inheritance schemes that chain the parent constructor. https://github.com/documentcloud/backbone/pull/1269
comment by ynniv · 2012-10-19 · in JavaScript: Function Invocation Patterns -
…when workin on a new problem, and get halfway down my thought process before remembering to check https://github.com/documentcloud/backbone/wiki/Extensions,-P... . To be fair, the backbone website does a terrible job of promoting these…
comment by jscheel · 2012-09-14 · in Why I switched to Spine.js -
…of the majority of basic memory cleanup needs when the element is cleared from the screen. [1]: https://github.com/documentcloud/backbone/commit/3ae1af6df1b...
comment by tgriesser · 2012-08-29 · in Advice On & Instruction in The Use of Ember.js -
Maybe. I've actually adopted the style from Backbone itself. https://github.com/documentcloud/backbone/blob/master/backbo... I've found that while it make individual methods harder to read, maybe, it helps with readability of the file in…
comment by ianstormtaylor · 2012-08-28 · in Break Apart Your Backbone.js Render Methods -
…the UI from the values set in the models. Check out the "Views" section for a list of libraries: https://github.com/documentcloud/backbone/wiki/Extensions%2C...
comment by politician · 2012-07-19 · in Backbone.js: Hacker's Guide -
…to toot his own horn, he's also second[1] only to jashkenas in commits to backbone.js proper. [1] https://github.com/documentcloud/backbone/graphs/contributor...
comment by dinedal · 2012-06-01 · in Show HN: We made Supermodel.js to track Backbone model relationships -
▲ 2
Backbone.js Pluginsstory by denysonique · 2012-04-20 · 0 comments
-
…the change events and causes the attribute to change but does not trigger change:attribute. Edit: https://github.com/documentcloud/backbone/pull/981
comment by robinduckett · 2012-02-09 · in Backbone patterns -
▲ 6
Backbone.js 0.9story by timruffles · 2012-01-30 · 0 comments
-
…) as well as a big pile of references as well as tutorials here: https://github.com/documentcloud/backbone/wiki/Tutorials%2C-...
comment by knowtheory · 2011-12-22 · in Backbone.js Fundamentals -
…subtly wrong. Another example would be the lack of infrastructure for nested Collections (e.g. cf. https://github.com/documentcloud/backbone/issues/483#issueco... ). I understand that backbone doesn't want to grow fat in the core. However…
comment by moe · 2011-11-25 · in Identity Map for Backbone.js Models -
…it... For the (historical) record, it was originally introduced by Nick Fitzgerald in this commit: https://github.com/documentcloud/backbone/pull/29 ... and then later styled up by Jérôme Gravel-Niquet.
comment by jashkenas · 2011-09-12 · in TodoMVC - A common demo application for popular JavaScript MVC frameworks -
…JavaScript at our disposal to hide some of the uglier implementation details in APIs we define. [1] https://github.com/documentcloud/backbone/blob/master/backbo... [2] http://news.ycombinator.com/item?id=2923694
comment by insin · 2011-08-25 · in Announcing the first release of batman.js -
Thanks for the tip. How does this look to you? https://github.com/documentcloud/backbone/commit/3a56d366865...
comment by jashkenas · 2011-07-02 · in Backbone.js 0.5.0 Released (with pushState) -
…that. Here's a commit that improves the hash-to-pushState upgrade by using replaceState instead: https://github.com/documentcloud/backbone/commit/c39ddd0c16e... Now, if you click on the first link, and then go back once, you should end up…
comment by jashkenas · 2011-07-01 · in Backbone.js 0.5.0 Released (with pushState) -
…if API endpoints for Collections would wrap the JSON serialized Arrays inside an Object literal?' https://github.com/documentcloud/backbone/issues/201 ultimately you should use tokens to verify the request was not forged.
comment by tosh · 2011-06-18 · in JSON users: Avoid CSRFs by not using top-level arrays -
…recently submitted a pull request for changes I made to expose a primitive Base class in Backbone: https://github.com/documentcloud/backbone/pull/276
comment by jimmydo · 2011-03-18 · in Simple JavaScript Inheritance with Backbone