DevShed: Refactoring the MySQL Abstraction Class with the Active...

Courtesy PHPDeveloper.org  Wed, 04/08/2009 - 06:56

DevShed has the latest article in their tutorial series looking at the Active Record design pattern posted today.

This time they focus on a bit of refactoring to make their MySQL abstraction class a bit easier to use and work better.

As I stated in the end of the [previous] tutorial, however, some methods of this sample class implement redundant business logic, and as a consequence it's necessary to refactor them to fix this issue in a...


 

More related items

DevShed: Including Files Recursively with Loader...
DevShed continues their "loaders in applications" series with this fourth part, a look at including files recursively. This series uses a variety of code samples to teach you how to create...

DevShed: PHP Closures as View Helpers: Lazy-Loading...
In the second part of their look at using closures in PHP as view helpers, DevShed improves upon their original code by adding some additional classes and using them in the closures. The...

Storing Session Data In Cookies: Problems And...
Image via Wikipedia Back from my extended leave of absence, I’ll re-open the dusty cobwebbed depths of this blog to echo the sentiments of Paul Reinheimer in his recent article...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com