Setting up new VirtualHost for Symfony 1.4 project

0

This post shows an example how to setup apache2 virtual host for symfony 1.4 based project. Although there’s already an documented VirtualHost example on official Symfony website, I think that this virtualHost setup is more practical for development purposes. Read more…

Symfony form conditional validation with PostValidators

1

This post describes how to use Symfony postValidators to create conditional validation of the form.
In this example I’m checking for user_type variable that can be set to person or firm value. If variable user_type has value person, the form should have one set of required fields, and another set for value firm. Read more…