The Examples for Developers module contains numerous examples for developers, from building Ajax-enabled forms to working with the new Database API in Drupal 7 to working with JavaScript. This is a great resource for anyone getting started with Drupal dev, or who needs to upgrade.