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 [[Occam's razor]], more 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 [[Data Transfer Object]]s (DTOs).
 
Especially performance critical applications may not want to use DAOs.