I'm looking to start building my modules as classes now that lazy/auto-load are in Drupal 7, and I'd love to look at some modules (contrib or core) that are doing a great job of it.
Is there a creative way for integrating a class as hooks? Do I implement each feature as a ctools plugin?
Any passers-by should note that D7 has new files[]
declarations in module .info
files for auto/lazy-loading classes/interfaces: Writing .info files (Drupal 7.x).
The following is a good read to get the motivations and the constitution (as it were) from the Drupal community Drupal programming from an object-oriented perspective.