drupalcon

domesticat's picture

Drupalcon notes: Best Practices in Contrib Development and Support

For new, improving, and prospective module maintainers.

What's expected

You're not forced to do anything. However, if you post it, you're endorsing it. At that point, you have some responsibility. You'll need to work with the security team on fixing vulnerabilities, and support your code. Clearly communicating your intentions to your users is good, too. Poorly maintained projects give us a bad name.

Best practices: Community Management

How to enlist help:

domesticat's picture

Drupalcon notes: Theming with Skinr

Themer Pain Points

  • Lack of mockups = no big picture planning
  • Lack of time = sloppy CSS
  • Crazy selectors = less reusable code
  • After completion = not much flexibility, low shelf life

You're doing it wrong if…

  • You're not styling default Drupal elements
  • You're excessively targeting IDs
  • You're writing super specific CSS
  • You're creating a new .tpl file for each little change
  • You're not structuring markup in a way that is flexible

Skinr lets you

  • Create your own reusable style definitions in the theme layer
  • Lets you creat your own CSS classes and forget about drupal
  • Makes your styles point-and-click

Where it shines:

  • Contrib themes
domesticat's picture

Drupalcon notes: CCK to Fields - Getting There From Here

Flexinode was available from 2004-2007, versions 4.4-4.7. It introduced the idea of custom content types. Problem: it didn't work at all in Views. Was rewritten to scale better. CCK, the successor, lived from 2007-2010, in versions 4.7 to 6.x.

Early on, it was table-segregated by type of data: text, integer, etc. Didn't last long. Now: if the same field exists in multiple content types, it all goes in the same table.

Field data architecture: change settings or share a field after data was created could lead to potential data loss. They settled on using a per-field storage for all fields, so that data never moves.

domesticat's picture

Drupalcon notes: Facebook Applications in Drupal

Notes:  http://dave-cohen.com/

Facebook Application Development Platform

Facebook has done some basic verification on the users, with email addresses or CAPTCHA, so you're somewhat more assured of reaching real people. Obviously, you can tap into these users' social networks.

Dev platform was created in 2007. Allows anyone to add features to facebook.com. Early apps were aggressively viral; this has calmed down recently. Today it supports

domesticat's picture

Drupalcon notes: the Chaos tool suite

Collection of tools. Intended to be zero-dependency. One step above core, in Earl's view.

User login

Recent comments

  • Anonymous 20 hours 27 min ago [view]
  • Charli 1 week 4 days ago [view]
  • quiltmom anna 3 weeks 1 day ago [view]
  • rslatkin 3 weeks 3 days ago [view]
  • Donna 3 weeks 4 days ago [view]

Search

Hello, anonymous!

If you're seeing this, you're not logged in. A lot of content here is only visible if you're logged in, and comments by anonymous users are held for moderation. Consider getting an account to save yourself some frustration?

domesticat.net

is the home of Amy Qualls-McClure since 2000. She is a Drupal / quilt geek in Huntsville, Alabama. One spouse, two cats, no kids, lots of opinions.

Public account for work and Drupal stuff: Private account for friends and personal life:

me on plurk me on drupal.org my music habits on last.fm my photos on flickr my bookmarks on del.icio.us my bookmarks on pinboard.in Amy Q. on foursquare what I'm reading

Some content is locked. Copy these links AFTER logging in for a query string giving you full feed-reader access:

Atom feed, entries RSS feed, entries RSS feed, comments