Should everything be node in drupal ?

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

Do you think everything should be a node in drupal ?
I have read in the "Pro drupal development book" on the page 86 that there have been great debates about this question but can not find them.

By the way, what are the objects in drupal ?
-node
-block
-user
-comment
-view
-panel
-file
others?

If "everything is node", should a link between two nodes be a node itself ?

I used to think that node should be a kind of class constructer that build every objects in drupal and then can be plugged with any functionnality available. No I think it is a bad idea. And you ?

Comments

What about viewing node as abstract class

alain91's picture

Because node is the common header et model of behaviour for many modules.

Node metaphor - document

igor.ro's picture

Node is a document. So just think should all be a document?
I think no.
Because document contains some data about real object.
So
-node - Yes
-block - No
-user - No, But it should have profile that Yes
-comment Yes
-view No
-panel NO
-file No (but not sure)

Object Oriented Programming and design

Group organizers

Group notifications

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