MVC Storefront Part 25: Getting Started With Domain-Driven Design

I don't like the complexity that's crept into my application. Not sure how else to put it - but the architecture needs to be shaken a bit so in this episode I tackle this complexity head on using DDD.

I don’t like the complexity that’s crept into my application. Not sure how else to put it – but the architecture needs to be shaken a bit so in this episode I tackle this complexity head on using DDD.

The Zen of Smell
You can’t really define it when your app starts to smell – and I really hate that term! But it really applies to what I’m encountering right now as I begin to not only wrap up what I’m doing, but also demo it. People have questions, things aren’t apparent. Zen circleI have answers to many of the architectural decisions but when I explain how they are carried out, I realize that I’ve just run over some potholes.

In short: I could have done better.

Continuous Learning
That’s what this is really all about: we never stop learning and there’s always some refinement to be made. Yes I realize this can be a vicious cycle of never-delivery, but I’m also confident that the pursuit is always worth it. In this case, I’m relying on my 20 years of coding and development to elbow me in the ribs and suggest to me that “I can do better”. 

I can make this application better, faster, stronger than before.

I don’t want to give in just yet and thankfully my new boss is a rockin super star and is letting me further explore this (seriously – send this man some love for letting me experiment).

There is gold in these hills. The journey I’ve set out on has already transformed the way I do things forever and all I hope and pray is that I am able to inject this goodness into the Storefront.

Your Patience, As Always, Is Appreciated
To me, the payoff of this entire effort has been the journey itself. .NET has matured to major rev 3 and with it we have a great toolset (Linq, Anonymous types, MVC, etc). It’s sort of like wandering around [Killer Video Game], realizing you’ve leveled up and have unlocked The Next Great Zone.

Exploration is in order, the testing of new powers, the downing of bigger bosses, etc.

I can see the finish line – feature-wise there is no more to do. Right now it’s all about honing and refactoring so sit back and watch Part 1 of a 3-part process, as I take on the “drift” in the Storefront and try to apply some Zen to the madness.

The Source
I’m working very hard to synch up everything I’m working on now, and it changes (literally) hourly. I just ask your patience as I get things put together and structured properly. This is not a quick affair, but something that takes time and discipline and I don’t want to short-change it. I really think it will be worth it.

Download Episode 25 It Here (42 Minutes, 62Mb)

Double-click for full screen