News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
The Active Record Pattern
December 22, 2005 @ 11:12:12

DevShed has posted a chapter from Jason Sweat's book "php|architect's Guide to PHP Design Patterns" today, focusing on the Active Record pattern.

The design patterns you've seen so far greatly improve the readability and maintainability of script internals; however, none have confronted a fundamental requirement and challenge of architecting and developing web applications: connecting to a database. This chapter and the next two chapters-Table Data Gateway and Data Mapper-provide three design patterns that better organize how your application interacts with a database.

This pattern allows you to treat database connections (abstracted, of course) the same no matter what's behind them because their interface is handled through objects. In this tutorial, they use the ADOdb libraries to accomplish this...

0 comments voice your opinion now!
activerecord pattern book jason sweat activerecord pattern book jason sweat


blog comments powered by Disqus

Similar Posts

Gergely Hodicska's Blog: What is new in PHP 5.3 - part 2: late static binding

Padraic Brady's Blog: The Art Of Deception Or Publishing PHP6 Books

Zend Developer Zone: Observer pattern in PHP

Ken Guest's Blog: Book Review: Learning Facebook Application Development

SitePoint.com: Sneak Peek at Kevin Yank's New Book 'PHP & MYSQL: Novice to Ninja'


Community Events

Don't see your event here?
Let us know!


podcast framework community api language conference version voicesoftheelephpant unittest php7 laravel series library laravel5 interview opinion introduction extension example release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework