Thank you very much for those links :)
Maximiliano Aguilera Adasme, Aug 09, 2010
Just a suggestion.
Search out Domain Driven Design (DDD).
The Repository is the kind of the foundation for DDD.
You can use this at various levels of the application.
Some Suggested links from muy bookmarks...
Ronald Garlit, Aug 08, 2010