Bring High Performance Into Your PHP App (with ReactPHP)

08 February 2014, by Marc

In this article I want to show you how you can get the maximum performance out of your PHP application. Most apps don't really use the whole power of PHP, instead just activate APC and think that is the most you can get. Keep reading if you want to be surprised.

Vagrant/continuous integration/dev machine with fixed third-party software/packages.

02 January 2014, by Marc

If you have a continuous integration server running or have some kind of a dev/staging machine for your (software) release management you might considered already vagrant to ease that process. Especially, when you deal with VMs and software releases you usually want that each machine (dev, staging, live) have the exact same services/libs/package installed. Even better with automatically provisioning of your third-party dependencies/packages of that server.

Twig dynamic filters / from variable.

12 December 2013, by Marc

In Twig it's not possible to call filters based on a variable per default. I've created therefore a small Symfony bundle that provides a new Twig filter apply_filter which does exactly that: Calls filter based on a variable. Useful when you want to give your users a way to format something and therefore the filters comes from the database.

Symfony custom/dynamic router.

30 November 2013, by Marc

Adding a real dynamic router in Symfony through a Bundle is unfortunately not that easy to achieve. Beside the magic in the CMF RouterBundle you could use your classic config files (which is not dynamic) or a Route Loader which has some drawbacks (result is always internally cached) and isn't really dynamic either.

PHP's Imagepng Performance.

25 October 2013, by Marc

PHP's imagepng function and its performance have a very interesting fact. When you think compression in imagepng comes with a quality-loss or you should always choose one of the highest compression then you'll get now new information.

Jekyll, dynamic navigation with active css class.

25 October 2013, by Marc