Hacker News new | ask | show | jobs
by carloc 4905 days ago
PHP offers a lot of choice.

You can use it rather nicely, but it also allows you to write some really awful code. Admittedly, it does not do much to help you write good (=understandable, maintainable) code.

This post is rather interesting in terms of using the good parts of PHP:

http://fabien.potencier.org/article/64/php-is-much-better-th...

I have been using the author's PHP framework for 2 years now and have experienced huge improvements in the quality of the code I write simply by being exposed to his example. He basically uses a lot of objects but very little inheritance. He also is religious about the DRY principle.

1 comments

Silex or Symfony?
Both, but mainly Symfony.