Node, Comments, Taxonomy
by 蘇德宙, 2011-04-16 21:24, 人氣(1533)
Node
A node in Drupal is the generic term for a piece of content. Some examples of nodes:
1. Pages in books
2. Discussion topics in forums
3. Entries in blogs
4. News article stories
node table: nid, uid, type, title, body, comment, promote, created, changed
(using CCK module to add fields to your nodes, the field information is stored in separate tables.)
Comments
Each comment is a typically small piece of content that a user submits, attached to a particular node.
Taxonomy
Drupal has a system for classifying content, which is known as taxonomy and implemented in the core Taxonomy module.
vocabulary: groups of taxonomy terms
1. flat or hierarchical,
2. allows single or multiple selection,
3. "free tagging" (when creating or editing content, you can add new terms on the fly)