Quantcast
Viewing all articles
Browse latest Browse all 14

DevShed: Updating and Deleting Database Records with the Active Record Pattern

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.


Viewing all articles
Browse latest Browse all 14

Trending Articles