Note: All the articles are now up to date as of this article.
This article is a follow up to the series "7 Days of Symfony Forms". You can find the first article of that series here: http://www.thatsquality.com/symfony/7-days-of-symfony-1-1-forms-widgets-and-validators-day1
Keeping up with Symfony
The new Form framework is... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
In part1 of this article, we set up a very simple form that allowed us to approve an article by checking a box. What we were really after, however, is the ability to list all of our articles on the same screen, and approve several at once.
To do this, I instantly thought to use a new feature that I haven't yet explained. The... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
Note: This article is written as a followup to the series of articles written on this site called "7 Days of Symfony 1.1 - Forms, Widgets and Validators". One of my regrets on that series is not covering topics related to customization and flexibility of your form in the view template.
If you've read my series on the... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
After 6 days, we've made several forms, handled their processing, and investigated nearly all the widgets and validators. Today we turn our focus to a silent, but important, aspect of the forms: the decorator.
The job of the decorator is simple: To format the labels and form elements. Let's imagine our form without them. Imagine... [read on]