api

Taking Drupal to pieces

jp.stacey 17 April 2007

Since listening to Garrett Coakley speak at the first Geek Night on the topic of Drupal, I’ve been sniffing round that open-source CMS. He kindly came to speak to us again, and very inspiring it was too. We’re now having a deeper look at it, seeing what it can do, what are its strengths and weaknesses; that sort of thing.

Drupal logins not working

jp.stacey 29 August 2007

There’s a long (and old) thread about Drupal logins not working. A lot of the problems are to do with weird PHP version changes; some of them are caused by cookie persistence; but the one we’ve had was the result of losing the login box on the front page.

Software simple and software facile

jp.stacey 12 September 2007

Assaf writes about, among other things, REST as a simplifier of development against an existing system:

REST plays the same role as open source and open APIs: It eliminates tooling and vendoring as artificial barriers to adoption.

User loading and saving in Drupal 5.x

jp.stacey 9 June 2008
Workflows of Drupal's user load and save functionality: spot the hooks and win a programmatical prize.

Recently at Torchbox we’ve been looking into how to build extra functionality on top of Drupal users. The standard Drupal user object is a combination of the contents from the users table, plus any properties provided by the core profile module. This means that the Drupal user is a combination of rows (and admittedly deserialized, structured data) from a couple of tables in a relational database.

The multiple magics of Drupal search

jp.stacey 24 December 2008
Form API is magical; core Drupal search is a twist on that magic; hooking onto that twist puts your code on yet another level of weird.

Drupal's Form API handles so much work for you that you'd be a fool not to use it as much as possible.

User loading and saving in Drupal 6.x

jp.stacey 1 June 2009

Nearly a year ago I broke down user_load() and user_save() in Drupal 5. I had to put together workflows for a number of jobs, specifically integrating the creation, instantiation and updating of users with an external system. Fast forward nearly twelve months, and we have to do it all over again for D6, for different work.

Oxford Geek Night 13 sponsored by the Guardian Open Platform

jp.stacey 17 June 2009
You heard it here second, probably; immediately after on the mailing list.

Wow. Well, now it's out in the open and I can tell you all. Oxford Geek Night 13 on Wednesday 15 July will be co-sponsored by the Guardian Open Platform.

The Guardian's Open Platform and Datastore work has really put them at the forefront of modern media.