title: Symfony2 middleware
body: <p>I'm looking for a way to create a Django-like <strong>middleware</strong> for an application on <code>Symfony2</code>. Basically, I need to preprocess <strong>every</strong> <code>request</code> before it comes to <code>Controllers</code> and postprocess <strong>every</strong> <code>response</code> after <code>Controllers</code>, but before it comes to user.</p>
  
  <p>Any thoughts?</p>