Category Archives: PTOM

PTOM – Brownfield development – Making your dependencies explicit

Introducing DI and “poor man’s DI” Introduction Greenfield Development happens when you start a brand new project, as in, clean slate development. No legacy code lying around, no old development to maintain. You’re starting afresh, from scratch, from a blank … Continue reading 


Pablo’s Topic of the Month – May 2009 Edition

Have you ever read a blog post about TDD, Dependency Injection, or some other concept and thought, “Sounds great . . . if you work in an ivory tower, but I have to work with [insert your code-base here].”?  Or … Continue reading 

Also posted in Brownfield, Programming | 2 Comments

PTOM: Bend 3rd Party Libraries to Your Will With the Adapter Pattern

No matter what you do or where you work, there will always be the 3rd party library that your manager insists you use (you know, the one whose agreement was made on the golf course), or that old legacy code … Continue reading 

| 1 Comment

PTOM: The Composite Design Pattern

The Composite Design Pattern This post talks about the Composite Design Pattern and is part of Pablo’s Topic of the Month – November: Design Patterns. A Composite is a tree structure where each node can be represented as a common … Continue reading 

| 1 Comment

Pablo’s Topic of the Month – November: Design Patterns

Pablo’s Topic of the Month – November: Design Patterns Back in April, we announced we would be doing a PTOM on Design Patterns. It turned out that April was a busy month for all of us and we didn’t live … Continue reading 

| 1 Comment

Pablo’s Topic of the Month – April: Design Patterns

Pablo’s Topic of the Month – April: Design Patterns Over the next few days and weeks, the Los Techies crew will be writing a number of blog posts focused a particular subject in addition to their regular blogging.  Pablo’s Topic … Continue reading 

| 1 Comment

PTOM: The Dependency Inversion Principle

The Dependency Inversion Principle, the last of the Uncle Bob “SOLID” object-oriented design principles, can be thought of the natural progression of the Liskov Substitution Principle, the Open Closed Principle and even the Single Responsibility Principle.  This post is the … Continue reading 


PTOM: OCP revisited in Ruby

I was playing with some Ruby code this weekend and thought I would show some OCP with Ruby. For more of an in-depth discussion on OCP please read my previous post. Now the first thing I want to point out … Continue reading 


PTOM: The Open Closed Principle

The open closed principle is one of the oldest principles of Object Oriented Design. I won’t bore you with the history since you can find countless articles out on the net. But if you want a really comprehensive read please … Continue reading 


PTOM: The Single Responsibility Principle

After Chad and Ray I followed suit as well and am doing Pablo’s Topic of the month post on the Single Responsibility Principle or SRP for short. In SRP a reason to change is defined as a responsibility, therefore SRP … Continue reading