|
|
|
|
|
by gamache
3433 days ago
|
|
It's a shame so many people think of the Data Access Object design pattern as something only Java developers should be using. Using DAOs to provide database-agnostic access to your data takes a few moments more at first, but then when you need to move data from $DB_X to $DB_Y, there's a lot less wailing and gnashing of teeth. Mediocre link on the topic: https://en.wikipedia.org/wiki/Data_access_object |
|
I'm in favor of DAOs and use them myself but they don't have anything to do with what I was talking about.