KNOCKOUT.JS



AGENDA

AGENDA



what is KnockoutJs?

what problem does it solve?

AGENDA



what about backbone?

AGENDA



<demonstration />

What is...

Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model.

  • not a Microsoft product
  • open source
  • 15 kb min/gz
  • mainly focused on UI sync

WHAT IS...


four main functions

  • Declarative Bindings
  • Automatic UI Refresh
  • Dependency Tracking
  • Templating

WHAT IS...


not a SPA framework,
it's a tool that does a job
... and does it well.

SONIC  SCREWDRIVER!

But... Backbone!




  • solves a different problem
  • very little overlap with knockout
  • can be combined to make unicorns

<demonstration />




http://jsfiddle.net/amwmedia/LJtVN

(http://bit.ly/15i3yjp)

Knockback

Allows the binding of ui elements to
Backbone models using the Knockout
data-bind declaration. Creates 
nice platform for SPA development.













Andrew Worcester

Twitter: @amwmedia
Email: andrew_worcester@epam.com

Knockout.js

By Andrew Worcester