April 2008 - Posts

Recently I am been following Rob Conery as he explores Test Driven Development using the ASP.NET MVC framework. Rob is using a style of development known as Test First Development or Red - Green - Refactor. The timing of these articles was actually nice as I was exploring the use of the MVC framework as a possible replacement technology for my companies current web site. This all motivated me to continue down a path that I had started a few years ago, but was never able to fully follow due to corporate limitations.

While following along, I noticed that Rob was using a bit of Domain Driven Design as well as a modified (I say a needed update) of the Repository pattern. I say modified because technically your concrete repository should return entities, not IQueryable objects. Personally I like how Rob has done this and agree with why he did it. A little while ago, I was having a conversation with a former co-worker about Robs work and he brought up Inversion of Control as well as Ayende's IRepository interface. To be honest, the conversation was a bit above my understanding at that time. Well in comes Twitter. Now step forward a week, after I have started building the never version of our site loosely based on the prinicals Rob has laid out. After just having more conversations about the new site design with my friend and him showing me the ins and outs of Windsor and how we would use it, I started looking further into IoC. After getting into a political debate with Nate Kohari, via Twitter, I noticed he had created an IoC project called Ninject.

So you ask, why should I look into Ninject while there are several others out there? XML-less configuration. One of the things I cannot stand is XML configuration files. It has been my experience that they can quickly become unwieldy and unmanageable very quickly. Most use their own syntax that is more often than not does not read well and you generally have to do a lot of XML nodes. I do not profess to know anything about the rest of the IoC projects, I do know when something will work for me better than others.

The scope of this blog post is really to make people aware of this project and hopefully with help it gather a few more follower. So please head on over to the Ninject web site and check it out.

 Sorry to those of you who have tried to contact me via email from the blog over the past several months. Apparently I forgot to update an email address. This has been corrected, so feel free to contact me.


Well Rob Conery is at it again. This time he is keeping us riveted to our chairs with his new MVC Storefront series. So far he has created 3 screencasts that can be found at:

ASP.NET MVC: Introducing The MVC Storefront Series

ASP.NET MVC: MVC Storefront, Part 2

ASP.NET MVC: MVC Storefront, Part 3

This looks like it is going to be a great series and already has me jonesin for more. I am a firm believer in TDD, but readily admit that I have never been able to do it in its purist form. Lord knows I have tried, but for whatever reason it never worked out. So not only are we getting to see this happen in almost real time, we are getting to learn several new things (at least new to me). So head on over and take a look. Each screencast is approx 10 minutes with the 3rd one being just shy of 15 minutes.

It is surprising that something as innocent as creating a screencast can cause an uproar. Not only did he get the normal praise for his work, but he was accosted  by several TDD purists as well as Frans Bouma. While some people might push this to the wayside and say "whatever", I think it shows the fragmentation that is occurring in the .NET world now days. While many of the purists were friendly in their comments pointing out areas where Rob needed to improve and why things are done a certain way, others chose to just outright flame him. WTH!!! When did it become "cool" to do a drive by commenting? Especially to someone like Rob. I am fortunate to know Rob and consider him a friend. I have never seen anything from Rob that warranted this type of behavior and I believe all the open source work he has done in the past and present show his commitment to the community.

The one comment that really got me was the one from Frans. I read Frans' blog consistently and maybe he is just ruffled from all the flame wars he has been involved in the past few months regarding Alt.Net, but I thought he was a tad harsh on Rob. It as if no one listened to Rob's opening statement about the project, that is was a LEARNING exercise, not the gospel. 

Well I for one cheer you Rob. You are a valuable asset to this community as a whole. There are many bloggers out there that have great posts and really help out. All of you that fall into this category deserve OUR gratitude. I cannot count how many times I have learned something new from a blog post. People like David Hayden, Phil Haack, Bill Simser, Ayende Rahien, Scott Guthrie, Kyle Baley, Jeffery Palermo, and countless others. So to you I raise my mug and say well done. You are the reasons we have a great community.

More Posts