Latest Story

Advanced user switching

February 24, 2015
vendron_switch-user-128

A really neat trick in the Symfony Security component is the fact that you can impersonate or “switch” users. This allows you to login as another user, without supplying their password. Suppose a client of your application has a problem at a certain page which you want to investigate. Sometimes this is not possible under your…

Read more »

Debugging Symfony components

December 31, 2014

Don’t you hate it when you are stepping through your debugger during a Symfony application debug session, and all of a sudden it cannot find files anymore as Symfony uses code located in the bootstrap.php.cache instead of the actual Symfony component. Symfony creates these cache-classes in order…

Read more »

vagrant-share issues

December 10, 2014

As a reminder (mostly for myself, but any googlers out there):   After updating Leopard to OSX Mavericks (yes, I know it’s 2014!), i had to reinstall vagrant again. Using the latest version (1.7.0) gave me the following error while running: [crayon-54f40e2fad59c407849312/] Without spending too much…

Read more »

Deepdive into the symfony2 security component: part 1

October 19, 2014

Once in a while I like diving into code and see how things work under the hood. And as the symfony2 framework consists of many different components, bundles and bridges,…

Read more »

Symfony2: logging out

October 6, 2014
1412632139_gnome-session-logout

One of the “golden rules” of symfony2 is to never hardcode urls or paths inside your code or templates. And letting symfony deal with the generation of your urls and…

Read more »

Conditional app permissions

August 6, 2014
Conditional app permissions

I know: free software comes with a price. Most likely this price is your privacy. I’m not talking about 3-letter agencies snooping in on each and every call or email,…

Read more »