DI frameworks

Published 10/20/2008 by Dave in alt.net | dotNet

One thing I have been looking into in my free time is Dependancy Injection (DI). As I'm a little new to this area I wanted to read up on it and see what is the best framework (for me) to start doing this in.

What is it?

Designing For Change is a great presentation by Nate Kohari the author of Ninject. look through those slides an you will begin to get a good idea of how to code loosely.

So you are thinking in abstracts and interfaces, Plain Old Software Engineering (if you may) and want to know what is a great framework to code in.

There Seems to be a lot of Frameworks?

As you may have noticed there are quite a few frameworks out there. These are the ones that stood out to me (and by the looks of it everyone else)

So the next port of call is to find a great comparison

The DI Framework Comparison - Val la, this is a very well thought of comparison, an would help you all on which DI framework you would choose.

One Last thing.

OK, now we have an understanding of DI and the features in some of the frameworks, there is just one more thing. which one is Lightning fast?

How Expensive is it? Part 1, Part 2, - Great test on how long it takes to create an object.

Well I think i have made my mind up.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Here are some links for developer Joe, whom wants to get started in NHibernate.

Sites

Official site: Contains great reference material, read the Quick guide too.

Community: Wiki, Blogs and downloads. become a member today, and start adding to the KB.

Video Training, (Big thanks to Unhandled Exception) Excellent, 14 videos to get you started.

Fluent Nhibernate - write code instead of XML for your mapping files.

Tools

http://www.nconstruct.com/ - NConstruct Lite is free, so give it a go, Generate you classes and mapping files from your DB.

NH Prof - a Profiler, yep see what is going on, well worth your time!

Articles, publications:

Best Practices (has a basic example and then a Enterprise example), aimed at version 1.2, however extremely good. I like this as you have the sample project layout.

The foundations of programming ebook mentioned previously in this post. As it covers NHibernate and other patterns you will most likely use with it. Fantastic read.

 

If any one knows of any good material please add a comment linking to it. 

 

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5