Riff - blog.riff.org - Riff Blog

Latest News:

Tip of the day: CRUD standard vs SQL vs MongoDB 20 Aug 2013 | 02:29 pm

Just noticed this little gem on a 10Gen course, about the respective names of the CRUD operations in common practice, versus the equivalent operations in SQL and in MongoDB. Links point to Wikipedia f...

Have fun with PHP: how to bypass an object constructor 18 Aug 2013 | 07:35 pm

Some of the features in PHP may be surprising. Think for instance of the way PDO is able to create classed results, place the query results into them, and only then invoke the constructor when using P...

When Behat does not find features or bootstrap... 11 Aug 2013 | 03:12 pm

The issue I was checking a bunch of Behat features left by former developers on a project, and noticed that the Rake rule to run them looked like: $ behat -c config/behat.yml features But this look...

When Drush Make fails to apply patches... 25 Jan 2013 | 04:32 pm

The issue These last few days, I had noticed a problem with Drush Make and patches: some patches, be they rolled by our team or from elsewhere, would apply without a glitch, but some others, which wo...

Rethinking watchdog(): logging in Kohana 3 4 Nov 2012 | 03:27 pm

Continuing this exploration of logging solutions used in various projects, let's look at logging in Kohana 3. While Monolog and log4php share a mostly common logging model of a frontal Logger object ...

Rethinking watchdog(): Monolog vs log4php 3 Nov 2012 | 06:45 pm

Beyond Monolog, other packages provide advanced logging services. Apache log4php is another well-known logging solution, used (among others) by CMS Made Simple, SugarCRM, and vTiger CRM. It is based ...

Rethinking watchdog(): Monolog architecture 2 Nov 2012 | 03:11 pm

I've been discussing Monolog in Drupal events (DrupalCamp Lyon, DevDays Barcelona) as a possible alternative to the legacy Drupal watchdog() service for quite some time, but never took the time to exp...

Overview of the pluginification of Field API in Drupal 8 19 Aug 2012 | 02:54 pm

If you have been wondering about the general organization of Field API in D8 and did not take time to work yched's existing D8 Field API sandbox, here is a simplified and cleaned-up version of the cur...

OSInet library converted to PSR0 / PSR1 6 May 2012 | 10:21 pm

Over the last few days, I finally decided to revisit the old OSInet PHP library, to dust it off somehow, and convert the class-based parts to PSR0 and the whole to what seems to be liable to become PS...

Drupal spam: have we stooped so low ? 30 Apr 2012 | 07:19 pm

Coming back from yesterday's first Drupal 8 core code sprint in Paris with lifted spirits from the event, I has a rather disturbing surprise awaiting me on this Drupal (and music) blog: there, on the ...

Recently parsed news:

Recent searches: