Drupal Planet

Keynote from DrupalCamp WNY: "Hello Universe"

Photo of Tom Geller delivering the DrupalCamp WNY keynote

It was a great pleasure to deliver the keynote talk to the first-ever DrupalCamp Western New York, held in downtown Buffalo on October 14-15. The camp's theme was "Hello, Universe", which you probably know as an expansion of the programmer's meme, "Hello, World". The idea is that "the web is wider than you think" -- and that Drupal is expanding to fill the space.

I agree with the premise that Drupal is growing beyond its past uses, and used my time to examine how its spread will affect the culture of Drupal. This is a very personal matter for me, from having been part of other communities whose increase alienated their founders, eventually to their doom.

But I'm optimistic about the Drupal community; watch to see why, and how we can foster its growth beyond the world it now occupies.

(Many thanks to Stephen Rosenthal of Caramax Studio for the high-quality video!)

Blog category: 

New lynda.com video courses about Drupal Commerce and Views 3

Screenshot of intro to Create Your First Online Store with Drupal Commerce

I said that two new lynda.com video courses would be coming out soon, and here they are:

There are a few free videos for each course at the above links, and a free 7-day pass gives you access to both full courses, along with hundreds of other from lynda.com.

Here's the intro video from the Drupal Commerce course:

...and the one from "Drupal 7: Reporting and Visualizing Data".

Enjoy!

Blog category: 

How to create Drupal exercise files that work every time

Screen shot of some files in a Drupal installation

lynda.com has now released five of my Drupal courses (which you can watch for free, by the way), and there are two more coming soon. Part of the company's model is to include exercise files for each course, so that students can (a) follow along with the same assets the instructor uses, and (b) jump in at any point.

For Drupal courses, the first criterion is easy to solve: We just include the same graphics and text I use to create the model site, and instruct students to add them as they go. But Drupal doesn't have a good way to let students jump into the course in the middle. Such a packaging system needs to:

  • Populate a complete site;
  • Be easy for non-technical students to use. It must use a familiar interface, and not require them to touch the command line;
  • Be reliable;
  • Require no monkeying with the settings.php file; and
  • Take as few steps as possible.

Those are the challenges. On the other hand, we can make some assumptions that make the job easier:

  • All students use Acquia Dev Desktop as their AMP stack;
  • The resulting sites won't be made public: We can freeze the Drupal version without fear of security holes.

I tried several solutions, even attempting to commission an all-in-one solution. Previous courses used varying methods, with varying degrees of success — and they usually required too much explanation. Here's what I finally settled on:

  1. Provide one copy of the base Drupal distribution, without the /sites folder. Yes, that means that students will be installing an out-of-date copy of Drupal. But again, these sites will be locally hosted, and not exposed to the internet. (We also direct them to instructions on how to update the site to the latest version if they want.)
  2. Give instructions on how to import that base copy of Drupal into Acquia Dev Desktop. This sets up the stack, and puts predictable values into the settings.php file.
  3. For each video, provide two files:
  • a .zip of the /sites folder, which includes all assets and modules installed up to that point in the course; and
  • a .zip or .gz of the database. Compression is important because Acquia Dev Desktop imposes a 2MB upload limit in a crucial place. We've manually removed the "CREATE DATABASE" line from the database before compressing it.
  1. To start at any point in the course, instruct students to:
  • Replace the current /sites folder with that video's /sites folder; and
  • Import the database via phpMyAdmin (which is included with Acquia Dev Desktop).

How would you solve this problem?

Blog category: 

Announcing CertifiedToSUCK.com

Screen shot of the certifiedtosuck.com siteYou might know of Certified to Rock, which reduces your activity on drupal.org to a single number, much as a long simmer reduces gourmet food to a carbonaceous layer that ruins the frying pan, and I really liked that pan!

Anyway, the problem with CTR is that it only measures how great you are, and some of us don't take praise well. For we Drupalists of low self-esteem, now there's Certified to SUCK! Here's how it works.

  • Go to certifiedtosuck.com
  • enter your drupal.org username
  • click the button
  • wait for the meter to do some corny sprite-based animation
  • see your score
  • check out the scores of Drupalists you know
  • get angry that they have better scores than you
  • check your own score again, as if it'll be different
  • write a long post about how bogus the whole thing is and about how people can't be reduced to numbers, man.

Scores on CTS are calculated by... oh, never mind, it's long and boring. The important thing is that it works and Must Be Obeyed. Void, like many things, in Idaho.

Hug me.

Blog category: 

Upgrading and redesigning tomgeller.com on Drupal 7

Seven... seven... seven...

I've been watching Drupal 7 for almost two years now and have been champing at the bit to start using it. I launched the promotional site for "Drupal 7: Visual QuickStart Guide" in Drupal 7 -- how could I not? -- about a month before Drupal 7's official release. Now I've also taken the opportunity to combine tomgeller.com and gellerguides.com (my portfolio site) into one. The new one is at tomgeller.com, of course; for the moment you can still see the old version (with comments closed) at http://temp.tgeller.com.

