Programming Drupal 7 entities - Spets, Sammy. (Open source : community experience distilled, 2013)