Technical Thoughts, Tutorials, and Musings

Databases, D7CX, and DrupalCon

Do you have a Drupal module you want to upgrade to Drupal 7?

Do you want to know how to leverage the Drupal 7 database layer to make your module better?

Will you be at DrupalCon?

There should be about 500 of you that meet that criteria, by my estimate. More than enough for a BoF. :-)

Views in Paris: 1-2 punch

Are you all set for DrupalCon Paris?

Through the mysteries of scheduling, Paris ended up with not one, but two sessions on Views. The first, from Frédéric Marand, is a 4 hour workshop on Views 2 for coders on day 1. The second is yours truly in a 50 minute session on Views for Developers on day 2.

Sounds very similar, doesn't it? Yeah, we thought so too. Not to worry, though, as we've worked out how to keep both sessions distinct and interesting.

Here's how it will break down, so you can decide which session you want to go to (and you'll want to be at least in one of them; this is Views, after all):

ORMs vs. Query Builders: Database portability

There has been some discussion in recent days regarding Object-Relational Mappers (ORMs), Drupal, and why the latter doesn't use the former. There are, actually, many reasons for that, and for why Drupal doesn't do more with the Active Record pattern.

Rather than tuck such discussion away in an issue queue, I figured it better to document a bit more widely.

Has it been that long?

According to Drupal.org, it has now been four years and five days since I first joined the Drupal community. My how time flies, and how much has changed since then.

Am I done yet?

Oof!

I like giving presentations. I really do. But this has been quite a conference season this year; certainly my busiest ever. Four conferences in four different states, and nine presentations. And the year isn't even half over yet...

Here's what I've been up to:

Help build a better PHP IDE!

There's been a fair bit of talk about PHP IDE's of late. That's not surprising given how useful they can be. (Really, folks, vi can only take you so far.) Most of the attention has been focused on the big boys: Eclipse and its derivatives (both free and commercial), Komodo, and NetBeans. Eclipse and NetBeans are both Java based, and Komodo is based on Mozilla's XUL platform (which also runs Firefox and company). I've been bouncing between them for a while, and haven't really been satisfied with any of them. I usually refer to Eclipse as the one I hate least. :-)

There's a new contender to keep an eye on, though, that is worthy of notice: KDevelop.

Important DrupalCon session change!

Just to give everyone a heads up, I have made some changes to one of my sessions. Based on the feedback I received earlier, my session on Object-Oriented Drupal has been updated. It seems no one wanted to hear about the basics, as they already knew them. :-) I will instead be focusing on design patterns, OO design philosophy, and how it applies (or should apply) to Drupal. It's too late to get changes into the printed program, but I have updated the session page on the DC DC web site to reflect the new focus.

So if you were hoping for a session on basic PHP OOP syntax and concepts, um, sorry. If you're looking for an intermediate to advanced session on how to use OOP well, then this session is for you.

I'll see you in DC!

A hostile working environment?

So first I thought it was odd that Palantir's private IRC bot has a factoid for me that reads "Great on challah!" Then I noticed this:

http://drupal.org/profile/interest/Stalking%20Crell

I wonder if I should be worried...

Objectifying Drupal: What do you want to know?

So we're a month away from DrupalCon DC 2009, and although the official schedule has not been published it seems likely from the preliminary schedule that my Objectifying Drupal session will be accepted. The basic idea is to help Drupal's mainly procedural army of developers get up to speed on object-oriented development, which has been gaining popularity in contrib (most notably the Views module) and will be in many parts of Drupal 7.

Of course, given how large an army of developers we have there is no one level of existing expertise I can target. There are entire multi-course college programs on OOP design, and I have an hour. :-) So, how about some preliminary feedback? What do you want to see in a one hour session on object-oriented code in Drupal?

Keeping your sysadmin happy

As Drupal gets bigger and bigger in the marketplace, it is moving into areas where system administrators still hold sway. Dedicated servers or server farms have a different set of needs than a shared host when it comes to monitoring and performance.

That's not even Drupal specific. For any high-end web app, it's useful to be able to interact with it for administrative purposes through standard system tools. On Windows, that's the Windows Administrative Tools or IIS. On LAMP, that could be a unified web app like webmin or a KDE control panel plugin or a Gnome applet. Getting a web app into certain organizations requires offering existing sysadmins a way to integrate it into their existing management workflow.

But what pieces of the app do sysadmins want in their existing admin tools? Calling all sysadmins, what do you want from us? :-)

Syndicate content