All examples use the same data model for consistency. There is a Person object and a City object. Person has many attributes, one of which, city, is a link to a city object.
Code is included with each example.
The examples below demonstrate how to use each widget, and how to bind the widget's data to a model object. For these examples, there are two shared instances, person and cities. Person is a WFObjectController object with its content set to a single person instance. Cities is a WFObjectController with its content set to a list of all cities. This is a typical setup for a PHOCOA web page.
Each example below is a different page of the same module. The module's shared setup source is here.
Some PHOCOA widgets also make use of the AJAX integration directly, making it very easy to add AJAX functionality to your app by adding only PHP functions.
This area includes additional UI kit capabilities that are more involved than simple widgets.