Cristian Pana - blog

Cristian Pana - personal blog on software development, PHP, Symfony Framework, web technologies.

Thursday, July 21, 2016

Using the Symfony Validator component as a standalone library

›
Sometimes I need to build some scripts without using a full framework like Symfony. The good news is that you can use individual components ...
Tuesday, July 12, 2016

Symfony/Sonata ACL - search for the object owner

›
Lately I am wrestling with the ACL in a project using Symfony with Sonata Admin Bundle and Sonata User Bundle. When editing objects from the...
Friday, July 1, 2016

Symfony DIC: setter injection

›
Most of the time, when defining a service I inject into constructor parameters or other services. But it is possible to use the Symfony DIC ...
Tuesday, June 28, 2016

Vagrant and ScotchBox

›
Developing on local machine brings problems like: -  different software version on local machine than production(PHP, MySQL etc) -  if you...
Monday, June 13, 2016

Symfony - How to apply validation based on user input using validation groups

›
In Symfony applications validation constraints are applied to the Entity and not to the Form. In some cases, however, you'll need to val...
Tuesday, May 24, 2016

Explaining Mediator pattern to myself

›
NOTE: This is how I understand  this concept now, it may not be the right way I used the events system from Doctrine recently and I would ...
1 comment:
Monday, May 23, 2016

Customize color codes for visual elements using a Twig Extension

›
Situation: In a ticketing system, next to each ticket title I need to display a status, each status with a certain CSS style. I will be us...
‹
›
Home
View web version

About Me

My photo
Cristian
View my complete profile
Powered by Blogger.