First Lesson Plan

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

This is a draft, but feel free to edit it if you like.

The first Drupal Dojo lesson is on January 4th 2007 at 8pm EST (GMT -5) and is planned to run two hours maximum. The lesson will take place in the IRC channel, with a skype-based audio component, as well as on a screen-sharing application called WebHuddle. For those who cannot attend the "live" session, this plan page will grow to be a documentation piece.

IRC will be the primary channel for Q&A and is the only "requirement." Skypecast is recommended as introduction of concepts will be done there in the interests of time. Webhuddle is for peeking at the moderators screen, and recording for later usage.

IRC channel #drupal-dojo will operate on the 'Hand Convention'

Someone will be chosen to be the IRC meeting moderator. The moderator makes sure the conversation sticks to the itinerary and gives participants the privilege to talk.

Participants can type the word "hand" into the channel at any time to ask permission to speak. Typically this is done after a new itinerary item is addressed by the moderator or a speaker asks for questions and participants respond.

The moderator will give speaking privileges in the order participants raise their hands. Participants will be called on to speak by the moderator when it is their turn.

Unless you are a moderator or have been called on to speak you must not say anything in the channel after a meeting has begun except the word "snap"

Participants may say "snap" to express their agreement with a speaker at any time.
Also, informative links can be proceeded with [info] http://some_informative_thing.com

---hand convention coutesy Civicspacelabs writeup here http://www.civicspacelabs.org/book/export/html/479

0) Attending the Lesson

  • Join #drupal-dojo on freenode
  • [required]: join our Skypecast
    • (make sure you have the latest version of skype)
  • [optional]: Log into the WebHuddle. This requires java approval, but I trust it:
    https://www.webavant.com:8443
    • host email: webhuddle@webavant.com
    • key: test
  • Have your own working installation of Drupal to work on as we go
    • 4.7.4 or 5.0rc1 are acceptable
    • CCK should be installed
    • devel should be installed
    • Be ready to create and edit module/theme files!

1) Introduction (10 mins)

  • What this group is all about.
  • Why we are doing this.
  • Where it's going in the future.
  • A minute or two of technical fixes for people with problems getting on IRC or webhuddle

2) Drupal Fundamentals

  • What is a Node?
  • What is Taxonomy?
  • What is a Hook?
  • What is a Theme/Theme Engine?
  • Other "what's that word mean" questions
  • Why follow standards? Code style, community norms, best practices.

3) Coding Kung Fu: The Power of FormAPI

  • What's it do?
  • Getting (and grokking) a $form array to work with
  • Setting a theme function
  • Altering/adding elements
  • Registering additional callbacks

4) Theming Tai Chi: The Way of node.tpl.php

  • Looking at phptemplate_node
  • Creating a new node-type.tpl.php

5) Dojo Challenge!

  • Use CCK + FormAPI + node.tpl.php to create a rich new content type!
  • Create a CCK node type
  • Designate a field as admin-only w/FormAPI
  • Use node-type.tpl.php to theme output correctly

Post-Lesson Documentation Tasks

  • Enriched version of this page
  • A standalone page on how to join the IRC channel, some advice on clients for various platforms, etc
  • A standalone page of HOWTO for #5 above
  • More is better!