Refactoring Techniques: Learning the Wrap Method

Published August 13th, 2009 Under Coding | Leave a Comment

In this episode we are going to take a look at a refactoring technique outlined in detail in working effectively with legacy code. We will walk though this technique and take a look at how it can help you to create better and more maintainable code.

http://www.dimecasts.net/Content/WatchEpisode/134

The Joys and Pains of a Long Lived Codebase

Published June 12th, 2009 Under Coding, Software Testing, TDD | Leave a Comment

Agile development practices and good Object Oriented Design principles are supposed to enable unending, gentle modification of an existing codebase. Is this really true, though? In the course of 5+ years developing and evolving an open source framework, I’ve learned a lot of painful lessons about the issues that retard code extensions and modifications. I’ve also learned a little bit about the design decisions that dramatically increased my ability to extend the code. In this talk I’ll show several instances of how failing to heed design fundamentals introduced code viscosity, and how some strategic refactorings opened up the flood gates for new functionality.

Undoubtedly, the practice of Test Driven Development directly supports your ability to modify a system, but I found out the hard way that there are also plenty of ways to do it wrong. I’ll share examples of high friction TDD and the changes in strategy I employed to reduce that friction to wring more value out of TDD. The programming languages we use for .Net development have changed dramatically in 5 years. We can apply the new language features in C# 3.0 to improve the readability and structure of both our code and the way that we express unit test specifications. Lastly, I’ll discuss our changing expectations on framework usability and the resulting impact on design.

http://www.infoq.com/presentations/Lessons-Learned-Jeremy-Miller

Refactoring Unit Tests Part 2 Using Object Builder Pattern

Published June 4th, 2009 Under Software Testing | Leave a Comment

In this screencast we will demonstrate how to use the Object Builder pattern to create and setup objects for tests. In the first part we discussed how to introduce the base class for the unit tests to improve readability and cleanness of code.

http://highoncoding.com/Articles/443_Refactoring_Unit_Tests_Part_2_Using_Object_Builder_Pattern.aspx

Refactoring Unit Tests Part 1

Published June 4th, 2009 Under Software Testing | Leave a Comment

In this screencast we will refactor unit tests to make it more readable. It is very important that you refactor your unit tests. Unit test code is not part of the production but refactoring them can help you in the long run and will provide benefits when maintaining the application.

http://highoncoding.com/Articles/442_Refactoring_Unit_Tests_Part_1.aspx

The Great Rails Refactor

Published May 25th, 2009 Under Coding | Leave a Comment

In this talk, Yehuda Katz goes deeper, explaining some of the details of the work. He explains how Rails is becoming ORM agnostic, with code samples of work done so far. He shows some of the more significant performance enhancements, and explains why they increased the performance of the framework. Finally, he goes into some of the more interesting refactoring experiences of the transition.

Refactoring Databases: Evolutionary Database Design

Published March 9th, 2009 Under Uncategorized | Leave a Comment

For years the norm for developers was to work in an iterative and incremental manner but for database developers to work in a more serial manner. The predominance of evolutionary development methods make it clear that the two groups need to work in the same manner to be productive as a team. Pramod presents material from “Refactoring Databases ” on implementing evolutionary database development.

http://www.infoq.com/presentations/refactoring-databases

Additional resources

Pramod Sadalage Blog

Database Refactoring Web Site

Behavior Driven Database Development (BDDD)

Debt Metaphor

Published February 26th, 2009 Under Coding | Leave a Comment

Ward Cunningham reflects on the history, motivation and common misunderstanding of the “debt metaphor” as motivation for refactoring.

Ben Hall – Red, Green, Refactor

Published December 1st, 2008 Under Coding, Software Testing, TDD | Leave a Comment

Starting to unit test your first project is difficult, where to start? What to test? How do you even get started? In this session, Ben starts from scratch and implements an ASP.net 2.0 application using test driven development techniques. The application will have to deal with real world situations such as databases, web services and even some users! Ben will demonstrate how to design the application for testability and how unit testing and mock frameworks can make your life easier and your tests less fragile. At the end, will the tests go green?

LiquiBase Short Overview

Published December 1st, 2008 Under Uncategorized | Leave a Comment

LiquiBase is an LGPL Java-based library for managing and applying database changes and refactorings. This is a short overview of how LiquiBase works and some of its capabilities. For more information, see http://www.liquibase.org

Description of LiquiBase with a demonstration of its features

Published December 1st, 2008 Under Uncategorized | Leave a Comment

LiquiBase is an LGPL Java-based library for managing and applying database changes and refactorings. This session describes how LiquiBase works and demonstrates some of its capabilities. For more information, see http://www.liquibase.org

« go backkeep looking »