The Examples for Developers Project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.
http://drupal.org/project/examples
http://drupalexamples.info