The Data Access Object Pattern

January 11th, 2006

PHP database abstraction? I use ADOdb. Is it enough? NO.

Why?

When dealing with web applications, it’s important to separate your application logic and underlying database. It simpler terms, mixing your input, output, and logic, all together, creates a mess to maintain and extend. There are excellent thoeries about separating your design, logic, and data, and here is one EXCELLENT article about “The Way of The DAO“.

http://www.phppatterns.com/docs/design/data_access_object_pattern_more_widgets

Great article! Excellent code examples, and it was just a pleasure reading it. Recommended!

Web, PHP, Database, DB Access Patterns | Comments | Trackback Jump to the top of this page

Comments are closed.

Just Organizing My Head

Meta