According to Martin Fowler, who coined the term, this pattern is an ‘Anti-Pattern’, and it’s “contrary to the basic idea of Object Oriented design”. I’m not an Engineer (although I’m sure my parents wish I was), but engineering is about picking the best approach to solve the problem. The fact of the matter is, dependingContinue reading “In Defense of The Anemic Data Model”
Author Archives: mvpete
The Adventures of Dependency Injection and Inversion of Control.
I like to think my first words were ‘std::cout << “Hello World” << std::endl;’. The canonical C++ Hello World program. But alas, they weren’t. I cut my teeth on QBasic (Quick Beginners All purpose Symbolic Instruction Code, not to be confused with QuickBASIC). I did my time in QBasic, writing ‘viruses’ that would show downloadContinue reading “The Adventures of Dependency Injection and Inversion of Control.”
The Wedding Cake Architecture
First, let me start by stating that I’m not claiming to have invented this. Not even close. I ‘borrowed’ the idea, from “Uncle Bob”. Interestingly enough, I stumbled upon it (kinda), before I ever read about it. Here’s the story. I had had my doubts about frameworks and ORMs like Entity Framework for some time.Continue reading “The Wedding Cake Architecture”