Data access object: Difference between revisions

Content deleted Content added
Line 8:
 
== Why not use Data Access Objects? ==
Flexibility has a price. Adding DAOs to an application hurts not only Ocam[[Occam's razor.]], Moremore complexity due to using another persistence layer increases the amount of code executed during runtime. Configuration of persistence layers requires in most cases more work than writing a direct persistencifier that accepts DTOs.
 
Especially performance critical applications may not want to use DAOs.