By piccoloprincipe
via giorgiosironi.blogspot.com
Published: Oct 30 2009 / 05:55
A Repository is a Domain-Driven Design concept but it is also a standalone pattern. Repositories are an important part of the domain layer and deal with the encapsulation of objects persistence and reconstitution.
A Repository implementation provides the illusion of having an in-memory collection available, where all the objects of a certain class are kept. Actually, the Repository implementation has dependencies on a database or filesystem where thousands of entities are saved as it would be impractical to maintain all the data in the main memory of the machine which runs the application.
Add your comment
Voters For This Link (12)
-
piccoloprincipe -
emberjohn -
mswatcher -
mahak906 -
eburhan.myopenid.com -
michele.mauro -
smashingshare -
raj140 -
gobvig -
pashimito -
phpfreak -
jakyra