Knockout 2.0.0 Released

Started by Mr. Analog, December 21, 2011, 09:48:49 AM

Previous topic - Next topic

Mr. Analog

If you've heard me talk about KnockoutJS 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)
By Grabthar's Hammer

Thorin

Wow, this is really starting to look easy to use now.

Also, that blog post links to Semantic Versioning, something I wish every dev shop did.
Prayin' for a 20!

gcc thorin.c -pedantic -o Thorin
compile successful

Mr. Analog

It's really easy now, and it has more power, AND it gets you away from having to use JQuery Template!

Very cool stuff
By Grabthar's Hammer

Darren Dirt

_____________________

Strive for progress. Not perfection.
_____________________

Mr. Analog

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
By Grabthar's Hammer

Darren Dirt

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/
_____________________

Strive for progress. Not perfection.
_____________________

Mr. Analog

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!
By Grabthar's Hammer