- 2009-11-29: mongodb_watchdog module created by dereine, ported to D7 by me in about half an hour, and migrated in a larger MongoDB project by damz before the hour ended. Wow...
- 2009-07-13: 100% unit test coverage on Taxonews for both D6 and D7 versions
- 2009-02-03: the new Drupal-based site for the golden jubilee of the french "Ministère de la Culture", which OSInet helped build, is now online
- 2009-01-22: new API site for CCK à la api.drupal.org
DRUPAL-7
Drupal as one of the key Internet Technologies
Submitted by fgm on Tue, 2010-02-23 16:31Received this Harris Interactive poll today, on behalf of Tarsus, the french company organizing the Solutions Linux expo.
One of the choices was a list of the top 30 Internet Technologies. And guess what ? For once, Drupal was on the list: first time I see it mentioned in this type of business context. Interesting.

Debug vanilla
Submitted by fgm on Fri, 2009-12-11 13:14Most of the time, when working on some piece of code, I'll resort to the configured debugger in my current Zend Studio configuration. And you probably do too :-)
However, I often have to access debug-type information on live sites where installing a debugger is out of the question, and I find myself often resorting to parameter dumps like the following:
<?php
// lazy version for simple cases
function foo_bar($x, $y, $z) {
dsm(func_get_args());
// [...]
// less lazy version for more hairy cases
function foo_baz($x, $y, $z) {
dsm(array('in foo_baz, x' => $x, 'y' => $y, 'z' => $z));
// ...
?>You've probably being using it too and, of course, after the first few dozen times, it becomes a bit used. So here's a tiny snippet that makes such dumps simpler to type and use :
Easy mass deletions
Submitted by fgm on Mon, 2009-11-16 15:21Sometimes, you want to delete a whole bunch of users, terms, or nodes, say to cleanup a site while developing and still keep its configuration, so reinstalling is not really an option, and the normal content- or user-administration pages get in your way because they only show a limited number of entries, meaning you have to delete page after page of entries.
Readying for the RDF fields in core code sprint
Submitted by fgm on Wed, 2009-05-06 22:41Just in case you've been living under a rock (but then how did you find this post ?), we will be doing a code sprint next week to bring RDF fields in core for Drupal 7.
Thanks Scor for organizing this.
Speeding up Drupal on Vista with Wampserver
Submitted by fgm on Sat, 2008-11-22 19:28The problem : Drupal awfully slow on Vista (and Seven) with Wampserver
For some time now, I'd been severiously annoyed by the (utter lack of) performance of Drupal 6 and 7 on my home PC, which happens to be running Microsoft Vista: considering I was used to getting page times around 200ms on a fractional Celeron with Apache 2.2 on a Linux server hosted comparatively far across the net from that same machine, I felt the 5 to 15 seconds response time per page on this local machine with a quad core and 3 GB RAM were really making me lose my time.
The solution
After some time spend googling around, I stumbled upon an incredibly simple tip, which made the 5 to 15 seconds per page drop down to around 1 second when logged in, and well below 500 ms when not logged in. It's incredible what ONE single character in a plain text file gets you under Vista :-)
UPDATE 2010-01-23: David Hogg tells us (see below) that this works for Windows Seven too
Reducing system load for graphical widgets
Submitted by fgm on Thu, 2008-08-21 22:02Using a graphics library, be GD, ImageMagick or anything else, is convenient, but carries a price to pay: unlike most Drupal parts, which are generally database-bound, image generation is typically CPU-bound: generating many images on the fly can significantly increase the CPU load on a system, while Drupal setups are typically not optimized for this, and could result in problems if you are using Drupal on a shared hosting account. So what ?
A graphical progress bar widget for FormsAPI
Submitted by fgm on Tue, 2008-08-19 19:44
In the
previous post, we saw how to create a XHTML progress bar widget for Forms API, using theme_progress_bar. The next logical step is now to create a graphical equivalent to that progress bar, as an example for far more advanced fully graphical widgets made possible using a similar mechanism.
A progress bar widget for FormsAPI
Submitted by fgm on Sun, 2008-08-17 15:18
As a Drupal user, you certainly noticed that update.php displays a nice progress bar to make you wait during its batch operations. And maybe you
also noticed theme_progress_bar in the API reference.
The question
Wouldn't it be nice to have that progress bar available as an extended version of markup that would graphically display a value in your forms without stuffing it in a markup element ?
Checkboxes in forms step by step
Submitted by fgm on Tue, 2008-08-12 22:09For some reason or another, I've noticed several new Drupal developers these last few days sweating on Forms API, and thought it would be nice to have a smallish example to complement the unavoidable FAPI reference and Guick start guide, for a typical non-basic form: one including set of checkboxes in a table, with a customized display, like the core user, content or modules administration forms. So follow me while we build this example.
Drupal internships
Submitted by fgm on Fri, 2008-04-11 09:17With OSInet focusing more heavily now on Drupal services, the company is now offering internships for students interested in working on Drupal.
First things first, I've offered to mentor for the Google Summer of Code, and would be specifically interested if a student picked up the live Drupal backup project if it came to be approved.





Recent comments
2 weeks 2 days ago
2 weeks 3 days ago
2 weeks 3 days ago
7 weeks 3 days ago
12 weeks 6 days ago
12 weeks 6 days ago
13 weeks 1 day ago
13 weeks 1 day ago
13 weeks 3 days ago
14 weeks 5 days ago