The document compares using categories versus relationships to organize content in dotCMS. Categories involve assigning predefined values to structures, but only allow storing a title and key for each item. Relationships provide a more natural representation of associations between contentlets by linking them together, but the relationships need to be entered manually. Queries for related content are simpler using relationships compared to categories.
4. Categories
Â
•  The
 values
 are
 the
 same
 in
 every
 structure
Â
•  Any
 update
 id
 done
 just
 once
Â
•  Queries
 are
 simple:
 #pullContent
("+structureName:Staff1
 ……
Â
+categories:implementa%onTeams
 ….)
Â
7. Categories
Â
•  Not
 possible
 to
 store
 more
 informa%on
 than
 a
Â
%tle
 and
 a
 key
Â
•  Complicated
 to
 understand
 the
 rela%onship
Â
among
 your
 structures
Â
9. Rela%onships
Â
•  More
 natural
 representa%on
 for
 the
Â
associa%on
 between
 two
 contentlets
Â
•  Queries
 are
 simple:
Â
#pullRelatedContent(‘Staff
 –Division’
 ……
Â
•  Need
 to
 be
 entered
 manually
Â