linusnorton/xFrame — pull request #3 by h1ppo (2012-03-09 15:36:29+00:00)
Title: JSONView

Thinking of APIs in particular. You can add things to the view in the controller by doing:

$this->view->addParameter("person", $personObj);
$this->view->addParameter("place", $placeObj);

... etc. and you'll get

{
"person":
...,
"place":
...
}