Play by Play: Knockout Refactoring
Pluralsight
Course Summary
Ryan Niemeyer (a Knockout team member) helps Rob Conery refactor his Knockout Shopping Cart project. The code for this course is available at http://github.com/tekpub/knockout-cart.
-
+
Course Description
In this single-episode production we're joined by Ryan Niemeyer, a core maintainer on the KnockoutJS project, who is going to help us refactor the code for the Knockout Cart that we put together for a previous episode here at Tekpub. The cart works well for us - it powers our Gifts and Groups page - but it could be cleaned up a bit to be a bit more "idiomatic" in the Knockout way. If you work with Knockout, this production is a must-watch. The code for this course is available at http://github.com/tekpub/knockout-cart.
-
+
Course Syllabus
Introduction- 2m 10s
—Introduction 2m 10sRefactor Session- 1h 6m
—Cleaning up the ViewModel with Custom Bindings 9m 15s
—Removing Calculations from the DOM 5m 20s
—Working with Observable List Items 15m 21s
—Subscribing to List Item Events 12m 32s
—Implementing Dirty Tracking 7m 42s
—Better DOM Integration with Binding Handlers 11m 25s
—General Good Habits 4m 48s