DrupalCon 2011: Day 1

This week Ian and Adam are in Chicago for the bi-annual DrupalCon developer conference. Drupal is the software that we use to manage the Middlebury and MIIS websites, as well as a couple others.

Read on for notes on the sessions we attended.

Keynote Presentation: Dries Buytaert (video)

Dries is the original developer of Drupal and gives the “state of Drupal” kickoff speech each year. This presentation is already available as streaming video (see the link above). The rest of the session videos will be up after the conference and when they’re ready we’ll make a blog post linking you to a few that are interesting for site editors – especially a session on the webform module.

The big news in the keynote this year is that development on Drupal 8 is going to begin at this conference and the developers who work on the core Drupal software are going to try to move to a more regular release schedule for new versions. We are currently running Drupal 6 and will be working on moving to Drupal 7 this year. Other news is that Drupal 8 is going to add more support for mobile and HTML5. There is a very good overview of HTML5 online if you’re unsure what this term means.

Media module for Drupal 7

Not to be confused with the Media module we run, which is part of Monster Menus, the code we work with Amherst to develop for Drupal, the Media module for Drupal 7 does many of the same things, but is a lot more slick about it. In Drupal 6, the standard way to add files to a site is to make them their own nodes (this is essentially what we do with File Upload nodes) or attach them to existing nodes as fields. The first way makes it easy to reuse files, but hard to use them inside content and the second way makes it easy to use files inside other content, but hard to reuse them.

The Drupal 7 media module is an attempt to resolve these conflicts. It’s still very early on in its development and use, but has features like the ability to manage YouTube videos like other files, drag-and-drop uploads and drag-and-drop reordering for photo galleries. Their goal is for Media to become the standard file-management system for Drupal 8. As work on this continues, we’ll see how we can use this modules features on our site, either by adding them to our Media module or making this module work with Monster Menus.

    Drupal Security for Coders

    This session was a good overview of the content in Cracking Drupal, given by the author. It focused on preventing XSS and CSRF attacks.

    Rockin’ HTML5 with Drupal

    I’m wary of any presentation that includes a slide with the title “Web 3.0″, but fortunately here it was used as a bit of a joke. There was a high-level discussion of the new features available to you when you convert your site markup to use HTML5, and this conversion is one of our goals this year at Middlebury. She also discussed the HTML5 Tools module, which is used to re-write a lot of HTML that Drupal produces so that it is HTML5 markup instead.

    This is useful for all the forms Drupal creates, not just the webforms you add to your site, but the page settings form, and the node editing form, and the copy/move form, etc. HTML5 adds a lot of new form markup so that you can have a non-JavaScript date picker, type suggestions in the field, and my favorite example is that you can mark a field as “email” and mobile device keyboards will include an @ symbol, or mark the field as “number” and the mobile keyboard will automatically which to a number pad when you move into the field.

    Aphorisms of API design

    A good session on designing APIs in Drupal systems. Talked a lot about how to make modules pluggable and when to do so. The topics discussed will be useful as we refactor our modules for Drupal 7.

    Views for Hackers

    The talk was an overview of the Views module and how its concepts like “relationships”, “arguments”, and “filters” translate to code and database queries. Most of the information was already familiar to us, but it made some of these concepts easier to understand.

    Discussions with Amherst Developers

    Our colleagues from Amherst are also here and we got to chat with Victor, Anita, and James. They’ve already helped us patch two issues that were bugging me and helped explain what the new Monster Menus CCK module is. I’m burying this at the bottom of this blog post because this is a really neat feature and I’m not sure when it will be available, but we’ll try to add it very soon.

    MM CCK adds a new “node picker” and “page picker” field type to nodes. If you’ve ever created a News posting or Story on our website and needed to add an image to it, you know that you do this by starting to type the name of the image in a field which searches the entire site for all images and you pick yours from that list. With the new “node picker”, you’ll get a popup window just like you do when you put an image inline in content and you’ll be able to browse just your site’s File Uploads folder.

    We’ve had a good exchange so far and look forward to continuing our discussion as the conference goes on.

    One thought on “DrupalCon 2011: Day 1

    1. Meili's Runescape Blog

      “I’m wary of any presentation that includes a slide with the title “Web 3.0″, but fortunately here it was used as a bit of a joke”

      Good! I thought for a moment there that the mention of Web 3.0 was serious.

      Reply

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>