Why does DoFactory not reference the Repository pattern on their site?
I searched for the Repository pattern on the DoFactory website, but could not find a reference to this pattern. I wonder why something like this is not mentioned on this great website?
Am I missing something?
Amr Elgarhy, Mar 28, 2010
Yes, thanks for your answer.
Amr Elgarhy, Mar 29, 2010
The DoFactory website documents the Gang of Four Design Patterns. There are 23 of these patterns and they have been around for quite a while (15 years or so). Over the last decade many more Design Pattern have been 'discovered' and documented. One of which is the Repository Pattern.
The Repository Pattern is typically used to provide a standard CRUD (Create Read Update, Delete) interface to the Service Layer. It will have methods like:
BTW: the Design Pattern Framework does not include the Repository Pattern either. They use a different model, i.e. a high-level Request / Response model that can be exposed as a webservice.
Anyhow, I hope this answers your question.
Dan McMillan, Mar 29, 2010
You're right. It is not related to Windows or Web Programming specifically. Lazy loading is useful in any kind of environment.
Mar 19, 2010