Play by Play: Knockout Refactoring

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 info
Rating
(85)
Level
Intermediate
Updated
Feb 21, 2013
Duration
1h 8m
Table of contents
Description
Course info
Rating
(85)
Level
Intermediate
Updated
Feb 21, 2013
Duration
1h 8m
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.

About the author
About the author

Ryan Niemeyer has over 14 years of experience in the software industry working with primarily web-based technologies. He loves JavaScript, participating in the open source community, and trying to learn new things everyday.

About the author

Rob Conery co-founded Tekpub and created This Developer's Life. He is an author, speaker, and sometimes a little bit opinionated.

More from the author
Electron Playbook
Intermediate
1h 38m
Mar 2, 2016
On Polyglot Programming
Intermediate
1h 7m
Jan 22, 2016
More courses by Rob Conery
Section Introduction Transcripts
Section Introduction Transcripts

Introduction
[Autogenerated] I'm Rob Connery and welcome to play by play here at Portal site. Our play by Play productions put you in a chair right next to an expert in the field so you can see how they get their work done when confronted with a singular problem or task. These productions air free form an uncut, and we try not to spend much time on explanations. We go full throttle to get the problem solved. The goal of these courses is for you to see how experienced coders solve problems, tools they use and how they think about software development. This differs from a typical, more structured course of parasite, but we think you'll enjoy the less structured, more informal setting. This material can be relatively advanced at times, and we may not slow down to explain ourselves. So I encourage you to stop and re watch the video. If you find yourself getting lost in this video, Ryan Niemeyer joins us to help her factor some JavaScript code that I recently put together for tech pub dot com and then open sourced. It's a shopping cart powered by knockout. She s I feel comfortable using knockout and have really grown to love its simplicity. There are many features that I didn't know about, however, that could have improved the code I wrote for the shopping cart. In addition, as with most coding efforts, I was under the gun to get something working. So there were more than a few things that could be cleaned up. And Ryan Niemeyer's stepped right up to help out Ryan is that developer that every open source project dreams of having someone who's smart, thoughtful, thorough and passionate. He's emerged as one of the primary forces behind knockout Js and will always step up to help those who might need it. Case in point. Look at this email he sent me with feedback about our initial release of the knockout cart. I have never seen such detail and thought put into a feedback email from anyone ever. So I immediately asked Ryan to join me for a pair of coding session for Tech pub. He agreed, and here we are. In this video, you'll see some whip crack re factoring of JavaScript code from someone who knows the language very well and is also a core contributor to the knockout project. Personally, I love making tutorials like this is they're both informative and pragmatic, so let's get to it