Blog Topics
Blog Tags
Donate Now

Entries in mappers (1)

Saturday
Jan082011

Creating Models in Zend Framework

While working on various projects using the popular Model-View-Controller (MVC) Zend Framework, I had to rapidly build several models that had 1-to-1 mappings to underlying data sources (such as a database). While Zend Framework offers specialty Controllers and Views, its definition of Models is left very open. My approach is similar the approach that is now part of the Zend Framework Quickstart Guide. The guide details an example of using SQLite to create a guestbook. In this tutorial, I will show you how to abstract a generic model toolset so that creating new models takes only seconds.

Click to read more ...