Data access object: Difference between revisions

Content deleted Content added
Why not use Data Access Objects?: - removed unwarranted mention of Occam's Razor
Line 8:
 
== Why not use Data Access Objects? ==
Flexibility has a price. When adding DAOs to an application, the resultingadditional complexity due toof 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.