Federico Cargnelutti’s Blog: Zend Framework DAL DAOs and DataMappers

Zend Framework’s MVC pattern implementation is often criticized for models not being model as definition says. Zend Framework Team even does not pretend that framework has models, although suggests using Zend_Db component classes as simple and dirty replacement. It does not mean that community can’t do anything about it.

In his latest post Federico Cargnelutti shows how DAO, DAL and Data Mappers can be implemented in Zend Framework. He explains purpose of DAO, DAL and Data Mappers, proposes directory structure for it shows example implementation of all the classes.

His approach is very interesting and ready to use. Who knows, maybe it will be a sparkle for new component proposal, the model.