notes

domesticat's picture

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?

  •  hooks
  • theme system
  • forms API
  •  taxonomy
  • node API
  •  CCK
  •  Views
  •  Ctools
  •  token
  •  relationships
  •  activity
  • organic groups
  • services API
  •  apacheSolr
  •  feeds
  •  WYSIWYG
  • domain access
  • triggers and actions
  • messaging / notifications
  • voting API
domesticat's picture

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

User login

Recent comments

  • Anonymous 3 days 8 hours ago [view]
  • Charli 2 weeks 38 min ago [view]
  • quiltmom anna 3 weeks 3 days ago [view]
  • rslatkin 3 weeks 5 days ago [view]
  • Donna 3 weeks 6 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