Shawn McCool

BDD / DDD Discussion

with concrete examples

I was invited by Adam Wathan to discuss BDD / DDD on his podcast Full Stack Radio. I think that he did a tremendous job producing the show and I enjoyed discussing how I perceive both BDD and DDD as well as having the opportunity to share concrete examples of optimizing for business value.

Listen here on Full Stack Radio

Read More

January 20, 2015

The Repository Pattern

Basics and clarification

"Repository commonly refers to a storage location, often for safety or preservation." - Wikipedia

This is how Wikipedia describes a repository. It just so happens that unlike some other jargon that we deal with, this fits perfectly. A repository represents the concept of a storage collection for a specific type of entity.

Repository . . .

Read More

January 09, 2015

Command Bus

An overview of implementation, advantages, and challenges.

There has been a lot of talk about the concept of the command bus lately and I discovered that Laravel 5 is likely to ship with a command bus implementation. So, I want to take a moment and discuss this topic as I've been using it well over a year now in many projects both green and brown.

At the bottom of this post there are a number of . . .

Read More

December 27, 2014

Domain-Driven Design

How to get started

Ward Cunningham said of the book Domain-Driven Design, "If you don't think you are getting value from your investment in object-oriented programming, this book will tell you what you've forgotten to do."

My experiences directly relate to this observation. It is DDD that is giving me insight into improving my object-oriented . . .

Read More

July 21, 2014