What's new in Agile Toolkit (February 2011)?
Development Changes - February 2011
February 27thAdded <?$_page?> tag
added <?$_page?> tagAPIs template (shared.html) will now properly change _page tag. It will be set to the name of the page you are opening. This is done to help designers define custom layouts on per-page basis inside global CSS.
February 26thAdded setModel()
Using $view->setModel() is a new best way to use models with generic controller. Previously you needd to define controller for each model. This resulted in many controllers being created with no logic at all. Using setModel() allows bypassing the need for a separate model, but also uses array in 2nd argument to specify list of actual fields.
$f->setModel('Employee',array('name','salary'));
New Objects P, H1, H2, etc
Agile Toolkit now contains many classes which should help you building mark-up faster. We still recommend you to use Templates where possible, but it's better to use:
$p->add('H1')->set('Hello there');
$p->add('Text')->set('<h1>Hello there</h1>');
