Implementing a content type programmatically in D7, hook_form() vs Fields API

Events happening in the community are now at Drupal community events on www.drupal.org.
afreeman's picture

Here's one for the group: what's the Right Way to implement a content type via a custom module? BITD it was hook_form() or maybe rolling a feature module. Now with the new Fields API there is an entirely new approach to this available.

I've tinkered with both but I haven't formed any solid opinions either way and I also haven't come across anything on the web detailing the pros and cons of each approach. I'd love to hear some of the other module developers in the group sound off on this.

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: