Move RSS-feeds out of Drupal
Our main RSS-feed at DeWereldMorgen.be is the most requested page next to our homepage.It seems logic, think of how many rss-readers hourly check the feed. And, think of how many cpu and RAM that...
View ArticleWhich variables can you use in a Drupal-textfield with input format “php”?
This function will print a large list of all the variables that are declared in the current scope:An interesting variable is $node, but it is not always accessible.
View ArticleCheck if php5-fpm is running
When installing the combo php5-fpm together with Nginx or Apache, you might run into this error:[error] 4942#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client:...
View ArticlePHP 5.4 & Drupal 6: it doesn’t work and it won’t
I upgraded my Ubuntu 10.04 to Linux Mint 14. After installing LAMP I got a Drupal WSOD on a previously well working site. As it turned out most errors came from deprecated php-functions and deprecated...
View ArticlePHP Frameworks, which to choose in 2013? A comparison.
To be honest, I’m a bit fed up with Drupal lately. We’re stuck with an ever-growing fat Drupal6 site, and the monster doesn’t get easier to maintain. The question isn’t if we will upgrade, but to what...
View ArticleLaravel Naming Conventions
Laravel supports the PHP Framework Interop Group naming conventions. You can find them on the PHP-FIG website.In short:Generally database columns are snake_case but property names are camelCase....
View ArticlePHP: check if ‘rijksregisternummer’ is valid.
I couldn’t find a decent PHP function to check the validation of the so called “rijksregisternummer” in Belgium (or “numéro de registre national” in French). I did however find a well written C#...
View Article