Back to list
Views:   13.8K
Replies:  2
Archived
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
Reply 1
Yes, thanks for your answer.
Amr Elgarhy, Mar 29, 2010
Reply 2
Hey Amr:

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:

GetList<Customer>
Get<Customer>
Insert<Customer>
Update<Customer>

etc.

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.

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
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas