Flush when you are done

02. August 2020 Doctrine, Symfony 0
Timing. It’s all about timing. Using Doctrine as your ORM for example, starting a transaction and committing it to the database, the flush sequence, is one of the most costly operations in your application. Sadly, as a developer I know this trap all to well. Imagine writing some functionality where you have to modify some complex ...

Decision making forms: Part 2

11. April 2017 Form, Symfony 0
Last time, and yes, it has been a while, I talked about Creating decision making forms. In this post, I will continue where we left off. Most of the time you won’t need any dependencies when creating your form. But when you do, it will likely be a dependency which is available as a Symfony service object. ...

Creating decision making Forms

02. August 2016 Form, Symfony 0
Every web application you make, I make, your collegae makes, is in need of some input. For that input we use forms. What else. But we often get the question that parts of the form should be altered for different users with different access roles. Now, you can go and do this two different ways ...

Welcome

Hi all, Welcome to my blog! On this blog I will be talking about PHP challenges I encounter throughout the projects I am working on. Everyday we face challenges; In life, at home, at work but also in code. I am deliberately not referencing this as problems but as challenges, because challenges are there to ...