Defining Symfony 2 controllers in two ways

If you start with Symfony 2 using the quick tour, you might assume there is only one way of creating a controller: by extending Symfony\Bundle\FrameworkBundle\Controller\Controller. If you follow the more in depth book you might notice a tip to a second way of creating a controller: as a service. Lately I’ve been exclusively creating my […]

Developing for touch screens

Since a couple of weeks I have a tablet computer, the Surface Pro 2*. It’s really weird holding a piece of hardware in your hand that is just as fast as your main desktop, but more on that later. There is one thing that I’ve started noticing more and more: a lot of websites could […]