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.

Backbone.js v0.9.10 Released

78 pointsby philfreoover 12 years ago

5 comments

marcusestesover 12 years ago
"Most importantly, Backbone events have two new methods: listenTo and stopListening... When you destroy Views with view.remove(), this will now be done automatically"<p>Well that seems incredibly useful.
评论 #5064677 未加载
评论 #5063553 未加载
评论 #5063047 未加载
crescentfreshover 12 years ago
&#62; Backbone's only hard dependency is either Underscore.js ( &#62;= 1.4.3) or Lo-Dash<p>First I'm hearing of Lo-Dash. How long has this been in the Backbone.org docs?<p>Appears there was a fair bit of tension in it's dev history. Eg: <a href="https://github.com/documentcloud/underscore/commit/4e4bc194c0a0e06aa8f7633695ad10030d871a2b" rel="nofollow">https://github.com/documentcloud/underscore/commit/4e4bc194c...</a>
评论 #5064723 未加载
评论 #5064012 未加载
hueypover 12 years ago
From the changelog:<p>&#62; Model validation is now only enforced by default in Model#save and no longer enforced by default upon construction or in Model#set, unless the {validate:true} option is passed.<p>From the documentation on Model#set:<p>&#62; If the model has a validate method, it will be validated before the attributes are set, no changes will occur if the validation fails, and set will return false. Otherwise, set returns a reference to the model. You may also pass an error callback in the options, which will be invoked alongside the "error" event, should validation fail.<p>Is the documentation out of sync, or do I not understand the changelog correctly?
评论 #5064743 未加载
jonascopenhagenover 12 years ago
Another framework worth checking out if you're into JavaScript MVC is AngularJS (<a href="http://angularjs.org" rel="nofollow">http://angularjs.org</a>).
评论 #5063085 未加载
Cthulhu_over 12 years ago
The actual 0.9.10 changelog is at <a href="http://backbonejs.org/#changelog" rel="nofollow">http://backbonejs.org/#changelog</a>