Zenphoto's object model framework Feb 22, 2010
This is a short tutorial about how to use Zenphoto's object
model framework that you for example can use to leave the
standard theme way described on the theming
tutorial or to do other custom stuff.
Before reading this you should be familiar with Zenphoto themes in general and having read the theming tutorial. Also you should have quite some PHP knowledge and an understanding about how object orientation works.
This is the general class structure:
- Gallery: The gallery itself
- PersistentObject: This is a very general and powerful abstract database persistence class. It defines types by table names and records by a set of unique fields (keys). To instantiate a new database based object in Zenphoto, all that's (...)