Willkommen

Herzlich willkommen auf meiner Webseite. Ich schreibe hier über Open Source Software, mit der ich bei meiner Arbeit oder Privat zu tun habe, selbst Programmiertes wie zum Beispiel Processing.org Spielereien und weiteres mehr. Entsprechend sind die Beiträge wild durcheinander. Bitte die "Themen" auf der linken Seite verwenden wenn dich nur ein Bereich interessiert.

Hi and welcome on my website. I write about Open Source Tools that I get in contact with, either at work or privatly and about stuff I program myself, for example some Processing.org Applications and more. The content is mixed in topics and languages. Please use the "Themen" menu on the left if you want to filter for specific content.

Symfony routing under the hood

Conference: Symfony Con 2015, Paris, France
Title: Symfony routing under the hood
Links: Slides, joind.in

Routing is this thing about mapping URLs to controllers, right? But in fact, there is a lot going on. Understanding the routing process will enable you to write more flexible code and keep logic out of your controllers. In this talk, we will see how routing actually works and then look at extension points like ParamConverters, custom request listeners and have a look at the CMF dynamic router that loads routes from databases or other sources on the fly.

Guild42: Das Symfony Framework

Talk: Guild 42, Bern, Switzerland
Title: Das Symfony Framework
Links: Slides

Modernes PHP im Einsatz.

Symfony ist ein mächtiges und sehr flexibles PHP Framework zum Entwickeln von Web Applikationen. Die Grundarchitektur ist um das HTTP Request/Response Modell aufgebaut. Einzelne Symfony-Komponente können zudem separat in anderen PHP Anwendungen verwendet werden.
Auf den modularen Bibliotheken von Symfony bauen auch andere wichtige Frameworks auf, die bekanntesten sind Drupal (ab Version 8), ezPublish und Laravel.

Going crazy with caching: Caching pages of logged in users

Conference: Bulgaria PHP Conference 2015, Sofia, Bulgaria
Title: Going crazy with caching: Caching pages of logged in users
Links: Slides, joind.in

You know how HTTP caching works but need more? In this talk we look into ways to cache personalized content. We will look at Edge Side Includes (ESI) to tailor caching rules of fragments, and at the user context concept to differentiate caches not by individual user but by permission groups. A big help to leverage this concept is the FOSHttpCache in combination with either Varnish or the Symfony HttpCache class.

Hands-on: HTTP caching with Varnish

Conference: Bulgaria PHP Conference 2015, Sofia, Bulgaria
Title: Hands-on: HTTP caching with Varnish
Links: Slides, joind.in

For some scenarios, Varnish is the silver bullet to fix performance issues and go from slow site to lightning fast site. More often though, you will need to put some effort into your application to get good results. Ideally, you design your application to play well with caching from the outset. If you don't know what you are doing, Varnish can also be the bullet to shoot yourself in the foot.

PHP Summercamp Rovinj

Conference: PHP Summer Camp 2015, Rovinj, Croatia
Title: HTTP caching with Varnish

For some scenarios, Varnish is the silver bullet to fix performance issues and go from slow site to lightning fast site. More often though, you will need to put some effort into your application to get good results. Ideally, you design your application to play well with caching from the outset. If you don't know what you are doing, Varnish can also be the bullet to shoot yourself in the foot.

DPC Amsterdam: CMF and Varnish

I was in Amsterdam at DPC and did two workshops, one on the Symfony CMF and another on Http caching with Varnish. I also did a regular talk to introduce to Http caching. The Varnish workshop and talk I did together with David de Boer, who is co-authoring the FOSHttpCache and -Bundle with me.
Additionally, before the conference I went to Leeuwarden to present the CMF at a meetup of the PHP Friesland user group.

Conference: Dutch PHP Conference, 2015, Amsterdam, Netherlands

Workshop: CMF
Title: Symfony2 Content Management

Symfony Live Paris:

Conference: Symfony Live Paris, 2015, Paris, France
Title: Repousser les limites : HTTP cache et utilisateurs connectés
Links: Slides, joind.in

Varnish and HTTPS with Apache

Today I wanted to run a website with HTTPS and Varnish. Varnish itself does not support SSL, and for good reasons. So the setup we need is HTTPS termination => Varnish => Webserver. So we need a software that can handle HTTPS and forward requests over HTTP to Varnish. A couple of options for HTTPS termination are HAProxy, Nginx, Squid or Apache. I went with Apache, as it was already installed on the server in question, thus reducing the complexity of the setup.

The Apache SSL configuration looks like this:

#/etc/apache2/sites-available/example.com-ssl
<VirtualHost *:443>
    ServerName www.example.com

    ProxyPreserveHost On
    ProxyPass / http://127.0.0.1:80/

Tutorial: HTTP caching with Varnish

Conference: PHP Benelux Conference 2015, Antwerp, Belgium
Title: HTTP Caching with Varnish
Links: joind.in

For some scenarios, Varnish is the silver bullet to fix performance issues and go from slow site to lightning fast site. More often though, you will need to put some effort into your application to get good results. Ideally, you design your application to play well with caching from the outset. If you don’t know what you are doing, Varnish can also be the bullet to shoot yourself in the foot. Varnish is a server component that runs independent from your web server, making it useful whether your application is written in PHP,

Syndicate content