Kwf_Model is an ORM (Object-relational mapping) implementation used in Koala Framework.

It's unique feature is that it can be used to access various data sources using the same API.


The API is inspired by Zend_Db_Table - and Zend_Db_Table is actually used behind the scenes by Kwf_Model_Db.

Model Types

Data access

These Models provide access underlaying data using various techniques.


These models add additional features to other models by using the proxy pattern.

Another common use case is to implement some logic in a Model_Proxy inherited Model and be able to use Model_Db or alternatively - for unit tests - Model_FnF.