Archive for the ‘Data Access’ category

What would you say if I wanted to write my own… OR/M / IoC / Web Framework / Etc ?

July 2, 2007

 

Occasionally I get asked this question, and the answer I give is usually along the lines of: Why?

This is not a mocking question ( 🙂  ), it is the criteria that I use to answer this question.

  • Are you doing it because you want to and it is fun?
  • Are you doing that to solve your own problems, and you decided that you will get better return of investment by building your own custom thing?
  • Are you doing it to solve a specific problem, without an off-the-shelf solution?

If it is any of the above, I would tell you to:

  • Have fun,
  • But look at the existing stuff first, see what the reasons for this is.

If it is something along the lines of:

  • Building it seems simpler than investing the time in learning how to use existing stuff
  • You have a policy of From-Vendor-XYZ-Or-Built-In-House
  • You need new challenges and haven’t written a framework in a week or two

Then you really want to consider this twice or thrice.

I once had a client reject NHibernate and ask me to build their own custom OR/M implementation, because it didn’t come from Microsoft, and they had a policy that all their stuff is either Microsoft or their own. NIH in its purest form. After showing some metrics about cost, supportability and bus factors, I have been able to convince them that this is not a really good idea, and they have been using NHibernate with great success for the last two years.

Jimmy Nilsson has some more thoughts about this subject.

What would you say if I wanted to write my own… OR/M / IoC / Web Framework / Etc ?

O/R Mapping Smackdown

May 27, 2007

http://weblogs.asp.net/rosherove/archive/2007/05/26/or-m-smackdown-ayende-vs-ted-neward.aspx

Video debate of SProcs vs O/R mapping.

 

Comments on Ayende’s Blog are interesting. Frans posts.

LINQ 2.0

May 18, 2007

Interesting post by Erik Meijer on the future of LINQ. I found the insight to the mathematical theory behind LINQ particularly interesting (sometimes it’s hard to find out the details of the basis behind technologies so this is good to know).

It’s about where LINQ is now and where it might be going.

http://2007.xtech.org/public/schedule/paper/60