I have traditional Rails 4 app with a little bit of jQuery goodness here and there (so little it sits in a couple of .js files just wrapped it $(document).ready) for some real minor things like cropping avatar images, enabling select2 autocomplete, occasional handler here and there.
Thing is, requirements change and I basically have to provide users with a simple switch to choose preferred units of measurements for width/height. I store things in metric units in dB and was thinking of some kind of data-binding library which would allow me to implement those conversions client-side. I also have couple of pieces of HTML/JS with hidden inputs and lots of spans with text which could benefit from abstracting in some way, since mess of click handlers with .hide(), .show(), .val() calls everywhere isn't very clean.
Problem is, there are literally dozens of data-binding libs nowadays and I have very brief experience only with knockout.js. It's quite lightweight but Models tend to grow very quickly and I dislike conditional comments in views (feels not so clean). Are there any better alternatives?
I want to keep my app conventional Rails app. I'm not going SPA, at least yet. I render the page, lib binds to certain elements, grabs rendered values and starts its magic.
I want it to be lightweight. jQuery dependency is ok, but no Underscore please (I'm not a big fan of learning any other DOM-manipulation/ajax/helper functions lib).
It's nice if it won't be too hard to learn with 200 pages documentation and fancy new names for old programming concepts everywhere. Good performance and IE8 support.