The question of persistence implementation arise often. I found repository 
pattern very valuable due to separation of concerns, mediate between domain 
model and data source (mock, file, database, web service, etc).

The database data source is somewhat specific since you can proceed with SQL 
functions or ORM. Here are some thoughts why you might prefer SQL functions 
over ORM in your next project:

http://mindref.blogspot.com/2013/02/sql-vs-orm.html

Comments or suggestions are welcome.

Thanks.

Andriy Kornatskyy                                         
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to