Latest sites

Quick news

  • 2014-03-27: MongoDB Watchdog module ported to Drupal 8 at the Szeged Dev Days.
  • 2014-01-26: My post on the Symfony web profiler in Silex selected in Week of Symfony. w00t !
  • 2013-10-18: My first commit went into MongoDB today. And, guess what ? It's in JavaScript
  • 2013-09-20 to 29: Working on Drupal 8 EntityAPI at the extended code sprints during and around DrupalCon Prague
  • 2012-08-19: Working on Drupal 8 EntityAPI at Drupalcon Munich
  • 2012-06-15: Working on Drupal 8 EntityAPI at DrupalDevDays Barcelona
  • 2012-03-23: Working on the future Drupal Document Oriented Storage at DrupalCon Denver. D8 or later ? Bets are on Later

Developing to the Views 7.3 API - slides from DDDB

Now that Drupalcon Chicago is over, I found some time to fix the slides from my session at the Drupal Dev Days in Brussels. It took some time because neither Google Presentations nor Slideshare apparently like the MgOpen font family.

The presentation is now on Slideshare at http://www.slideshare.net/fgm-osinet/drupal-views-development.

The progressive code samples are attached to this blog entry, as a tarred Git repository.

To use them, checkout each tag in turn: for the first exercise: git checkout demo1-hva

then for the second: git checkout demo2-hvd

and so on until demo5-area. The list of samples goes like this:

  • demo1-hva: hook_views_api
  • demo2-hvd: hook_views_data
  • demo3-hvdv: hook_views_default_views
  • demo4-access: access plugin
  • demo5-area: area handler
AttachmentSize
TAR archive of the code samples as a Git repository.160 KB

Video also available

Thanks for sharing the slides Frédéric!

Also note that the video of this presentation can be found here: http://bxl2011.drupaldays.org/node/259 or http://www.archive.org/details/DevelopingForViews3Api

Erratum: hook_views_pre_render()

Contrary to what I said during the presentation and what the documentation says, hook_views_pre_render() actually runs before the field handlers pre_render methods, not after them.