CustomScripts Blog

Programming and open-source tips and tricks

Symfony

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

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

Why I switched from CakePHP to Symfony2

March 30, 2012 by Pierre du Plessis 4 Comments

I know there are tons of posts on blogs stating the difference between PHP frameworks. With this post I want to share my personal experience with two great frameworks, CakePHP and Symfony2, and why I made the switch. I’ve been working with CakePHP for over 2 years. In my current position I was forced to … [Read more…]

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

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