Category Archives: Symfony

Exceptions

I see on a lot of projects stuff like this: function getStuff() { try { return $this->retrieveStuff() } catch (Exception $e) { return null; } } The issue, in this example, is not that we silence an error. It should be logged, but there could be a legitimate use for this. For instance, it requires [...]

Also posted in PHP, Python | Leave a comment

Why I wouldn’t use Symfony for a new project

Symfony is pretty good for a PHP framework — it’s probably still one of the better ones. While Symfony is open source, its development clearly isn’t open. Nowadays, it is mainly unmaintained. Well, it’s maintained by Sensio, which is very closed towards outsiders, and doesn’t apply fixes for versions below 1.3 even when patches are [...]

Also posted in PHP | Tagged , , , , | Comments closed

Reducing the gap between Symfony and non-PHP frameworks

Something that always annoyed me is how tedious it is to install a Symfony project on a machine. Since I frequently need to intervene quickly on a project for work, and I was getting a brand-new machine, I really didn’t want to create an apache vhost (let alone install Apache: it’s painfully slow and its [...]

Also posted in PHP, Sysadmin | Tagged , , , , , | 2 Comments
Bear