Object composition

julma's picture

How do you deal with object composition within drupal ?

Do you use Taxonomy + Panel + View ?

Do you use node reference with CCK node ?

Other solutions ?

What are your ways to define a container of other objects ?

Which drupal modules are involved in "object composition" nowadays ?

Object composition is about building "large" objects from "smaller" ones.
Here is a definition of object composition on wikipedia : http://en.wikipedia.org/wiki/Record_(computer_science)
And an explanation about how composition differs from inheritance. http://brighton.ncsa.uiuc.edu/prajlich/T/node14.html

Comments

I have the same question....

gagarine's picture

I have the same question....

I think its hard to answer

level09's picture

I think its hard to answer that in general, but if you give an example it will be easier to discuss the possibilities, and make a comparison between different methods.


Simple Drupal Themes
http://level09.net

Property Management with Drupal
http://smsar.me

I've seen a diagram

Chris Charlton's picture

I thought I saw a diagram [for Node(s)] in the Pro Drupal Development book. It may have not been UML, but was a good diagram.

Chris Charlton, Author & Drupal Community Leader, Managing Consultant @ Stauffer New Media Development

I teach you how to build Drupal Themes http://tinyurl.com/theme-drupal and provide add-on software at http://xtnd.us

Relationships & site structuring

Group organizers

Group notifications

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

Hot content this week