PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

DataModeler: Simple ORM - Part 2 Saving Models

Note: This article was originally published at Zend Developer Zone on 22 September 2010.
Zend Developer Zone
DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In DataModeler Part 1, I described building a basic Model. In this article, I'll cover saving a Model to a datastore.