Skip to main content
edited tags
Link
avpaderno
  • 98.1k
  • 15
  • 165
  • 284
edited body
Source Link
electblake
  • 2.1k
  • 1
  • 18
  • 30

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

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.

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.

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.

deleted 223 characters in body
Source Link
avpaderno
  • 98.1k
  • 15
  • 165
  • 284

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?

I'll be sure to ping back here with any resources that I find along the way that help paint the picture of what is the best strategy for classes in Druapl.

Thanks for your expertise and insight!

Update: The following is a good read to get the motivations & the constitution (as it were) from the Drupal community Drupal programming from an object-oriented perspective

Update: Any passerpassers-byersby 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.

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?

I'll be sure to ping back here with any resources that I find along the way that help paint the picture of what is the best strategy for classes in Druapl.

Thanks for your expertise and insight!

Update: The following is a good read to get the motivations & the constitution (as it were) from the Drupal community Drupal programming from an object-oriented perspective

Update: Any passer-byers should note that D7 has new files[] declarations in module .info files for auto/lazy-loading classes/interfaces: Writing .info files (Drupal 7.x)

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.

Tweeted twitter.com/#!/StackDrupal/status/56373106075385856
added 235 characters in body; deleted 4 characters in body
Source Link
electblake
  • 2.1k
  • 1
  • 18
  • 30
Loading
added 227 characters in body
Source Link
electblake
  • 2.1k
  • 1
  • 18
  • 30
Loading
Source Link
electblake
  • 2.1k
  • 1
  • 18
  • 30
Loading