Backbone JS Key-Value Observing
https://github.com/bruth/backbone-kvo I've come to appreciate the various libraries in my current JavaScript stack including: jQuery, Backbone (and thus Underscore), and RequireJS. The one thing missing is key-value observing between my DOM elements and my data. I was hoping the jQuery datalink API would have matured, but the scope of the API is limited and the implementation is somewhat confusing to me. So I decided to start writing one that initially assumes Backbone (since it has events built in). Since Backbone's controllers aren't traditional controllers, I linked the DOM element via…
What it does
In the maker’s words, at launch
https://github.com/bruth/backbone-kvo I've come to appreciate the various libraries in my current JavaScript stack including: jQuery, Backbone (and thus Underscore), and RequireJS. The one thing missing is key-value observing between my DOM elements and my data. I was hoping the jQuery datalink API would have matured, but the scope of the API is limited and the implementation is somewhat confusing to me. So I decided to start writing one that initially assumes Backbone (since it has events built in). Since Backbone's controllers aren't traditional controllers, I linked the DOM element via the View to the Model the View represents. There are quite a few assumptions being made in the implementation and lots of room for improvement in the API, names of things, and performance. If you clone the repo, you can just open index.html since I pre-built the JS for the time being. Thanks.
Does the same job
all alternatives →- IRI rewrote the Backbone.js Todo example2013 · ahamlett.com · ▲55
- TBTodos: Backbone.js example + Google App Engine (Python)2011 · github.com · ▲38
- OVObject-visualizer – Chrome-console-like JSON object visualizer in DOM2020 · github.com · ▲45

- MFMy first significant project with Backbone.js - a simple online editor2010 · quietwrite.com · ▲91
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, June 2011
the whole month →- HT
Life & fun · 2011 · hntrends.jerodsanto.net
- RI
Life & fun · 2011 · roll.io
- LI
Life & fun · 2011 · logio.org
- MW
I wanted QR codes to be really simple to implement everywhere and for everyone. So I spent some time on my weekends trying to write a fast QR generator module for Apache, and here are the results: ab -n 5000 -c 100 http://lilqr.com/qr Requests per second: 4301.78 [#/sec] (mean)
Work · 2011 · lilqr.com
- CA
Life & fun · 2011 · freeversation.com
- GC
Work · 2011 · mattgreer.org