drupalcamppdx08

Panels 2 and Views 2

Panels 2: will be released for 6 in a couple of months
Views 2: only for Drupal 6.

Panels 2

Lets you create nodes that contain regions (panel-nodes). Considerably more flexible than the original panels.

Can disable Drupal blocks regions with Panels 2. This would be very nice for landing pages where you want to eliminate the side navigation.

Views 2

Very stable even though it is still labeled beta.

Views 2 can work with nodes or other content types like users.

Ok, this is pretty cool.

CCK and OO Drupal Programming

CCK.

If you need something really weird, do it in your module. Otherwise, do it with CCK.

CCK 6 is going to behave more like Form API, so much easier to create custom elements.

Image field and image cache are very worth checking out. Imagecache will auto generate different sized thumbnails.

CCK Mistake: still need to plan. Think ahead, plot out your content-types.

Consider using CCK and creating select list instead of using taxonomy. This can keep the category or whatever actually on the node. Using CCK is often more programmer friendly, though taxonomy is still often most friendly for content administrators.

Uses taxonomy instead of node_reference to do groupings. This way it is a two way reference.

OO Drupal:
Class == Content Type
Object == Node
Attribute == CCK Field
Function == hook_nodeapi

Drupal Theming Strategies

BEFORE DEVELOPMENT:
- Figure out browser and resolution baseline. IE 6 can = 25% of development time. Still around 55% deployment.

- Identify modules you are going to use. Use as few modules as possible.

- Omnigraph is a favorite.

- Firebug, XRay, and CSS Edit.

- Zen is the favorite theme to use as a base.

- Contemplate. Scary: lets you manage your theme through the DB.

Drupal Best Practices

Don't put code in the DB.

Upgrades. Use the install profile API to trigger content-type creation.

DBScripts projects. Can try to merge dbs. A little sketchy.

Municat.

Macro module with devel can drive Drupal.

Ways to map relationships between nodes:
- Taxonomy
- CCK Node Reference
- Relativity Module
- Menus

In 6, menu alter is a nice new hook.

Pathauto a great way to jump in the way of tags

In Drupal 7, CCK fields can be applied to other Drupal objects. Then can use CCK field perms to manage access.

Drupal Camp 08 Keynote

KPSU is on Drupal.
Ben Kaplan presenting, also on Drupal.

What Drupal Is... And What it is Not

Drupal is a time machine. Gives you smart default behavior incredibly quickly.

Drupal is not fast food. Still takes work to customize.

Drupal is a human pyramid. Huge help from other developers.

Drupal is not a piggy back ride. Volunteers, not slaves.

Drupal is a Swiss Army Knife. Can be used to do just about anything. It is as much a framework as a CMS.

Drupal is not a potato peeler. Not the perfect tool for certain very specific jobs. 90/10 rule. Final bit of customization can be expensive.

Drupal is yoga. Very flexible.

Drupal is not an all you can eat buffet. Should only load the modules that really move you forward. Exercise restraint.

Drupal is a pair of binoculars. Always looking forward.

Drupal is not a rearview mirror. There is always an upgrade path, but there is no guarantee of backwards compatibility.