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

Ego trip with PHP-GTK

Riff blog on top of Planet PHP

A few days ago, I was glad to learn that this blog had been included in the Planet PHP blogroll. And today, when checking the news, what did I see ?

Console encoding in PHP-GTK apps

The problem: while coding PHP-GTK apps, the most elementary debugging method is to use echo or print statements. These are fine and dandy for english or usonian coders, but may be a problem for coders elsewhere around the globe, since PHP scripts are typically stored under UTF-8 encoding to limit i18n headaches, while the console in which their output will be displayed is normally configured to some regional encoding, like IBM850 in Windows/XP French.

So we need a workaround...

Garland for Drupal 4.7

The new Garland / Minnelli theme (née Themetastic) from Drupal 5.0 is one of the main visible improvements over 4.7. However, not all sites are ready to make the jump to 5.0 as soon as it's ready, which should be very soon now, so why not use Garland on 4.7 ?

Drupal-based community site for PHP-GTK

The new Drupal-based community site for PHP-GTK is up at http://www.php-gtk.eu.

Drupal features

Technically, this is pretty much a plain Drupal 5.0 Beta 1 Beta 2 RC1 RC2 site, using the new Garland theme without custom changes besides a much needed fix, and a site-specific module for things like useful referer counting and the PHP-GTK dev geolocation service.

Drupal coder: why book.module doesn't need a theme_book_page

A first sight, it looks like the book.module in Drupal 5.0 is missing an important function: the ability to theme the page displaying the list of books, normally found at www.example.com/book

Configuring the Zend Studio PHPDocumentor extension for PHP-GTK

Zend Studio is a convenient environment to code in PHP, even though it is not currently possible to use it for integrated debugging of PHP-GTK code: its php completion and file management, and phpdoc integration make it very useful for the PHP-GTK environment too. However some settings are necessary to ease its use, due to the specific extensions typically used by PHP-GTK programs: phpw files for applications, and glade / gladep for Glade files storing UIs.

Grokking PHP-GTK : GtkTreeView and friends

GtkTreeView and related classes in PHP-GTK 2The function of the GtkCTree, GtkCList and other associated components has been overhauled in GTK2, meaning PHP-GTK now has a very thoughtfully detailed mechanism for building trees and lists, more or less following an MVC model.

Resources for PHP-GTK 2

The official site for PHP-GTK is obviously a natural must for anything related to PHP-GTK 2.

However, its resource pages links indiscriminately to fresh and useful material, and to obsolete intro-level information for the now-defunct PHP-GTK 1.

Here is my selection of current useful resources for PHP-GTK 2, for the developer who already read the advertorials, installed the environment and ran the intro tutorials, and now wants to actually create with the extension.

PHP-GTK 2 : integrating Drupal e-commerce front-office sites with back-office data

As many other developers of e-commerce sites using Drupal, I've had to solve the problem of integrating the "front-office" store maintained in the ecommerce module with the back-office data like the actual invoicing matching legal requirements, tax documents, product ordering from suppliers, and so on, and I've had to choose a toolkit for this.

Until recently I had been using Delphi with XML-RPC to upload content and remotely monitor my sites, but I was looking for a cross-platform solution, and one that would preferably have sources available. Using Kylix for other projects and it *does* work, even with SOAP and remote data stores, but the level of support and lack of upgrades from Borland regarding it left me rather skeptical about using it for new projects. And this was not even taking into account the fact the XML-RPC for Delphi and Kylix is a poorly supported Open Source project. So what ?

Grokking Drupal: ecommerce dependencies

UPDATED for eC4 in new post

UML dependency diagram thumbnail for Drupal e-Commerce 4.7 The Drupal ecommerce module suite is a rapidly evolving and quite massive part of Drupal, and newcoming developers may be overwhelmed by the sheer number of modules included in the suite. This UML dependency diagram chart should help understand how the modules fit together.

Syndicate content