drupal

Drupalcon notes: 20 APIs Every Drupal Developer Should Know

Presented by the technical lead from Trellon.

APIs let your code interface with other codes - core or contrib.
if you write code, other developers will want to interfact with yours. If you think in terms of Apis, your code quality improves.

Which APIs should you know?

Drupalcon notes: How Drupal Works: An Architect's Overview by Jeff Eaton

  • Content & User Centric
  • For those who are evaluating: Use it for what it's good for, don't try to shoehorn it into things it shouldn't do
  • Modular: without the modules, it's just a set of APIs that listen for HTTP requests
  • Event-driven: hooks instead of listeners
  • Skinnable / themable - everything passes through the theme layer
  • Organic: a bonus for a vibrant community but sometimes leads to code repetition -- there are some examples of this in the theme layer
  • APIs - things that live inside the magical '/includes' folder. They're very separate from the modules that are visible to end users. You wouldn't turn off the 'user' or 'node' modules.
  • API layer:
    • Menu API: routing (path 'x/y/z' requested, what module should build it?) menus, navigation, breadcrumb trails

Drupalcon notes: Getting Started with Drupal(con)

  • Overall introduction. What drupal is, who's using it. Extensibility, roles
  • Drupal as a community
  • Drupal jargon: nodes, CCK = 'fields' in D7, Views, themes, menus, taxonomy, menus, permissions, roles, hooks, cron, druplipet
  • How does drupal work?  Description of the stack, starting with OS -> web server -> PHP/database -> Drupal -> core subsystem -> cor modules -> contrib modules -> theme system -> HTML -> CSS/Javascript
  • Discussion of CCK and taxonomy

Arrays of sunshine?

I'm pretty sure there's a place in geek hell for people like me.  So @webchick posts something (private) about Drupal's form API and arrays, and my response?

$formAPI = array( array( array( array('value' => 'SUNSHINE!') ) ) ); // too nerdy?

Window seat, please.

Theology meets data structures

Jeff (aka @eaton) and Larry (aka @TheRealCrell) are two truly nifty and interesting people I've met as a result of being on the fringes of the Drupal community. I've been watching this exchange scroll by on Twitter with a mix of admiration, amusement, and need for aspirin. Will be completely impenetrable and boring to anyone who isn't either 1) fascinated with religion or 2) fascinated with programming structures.

Pages