One of PHP 5's coolest features is the Standard PHP Library, or SPL. If you're operating in an OO way, SPL is a great way to easily leverage a huge amount of functionality.
Of course, the main problem is that the official documentation on it sucks. At best it points to an off-site series of class hierarchies. (Technically it's not off-site, but not internal to the manual.)
So it's been a week since DrupalCon, which means I'm kinda sorta caught up enough to write about it. Hooray!
As with DrupalCon Sunnyvale, I came away with one conclusion fixed in my mind: The Community is Drupal's greatest strength. Virtually everyone upholds a strong community and open source spirit, and will gladly talk to you for hours about subjects both on topic and off, with or without beer (free or otherwise).
But enough about how cool we are. On with the rundown.
A ran across this article recently making the rounds. In it, the author discusses spending 2 years in Ruby on Rails land before finally giving up and coming home to PHP, wiser for the experience. It's a good article, but one thing in it really raised the hair on my neck.
T'was the night before DrupalCon and all through the city, not a hacker was typing, not even a key.
So it's a bit belated, but for those who haven't gotten a phone call from me, you get this instead. Yes, I have made it to Spain alive (and calling the US is expensive, dagnabbit). DrupalCon starts on Wednesday, so in the mean time I am doing my best to uplhold the image of the stupid American tourist.
I will spare you the daily blow by blow, as this isn't that sort of blog, but I will make a few comments on the wonders of international travel...
There has been some discussion recently, in IRC, issue queues, and blogs, about the Drupal 7 database API and its impact on supporting different database engines. While I am still trying to avoid large amounts of public distraction, especially when we're supposed to be trying to get a Drupal 6 beta 1 out the door, I feel it's important to get a few points cleared up lest they lead to confusion later.
Just a quick note in case you're one of those people who reads Drupal Planet but doesn't check drupal.org's front page daily (like, you know, me), there will be an IRC session to coordinate housing and transportation (and possibly parties) on 29 August 2007 at 7 pm GMT +1 in #Drupalcon on Freenode. I'm planning to be there, and if you don't have firm plans for everything you're doing for DrupalCon Barcelona yet, you should be too! (Be sure to check your timezone offset.)
PHP 5, however does include lots of "magic" capabilities, some in the object model directly and some via SPL Interfaces, that, if used properly, can make up for a lot of that lack of dynamic capaibility. A favorite of mine is the ability to add methods to a class at runtime.
What? You didn't know PHP can do that? Well, that's because it can't. However, we can simulate it pretty closely if we're careful. Let's see how.