Tag Archives: php
Symfony Forms Framework: Merge 2 forms
Recently I had to create a form to create/update users in our system. Some time ago we decided to save are users in 2 tables. The first table would contain all login information and the second his personal information. This … Continue reading
Symfony Forms Framework: Change validators at runtime.
Let’s say you have to make a user form with password fields. When you create the user you want the password fields to be required, but on an update the password fields should be optional because you don’t want the … Continue reading
To reinforce our IT team, we are hiring a colleague (M/F)
As we are growing we are in need for a new junior developer to create and maintain websites. If you or someone you know is interested in this job feel free to contact us. The company is Step-@-Site and we … Continue reading
Storing multiple data in 1 database field with PHP serialize / unserialize
While the serialize/unserialize functions exists since the early PHP 4 version, I ignored its existence. I discovered it recently doing some research on how to store multiple data in 1 database field. Before continuing, keep in mind that it’s not … Continue reading
Symfony: How to refactor
Last year, my team and I, needed to create a new web application. We decided to make use of a well known PHP framework called Symfony. Not because some say this is the best framework, but because … It is … Continue reading
The helpful design patterns
The use of patterns in code being a good enhancement isn’t big news. But I discovered them recently and am very positive about it. It can, when understood, hugely increase your readability and is a nice problem solver for complicated … Continue reading