During the last weeks, I have been hard at work to create a new training that
has been asked for by many developers. Today, I am proud to finally add the
Symfony Forms Best Practices training to my catalog.
This training tries to answer the most fundamental questions about Symfony's
form component. I have met many developers that love the component and some who
hate it. But all of them had similar questions and doubts that cannot easily be
resolved even with the huge amount of documentation Symfony has to offer.
In the training, I apply techniques and methodologies that
have proven to be very successful in the past. One example is pair programming,
which massively helps both developers in the team: If you explain a concept to
your partner, you deepen your own understanding of that concept at the same time.
And if you have a very individual question, what you really need is someone who
takes the time to give you a proper explanation. That somebody could be your
partner. And then there's the trainer who ensures that both of you take away
from the training as much as you can.
Another technique that I use is team work. I split the class in teams who work
on separate tasks. These tasks can be solved both on the computer and on other
media, such as flipcharts. When all teams are finished, we combine and compare
their work and discuss the individual solutions. Standing up for a discussion
activates your brain and provides a refreshing change from sitting behind a
computer. It's no wonder that this technique has also been received very well.
Furthermore, work on the new Puli installer was started. The installer is
based on Composer's installer script and will help you with checking your system
for compatibility with Puli and downloading the latest puli.phar. The first
version of the installer works already and will soon be available on puli.io.
Jump to the installer repository if you want to help working on it.
Last but not least, DrupalCon Barcelona published a recording of my talk
Puli: PHP's Next Package Revolution. I was ill on the day of the conference,
so please bear with me if I couldn't give my best performance. However, I still
think it the presentation is interesting for those who couldn't see it live:
This Friday, October 9th 2015 at 17:00 GMT (19:00 CEST) we will do a Puli
Coding Night! This is the perfect opportunity for you to play with the project,
ask questions, discover a new perspective of PHP package development and to
If you are in Vienna (Austria) on that night, join us in our office! There
will be beer and music. Please let me know in advance if you'd like to come
Many times, Symfony developers wonder how to make a form work with value
objects. For example, think of a Money object with two fields $amount and
public function __construct($amount, $currency)
$this->amount = $amount;
$this->currency = $currency;
public function getAmount() // ...
public function getCurrency() // ...
Can you write a form type for this class without adding the methods
setAmount() and setCurrency()? In this post, I will show you how.