Appendix A. Using PHOCOA With Propel

PHOCOA is designed to use Propel as an analog for Core Data. By making a 1-line change to the Propel code, your Propel objects will automatically be Key-Value Coding compliant, making it very simple to make your PHOCOA application interact with Propel.

To update your Propel to work with Phocoa, simply edit the propel/om/BaseObject.php file to make the Propel BaseObject a subclass of the PHOCOA WFObject base class:

abstract class BaseObject extends WFObject {
That's it! Your Propel install is now fully compatible with PHOCOA to act as the data store for your objects.