refactoring episodes

#10
Mar 26

Refactoring User Name Part 1

Learn how to clean up your code through refactoring. This episode will show you how to move code from the view into the model to remove duplication and simplify the view.
Tags: refactoring
Download (11.8 MB, 5:44)
alternative download for iPod & Apple TV (7.8 MB, 5:44)
#11
Mar 28

Refactoring User Name Part 2

Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure you don't change the behavior while you are improving the code.
Download (13.1 MB, 6:34)
alternative download for iPod & Apple TV (9 MB, 6:34)
#12
Mar 30

Refactoring User Name Part 3

In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.
Download (9.8 MB, 4:03)
alternative download for iPod & Apple TV (6.4 MB, 4:03)
#30
May 11

Pretty Page Title

If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to your pages.
Download (15.1 MB, 5:16)
alternative download for iPod & Apple TV (7.6 MB, 5:16)
#55
Jul 09

Cleaning Up the View

This episode starts off with a big, messy template. Watch as this code shrinks and becomes more readable while the interface stays the same.
Download (27.2 MB, 9:26)
alternative download for iPod & Apple TV (14.8 MB, 9:26)
#91
Feb 04

Refactoring Long Methods

In this episode I walk you through an exercise in refactoring by taking a long method and making it more concise.
Download (12.9 MB, 7:29)
alternative download for iPod & Apple TV (9.7 MB, 7:29)
#99
Mar 31

Complex Partials

How do you handle partials which have differences depending on the action which is rendering them? Here's three suggestions for this problem.
Download (14.7 MB, 8:56)
alternative download for iPod & Apple TV (11.5 MB, 8:56)
#101
Apr 14

Refactoring Out Helper Object

If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode.
Download (17.4 MB, 7:25)
alternative download for iPod & Apple TV (10.7 MB, 7:25)
#103
Apr 28

Site Wide Announcements

Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode.
Download (21.5 MB, 13:30)
alternative download for iPod & Apple TV (16.2 MB, 13:30)
subscribe:
sponsored by:
if you want to help:
required:
Get Quicktime Player