Cristian Pana - blog

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

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...
Wednesday, April 20, 2016

Doctrine Events: on Flush - get entity changes and persist new object

›
My situation is like this: I have an entity Ticket (like a support ticket) and an entity Action. I am using the Action objects to track any ...
1 comment:
Thursday, April 14, 2016

Serving protected files with Symfony2

›
If you just want to serve a file without any restriction you just generate a  path like this: <a href =" http://myvirtualhost.loca...
Thursday, April 7, 2016

PHP Errors and Exception handling

›
When learning  PHP is very important to find the correct source of information. I found a very good article on the topic "PHP Error h...
‹
›
Home
View web version

About Me

My photo
Cristian
View my complete profile
Powered by Blogger.