Monthly Archives: October 2008

Finding Design Smells In Non-Design Related Places

In my last post, I talked about the idea of encapsulation and using it to ensure that our business rules were enforced correctly. What I didn’t talk about, though, was the second half of the conversation that my coworker and … Continue reading 

Posted in Analysis and Design, Data Access, Design Patterns, Domain Driven Design, NHibernate, Principles and Patterns, Refactoring | 6 Comments

Encapsulation: Entities, Collections And Business Rules

Yesterday, I was involved two very separate yet very related conversations. One was via twitter with Colin Jack and Jimmy Bogard (which I was only a partial contributor to – mostly just reading their conversation) and another after work with … Continue reading 

Posted in .NET, Analysis and Design, Design Patterns, Domain Driven Design, Model-View-Presenter, Principles and Patterns, Refactoring | 6 Comments

Dependency Inversion: ‘Abstraction’ Does Not Mean ‘Interface’

A coworker recently asked if we should always abstract every object into an interface in order to fulfill the Dependency Inversion Principle (DIP). The question stunned me at first, honestly. I knew in my head that this was a bad … Continue reading 

Posted in .NET, Agile, Analysis and Design, Domain Driven Design, Lambda Expressions, Philosophy of Software, Principles and Patterns, Refactoring | 6 Comments

DDD Question: Where does required info validation belong for an Entity?

Let’s say I have a small hierarchy of object: Faults and Parts. A Fault can contain many parts, and a part has no meaning without being associated to a Fault. To ensure that I have no Parts without a parent … Continue reading 

Posted in .NET, Analysis and Design, Design Patterns, Domain Driven Design, Model-View-Presenter | 19 Comments

Thanks ADNUG attendees! Slides and code available.

I had a lot of fun giving my SOLID Principles presentation at the Austin .NET User Group last night. It was a pleasure and an honor to be able to give back to the community that has supported me for … Continue reading 

Posted in .NET, Community, Principles and Patterns | 5 Comments

What’s The Point Of Delegates In .NET?

A coworker just asked me this question – what’s the point of delegates in .NET? My answer was very short and one that he had not found online: to delay execution of a method. Consider this: if you pass a … Continue reading 

Posted in Uncategorized | 4 Comments

I’m Presenting @ ADNUG, Monday the 13th.

FYI – I’ll be giving my S.O.L.I.D. Software Principles presentation at the Austin .NET User Group on Monday the 13th. This is the same presentation that I gave at Pablo’s Day(s) of TDD last weekend, except I’ll have the missing … Continue reading 

Posted in .NET, Analysis and Design, Community, Principles and Patterns | Leave a comment

DI and IoC: Creating And Working With A Cloud Of Objects

A few months ago, I posted some thoughts and questions on the proper use of Inversion of Control (IoC) containers and the Dependency Inversion (DI) principle. Since then, I’ve had the opportunity to do some additional study and teaching of … Continue reading 

Posted in .NET, Analysis and Design, Design Patterns, Principles and Patterns, Refactoring, Unit Testing | 6 Comments

Obligatory "Hello World" Post!

Hola and (Insert standard “hello world” content, here). Some of you may know me from my previous blogging effort over at AvocadoSoftware.com, or my more recent efforts at DerickBailey.com. I’ll be continuing to post over at DerickBailey.com, where you can … Continue reading 

Posted in Uncategorized | 2 Comments