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 

Also posted in brownfield, legacy code, patterns, practices, SOLID, TDD | 4 Comments

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 asynchronous, multi threading | 16 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 

Also posted in Fluent NHibernate, introduction, NHibernate | 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 

Also posted in How To, introduction, Mono, Mono Cecil, MSIL, Silverlight | 4 Comments

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 

Also posted in How To, misc | 17 Comments

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 

Also posted in How To, introduction, Mono, Mono Cecil, MSIL, Silverlight | 4 Comments

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 

| Comments Off

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 

| Comments Off

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 

| Comments Off

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 

Also posted in developer, hiring, job | 7 Comments