News Feed
Sections




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

DevShed:
Updating and Deleting Database Records with the Active Record Pattern
March 12, 2009 @ 09:35:02

DevShed has posted the next article in their Active Record series. This time it's a look at updating and deleting records from the database (the previous article was about selecting and inserting).

This pattern permits you to achieve a high level of abstraction when performing typical operations, such as insertions, updates and deletions of records, since all of these tasks are handled transparently by data mappers objects or a data access class. [...] Now, it's time to learn how to use the active record pattern for performing database updates and deletions in a few simple steps.

After reviewing the previous article, they add some new features onto the MySQL access class to let you update and remove data through a similar interface.

0 comments voice your opinion now!
update delete tutorial activerecord designpattern database mysql


blog comments powered by Disqus

Similar Posts

Pádraic Brady's Blog: XSS in PHP (Part 1): How Not to Use Htmlspecialchars

DevShed: Working with MySQL Result Sets and the Decorator Pattern in PHP

Cal Evans' Blog: How I got Zend_Tool working on Windows

Hasin Hayder's Blog: Using ActiveRecord Library Separately from CodeIgniter

HowTo Forge: How To Set Up A Facebook RSS Feed Reader


Community Events





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


framework introduction language bugfix series podcast tips threedevsandamaybe symfony list deployment laravel zendserver conference code interview community release api voicesoftheelephpant

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