Tutorial

Refactoring Rails

Trotter Cashion, Motionbox

Date: Monday 17 September 2007
Time: 08:30 - 12:00
Location: Saal Maritim A

This tutorial will show how refactoring an application makes code less jumbled and allows features to be added more easily. Using a poorly factored sample application, we will attempt to add a REST API that has been requested by a hypothetical client. Though adding the feature seems difficult, we will refactor the application to properly use REST by implementing CRUD, respond_to, and to_xml. We will then add the API as requested by the client and show how regular refactoring during development can prevent larger refactorings from being necessary later.

News and Coverage