If you've heard me talk about KnockoutJS (http://knockoutjs.com/) before and maybe taken some time to play with it you'll be happy to hear that there are some awesome new features rolling with Knockout 2.0:
- Control Flow binding (foreach, if, etc)
- Containerless control flow (control flow without having to use templates)
- Access to Parent Binding contexts (finally you can walk the tree and access parent bindings!)
- Way Better event handling
- You can now set up your own binding provider
It's all neatly summarized in this blog:
http://blog.stevensanderson.com/2011/12/21/knockout-2-0-0-released/
There are some breaking changes but mostly around JQuery Template (which has been pretty much dead for a while now).
Anyway, great news if you love client side data binding! (and who doesn't lol)
Wow, this is really starting to look easy to use now.
Also, that blog post links to Semantic Versioning (http://semver.org/), something I wish every dev shop did.
It's really easy now, and it has more power, AND it gets you away from having to use JQuery Template!
Very cool stuff
Ironically I got more intrigued by "JSfiddle".
http://css-tricks.com/seriously-just-make-a-jsfiddle/
examples http://andrewwooldridge.com/blog/2011/03/16/stunning-examples-of-using-jsfiddle/ (including a Tower Defense game!)
Man, you gotta get back into client script dev, it's amazing what you can do now with the libraries available.
Heck just play with the examples on the KnockoutJS page :-B
Quote from: Mr. Analog on December 21, 2011, 02:17:00 PM
Man, you gotta get back into client script dev, it's amazing what you can do now with the libraries available.
Heck just play with the examples on the KnockoutJS page :-B
inorite?
seriously though, gonna be doing some hardcore JQuery stuff most likely, as we try to move into Oracle UCM might end up doing something like this guy's Chrome extension, or at least learn from it and other projects like it:
http://www.johnbrunswick.com/2011/05/e2-0-workbench-podcast-4-google-chrome-ucm-search-extension/
and maybe even eventually this kinda thing:
http://bluestudios.co.uk/blog/2011/01/blog-ucm-webdav-with-a-twist-lets-use-javascript-as-the-client-to-connect-to-webdav-ok-now-lets-port-that-to-android/
Do it! JQuery is remarkably fun to get into
If you want a quick getting started book check out jQuery: Novice to Ninja by Earle Castledine and Craig Sharkie
But of course there are tons of resources online to play with.
Try it, it's fun!