Knockout vs Zombies

815 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
815
On SlideShare
0
From Embeds
0
Number of Embeds
136
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Knockout vs Zombies

  1. 1. Knockout.js by Jiéverson Maissiat
  2. 2. Knockout vs Zombies by Jiéverson Maissiat
  3. 3. What? Javascript library that helps you to create rich, responsive and dynamic view with a clean data model
  4. 4. Why? Clean Code Intuitive Code ? Reducing complexity
  5. 5. Must to Know... data-bind attributes in HTML ko.observable() for the properties ko.applyBindings() to activating bindings
  6. 6. What is MVVM?
  7. 7. Binding <div data-bind=”text: message”></div> var viewmodel = { message: ko.observable(‘Hello World!’); }
  8. 8. Observable is a function! Don’t do this: viewmodel.message = ‘hi’; Do this: viewmodel.message(‘hi’);
  9. 9. Get and Set
  10. 10. Computed Binding
  11. 11. Code http://learn.knockoutjs.com
  12. 12. http://movieshowti.me
  13. 13. Thanks Jiéverson Maissiat Craftbox

×