Plugins are great but they are never what you exactly wanted. When they are designed properly, the best way to customize them is to extend them instead of directly editing them. Now, imagine I have:1 # Penguin.class.php class Penguin { public function __construct() { echo "Windows is bad\n"; } } # Herd.class.php class Herd [...]
Tag Archives: plugins
Extending plugins in PHP and Symfony
Posted in PHP, Symfony Also tagged autoloading, inheritance, monkeypatching, PHP, Symfony Leave a comment
Colophon
What did I use to build this blog? First of all, you will notice I am using WordPress. I looked briefly at the alternatives, but the thing that made me stick with WordPress is that they lack a lot of features and more importantly the WordPress community is amazing (numerous themes and plugins). Granted, a [...]