1. Had the same problems with QuickForm once ago. What about encapsulating the complete form things?
(I don't know QuickForm very good anymore, just example code)
PHP Code:
interface Form
{
public function validate();
public function render();
}
class MyForm implements Form
{
private $form;
public function __construct()
{
$this->form = new HTML_QuickForm;
$this->form->addField('...');
}
public function validate()
{
$this->form->submit();
}
public function render()
{
$this->form->render();
}
}
Then you call MyForm::validate() from the controller and MyForm::render() from the view.
2. Propel with many many-to-many relations?
3. akrabat, your Symfony link is broken.
Bookmarks