December 1st, 2010, 08:00 AM
Roll Your Own Repository in PHP: Data Mapper Finishing Touches
In this fourth tutorial of the series, I added three methods to the data mapper class. They will be used for saving and deleting the table rows related to a specified entity. With this parent class fully implementing the methods declared by the “DataMapperInterface” interface, it will be easy to create a refined subclass that can specifically map user objects.
Read the full article here: Roll Your Own Repository in PHP: Data Mapper Finishing Touches
For more discussion go here: Blog Article Discussion