The upgrade itself wasn't so bad, although I ran into more error messages than I expected. But merging the two sites was frankly harder than I expected. There are basically three options for transporting nodes:

  • Feeds: This is my favorite tool except for two things: There's no way to bring over node comments in D7 (yet!), and I was stymied for hours until I realized that it demands Unix-style line endings. (On the Mac you can force those in the Save dialog box of TextWrangler.)
  • Node Export: Again, no way to bring in comments, but otherwise handy. Despite its name, it handles both exporting and importing -- which is good, because there's still no D7 version of Node Import.
  • Migrate: Requires substantial custom programming, and is therefore a non-starter for me. People who can use it say it's great, though.

I mention these options -- and a lot more -- in the paper I wrote for Acquia, "Migrating a Web Site to Drupal". (That link takes you to one of my Panels- and Quick Tabs-based portfolio pages, which I'm very proud of.)

Beyond node migration, there were other surprises. For example, messages that Drupal automatically sends to users -- to confirm their membership, for example -- use old-style tokens like !username instead of [user:name], and have to be changed manually. I missed a theming change that threw some baffling errors, and had to drop some functionality because the modules weren't ready. Then the statistics table stubbornly refused to update properly -- until I moved the site to its host.

So what's the prognosis? I agree with TimOnWeb.com that your situation dictates whether to upgrade to (or build anew on) Drupal 7. The "7.0" label is psychologically powerful, and I made the mistake of believing that its "release" meant that major problems had all disappeared. They haven't; there's still a lot of work to be done. (Speaking of which, please continue to support developers who are working on 7.x projects!)

Having said all that: The proof is in the pudding. tomgeller.com is up and running on Drupal 7, with a hell of a lot of functionality I'd been withholding while on Drupal 6. Enjoy this forward-looking time for all its worth.

Blog category: 

Brass player? Going to DrupalCon?

If you're a strong brass player and want to take part in a secret project at DrupalCon on Monday and Tuesday, please write to me via my d.o. contact page. Tell me what you play, your ability level, and when you'll be there. Thanks!

Blog category: 

Drupal 7 Essential Training released, with free videos

Image of a retro T.V. setMy Drupal video courses on lynda.com are mostly available on a subscription basis, starting at $25/month. But I realized that few readers of my blog know that several videos in each course are available for free.

Here are the freebies in Drupal 7 Essential Training, which was released this past Friday:

  • Welcome
  • Getting a Drupal site up fast
  • Deciding whether to use Drupal
  • Understanding nodes
  • Adding fields to content types
  • Selecting and installing downloaded themes
  • Enabling styled text with a WYSIWYG editor
  • Launching a Drupal site

Here's what's free in my other courses:

Drupal Gardens Essential Training

  • Welcome
  • Previewing the finished project
  • What is Drupal Gardens?
  • Subscribing to RSS feeds
  • Creating image galleries
  • Understanding the Theme Builder
  • Exporting themes
  • Using exported sites outside of Drupal Gardens

Drupal 7 New Features

  • Overview of Drupal 7's improvements
  • Installing themes and modules
  • Adding fields to content types

Drupal 6: Online Presentation of Data

  • Welcome
  • Reviewing requirements
  • Touring examples of data visualization
  • Planning data structure
  • Importing and manipulating data
  • Looking at Drupal's database
  • Deciding whether to store personal data as nodes or users

Drupal 6 Essential Training

  • Welcome
  • Drupal is a CMS
  • Choosing Drupal
  • Checking Drupal's requirements
  • Understanding the inner workings of Drupal
  • Meeting the Drupal community
  • Learning key terms in Drupal
  • Touring Drupal's interface

... and here are the freebies in Chris Charlton's Drupal: Creating and Editing Custom Themes:

  • Welcome
  • Learning about Drupal themes
  • Building sites today with Drupal
  • Required knowledge and software
  • Installing Drupal 6 using Acquia
  • Configuring the appropriate modules for a Drupal site
  • Creating pages with standard node content types
  • Creating custom node content types
  • Finalizing site navigation

Click the series titles to watch the videos. Enjoy!

Blog category: 

The challenge of opportunity

Picture of a 500,000,000,000 dinar noteAll signs say that Drupal is booming. Job listings on monster.com went from 65 in October 2009 to 120 a year later; DrupalCon has likewise nearly doubled in size every year for the past three; and Drupal consultancies report a perennial shortage of talent.

This all seems familiar to some of us -- but not all. You see, many Drupal professionals are around (or below) Dries' age of 32. That means they were 16 or so when Netscape went public in 1994, signaling the start of the internet boom; they were only 22 when the tech-heavy NASDAQ exchange crashed in 2000, signaling its end. So many of these "average" Drupallers have no personal experience of the boom-and-bust cycle that took down dotcoms, and the CD-ROM industry before that, and arcade games before then, and so on.

These cycles are predictable as cold days in autumn. We don't know exactly when they're coming, but they're coming all right. Neither summer nor winter can last forever. (Ecclesiastes and all that.)

I've had the fortune of going through two booms, first as a tech journalist and public-relations executive during the dotcom boom, then as a real-estate broker during that bubble. (I got into both of them as they were starting and got out a little before their crashes. Make of that what you will.) Now, I'm not predicting a specific end to the Drupal boom -- winter may yet be far away -- but I'd like to give the warnings now that I wish I'd heeded back then.

  1. Don't be about what Drupal is. Be about what Drupal does. Yes, it's web development software. But what will that matter if the web as we know it disappears? So think instead of what it accomplishes. Drupal is a distributor of information; sales channel; organizational tool suite; vote-management system; and so on. Ensure that the skills you're gaining now through Drupal will be valid regardless of Drupal. (Human society has needed sales channels and information distribution for thousands of years!) Broaden your horizons, so when one pillar falls you'll be able to jump to another.
  2. Listen to buyers. There's a saying: Nothing is sold, everything is bought. As the industry became heavy with tech-savvy visionaries in the late '90s, often products were solutions looking for problems. They were at times elegant, clever, and brilliant... but impractical, poorly aimed, or unwanted. Successful leaders are those who see where the mob is going -- and run to the front of it.
  3. "Be nice to people on the way up "...because you'll meet the same people on the way down." (Wilson Mizner)
  4. Keep the slow times in mind. As money, opportunities, and prestige increase, it's easy to lose a sense of perspective. That's what leads the newly successful to buy houses and toys based on $7,000/month salaries, when a year earlier they were making $2,500/month. Then when their power evaporates in a poof of stock options or price plunges or public caprice, they were back to making $2,500/month -- or not. Assume that great increases in power are temporary and plan accordingly.

I know this is an awfully macabre post to make at such a moment of joy and celebration in our community, but it needed to be said.

Anything to add to this list?

Blog category: 

"Drupal Gardens Essential Training" video series released on the same day as Drupal 7

In the hubbub of Drupal 7's release, you might have missed this announcement from lynda.com that they released Drupal Gardens Essential Training, a 5-1/2 hour video course, on the same day. Timing!

Acquia's Drupal Gardens provides Drupal-based sites on the WordPress.com model: You log onto Drupal Gardens (currently in beta), type in a site name, select features, click "Create site", and you're up and running with an example.drupalgardens.com URL. From there, administration is like ordinary Drupal -- with some notable differences that make it more user-friendly.

I wrote about the need for a hosted Drupal solution over two years ago. Jeff Whatcott (who at the time was Acquia's Vice President of Marketing) intimated that "This discussion mirrors very closely a lot of internal discussions I've been in around the office at Acquia lately". Others chimed in with suggestions for what such a service should look like, the top two being: (1) sites shouldn't look "generic", and (2) sites for vertical or "niche" markets should be easy to set up. I said that such a service should have features that "make hosted Drupal more user-friendly, such as one-click themes and modules, automated backups, integrated marketing services, etc.".

Those features are all (arguably) found in Drupal Gardens. The Theme Builder, and a good selection of preconfigured themes, prevents sites from seeming generic; the site-creation procedure provides one-click setup for common use cases; and while backups aren't automated, they're incredibly easy. "Integrated marketing" is limited to social networks and Drupal's built-in SEO features, but that's something.

Mr. Whatcott also said at the time that "...if we can crack this code and define a concept for something simple but insanely great, we can bring a horde of new people to Drupal". He may be right, because someone who starts on Drupal Gardens will be well-trained to administer a site built with core Drupal. For that reason alone, Drupal's supporters should hope for its success (along with that of its competitors, SubHub and Buzzr). In any case, I recommend that everyone take a few minutes to set up a Drupal Gardens site: Acquia has done a really good job at commoditizing Drupal sites. Congratulations all around.

Blog category: 

New book! Drupal 7: Visual QuickStart Guide

I'm pleased to announce that "Drupal 7: Visual QuickStart Guide" is available and has a supporting web site at drupalvqs.com. (You'll be able to buy it for the Kindle, Nook, and via Apple's iBooks later this month.)

The last four months have been some of the most productive of my life. The first task was a top-to-bottom rewrite of the book -- which we delayed as long as we could stand, to match Drupal 7's release version as closely as possible (My original contract with Peachpit Press is dated October 2008, and specified a book about Drupal 6.4! We renegotiated it for Drupal 7 in early 2009.) I also prepared and recorded three more Drupal video courses for lynda.com. The first one (Drupal 7 New Features) came out a few weeks ago; I'll announce the second one on Drupal release party day this Thursday, and the third should follow soon after.

But back to the book: Despite some extra work, I feel 100 percent right about our decision to wait. To be able to announce it on the day of 7's release is especially satisfying.

And I feel good about Drupal 7 itself. I had the pleasure of taking part in a Drupal Marketing Group meeting recently and believe we'll be reading a lot about Drupal in the mainstream press during the coming weeks. Our banners, parties, graphics and media, public-relations efforts... these all add up to a launch that supports software we can all be proud of. I'm grateful to be a part of it.

Blog category: 

Pages

Subscribe to RSS - Drupal Planet