
repository
Get flash to fully experience Pearltrees
In search of Wild Repository
Today I'm going to hack deep into the open source jungle to search for examples of wild repository. We'll be able to see the way that this species mutated into many divergent forms, and maybe learn some lessons about growing our own domestic repository on the way. There's a lot of discussion about what a repository should be. I'm just going to be looking at generic repositories in this post, but it's worth noting that many people have the opinion that such a thing should not be blessed with the name repository; saying that it is merely a generic DAO. I'll leave these semantic arguments for another day. As I was finishing this post, I came upon DDD Repositories in the wild: Colin Jack by Tobin Harris.new Repository<T>().DoMagic() - Karl Seguin
The purpose behind the repository pattern is to provide a layer of abstraction between your domain and data layer. For smaller projects, this typically isn’t needed. However, larger projects can really benefit from a broker that specifically handles the back and forth between the two layers.The Mostly Clean Coder - NHibernate
Lately, I've been playing with NHibernate and the Repository pattern - and struggling with it a bit.

