TAG | Twig
4
[Just launched] Relaunched TV Guide App for Facebook powered by Symfony2
No comments · Posted by Christian in Just launched
A few months ago we launched this app already but it got wiped again. Now after some refactoring and redesigning on our side and after some changes on the Facebook side (event creation no longer spawns a status update!) the app is live again still powered by Symfony2.
Assetic · CoffeeScript · compass · Dropbox · Facebook · html5 · html5boilerplate · JQuery · SASS · Symfony2 · Tv-Programm · Twig
29
Deploy your Silex and Twig powered Facebook App using Git onto free Heroku Cloud Hosting
2 Comments · Posted by Christian in The right tool
More or less by accident I discovered that Facebook now teams up Heroku a San Francisco based hoster to provide easy hosting environments to Facebook App developers.
So I thought lets try it out and while I’m at it make it run Silex and Twig!
Cloud Hosting · Deployment · Facebook App · Git · Heroku · Silex · Twig
17
First steps with Sass, compass using Assetic on Symfony2
4 Comments · Posted by Christian in The right tool
So yesterday I migrated the CSS of a small Symfony2 project to Sass/compass. Getting used to it takes a while but is generally an easy and worthwhile experience.
The results are awesome!
16
CSS on steroids – organise your sprites and stylesheets with SASS and compass
4 Comments · Posted by Christian in The right tool

After quite a long time I am working on a small rich frontend project. One thing that almost always start clean and gets messy soon are stylesheets.
With SASS and compass though it gets much easier to keep your stuff clean.
1
Phrozn – a static site generator written in PHP with the help of Zend Framework 2, Symfony2 and Twig
3 Comments · Posted by Christian in The right tool
In one of my last posts Daniel Richter made a comment where he mentioned Phrozn a tool so far unknown to me.
Essentially it is a static site generator just like Jekyll which is used on GitHub but written in PHP with some well known components.
(more…)
Dropbox · GitHub · Jekyll · PHP · Phrozn · Symfony2 · Twig · Zend Framework
28
Paginating the week ahead simply by extending PHP DateTime
1 Comment · Posted by Christian in The real job
Todays post is very small indeed but might be useful to some and also demonstrates how OOP can help you reducing complexity by clever separation of concerns.
And it has to do with the DateTime type.
24
Creating a filter as a Twig Extension in a Symfony2 Bundle
3 Comments · Posted by Christian in The real job

You can do a lot with the existing Twig filters and function but I just found myself of chaining them to a giant piece of string only to manipulate some values before using them. Something I could’ve done easily in PHP but that proved to be really difficult in Twig.
That was a clear sign of abuse!
Time to write my own Twig extension.

