public marks

PUBLIC MARKS from kasi77 with tags sfForm & symfony

13 May 2008 04:30

Login form in Symfony 1.1, with the new form system

Login form in Symfony 1.1, with the new form system Symfony 1.1 comes with a complete new form system. It works completely according to the MVC draft: * Model: the validation * View: the form self through widgets * Controller: the form class that the model and view parts manages and uses Make sure you have a running Symfony 1.1 based project and application and modules. In this example I build the form inside the myModule module and myLogin action. My form makes use of i18n, which is in my case autoloaded in settings.yml. This tutorial uses Symfony 1.1 beta4 and RC1.

kasi77's TAGS related to tag sfForm

code +   login +   snippets +   symfony +