Recently, I realized that I haven't written anything since 2014 when I wrote about heading off to Colombia by motorcycle. Someone could easily assume that I'd ridden off a cliff, never to be heard from again. Well, no cliffs were ridden off and I'm alive and well. Maybe a bit too busy working, but that's an occupational hazard.
Image credit: Luc De Leeuw
Back in the 90's when the web was fresh and new and full of promise, we imagined information shared freely around the globe in a technical utopia. Our lives would be immeasurably better and everyone would share cat photos and live in harmony. What happened? Spam happened. (At least if you ask me.)
Image credit: Willi Heidelbach
I may have turned into a Drupal curmudgeon. The signs were already there... I don't install WYSIWYG editors unless I have to. More and more I choose to write code rather than install a module.
I had been using the Google Fonts module and I wanted to switch fonts. There was a problem with the new font for some reason—I spent about 30 minutes troubleshooting before I gave up and decided to just do it manually.
UPDATE: This bug on drupal.org has been fixed. I'll keep this article published, but it will no longer be listed on the front page.
Drupal.org is now (as of Halloween 2013) on D7. This is good news with improved features, especially in the issue queues. However, something happened with the upgrade that broke my drush make. There's something different in the project information on drupal.org. (See: https://github.com/drush-ops/drush/issues/234 if you'd like more info.)
If you've worked on a few Drupal sites, no doubt you've run into one of those horrendously slow sites. To call it a pig, would be unfair. Pigs can actually be quite fast. (http://en.wikipedia.org/wiki/Pig_racing)
I'm always tweaking my Git setup in search of version control nirvana. One thing I've been doing over the past several months makes use of .gitignore and Drupal's multisite feature. The default .gitignore for Drupal 7 looks like this:
Since February when I shared my .gitignore file, I've refined it a bit. Here's the new version:
Or... How I got my server to run OK without wasting too much time.
Database performance, whether in Drupal or any other platform is serious business. There's a lot of benchmarking, analyzing queries, forming hypotheses, making changes, benchmarking again... I've done it and it can take a team weeks to hit performance targets on a major enterprise application. Everyone wants a shortcut. There really are no shortcuts, but sometimes a few tweaks can get you to "good enough".
If you're doing anything more than just experimenting in Drupal, you should be using some sort of version control software. If you haven't already picked a version control system, you should go with Git. Why?
Frypan Module Explained
Thanks to Pasada Media's generous offer of a free beer for anyone demonstrating a live Drupal 7 site at the Toronto D7 Release Party, I decided to upgrade this site. Now I get to play with the new toys in D7!