CustomScripts Blog

Programming and open-source tips and tricks

Dynamic layouts in Twig

December 17, 2013 by Pierre du Plessis 4 Comments

Recently I worked on a project that needed dynamic layouts for each bundle. The idea was to have a base template, then several layout templates that each extends from the base. Each view would then extend from one of the layout files. So this is how it worked. The base template looked like this: <!DOCTYPE … [Read more…]

Posted in: PHP, Programming, Symfony Tagged: symfony2, twig

Google IO 2013

May 13, 2013 by Pierre du Plessis Leave a Comment

Posted in: General Tagged: Google, Live Stream

Deploying Symfony applications with Capifony

October 1, 2012 by Pierre du Plessis 1 Comment

I recently needed to deploy a Symfony application to a production server. After some searching, I noticed Capifony. Capifony is an extension of Capistrano, specifically built for Symfony projects. For those who don’t know Capistrano, it is a deployment utility build in ruby, more specifically for ruby projects, but you get a few extensions that … [Read more…]

Posted in: General, Symfony Tagged: Capifony, Deployment, Symfony
« Previous 1 2 3 Next »

Categories

  • General (5)
  • Programming (8)
    • CakePHP (3)
    • PHP (4)
    • Symfony (3)

Archives

  • May 2017
  • September 2015
  • October 2014
  • December 2013
  • May 2013
  • October 2012
  • March 2012
  • December 2009

Copyright © 2025 CustomScripts Blog.

Omega WordPress Theme by ThemeHall