ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Rela%onships	
  vs.	
  Categories	
  

      Customized	
  Training	
  Lab	
  
       Wed.,	
  April	
  14th,	
  2010	
  
Categories	
  
•  Staff	
  lis%ng	
  and	
  detail	
  pages	
  
Categories	
  
Categories	
  
•  The	
  values	
  are	
  the	
  same	
  in	
  every	
  structure	
  
•  Any	
  update	
  id	
  done	
  just	
  once	
  
•  Queries	
  are	
  simple:	
  #pullContent
   ("+structureName:Staff1	
  ……	
  
   +categories:implementa%onTeams	
  ….)	
  
Categories	
  
•  Job	
  descrip%on	
  detail	
  page	
  
Categories	
  
Categories	
  
•  Not	
  possible	
  to	
  store	
  more	
  informa%on	
  than	
  a	
  
   %tle	
  and	
  a	
  key	
  
•  Complicated	
  to	
  understand	
  the	
  rela%onship	
  
   among	
  your	
  structures	
  
Rela%onships	
  
Rela%onships	
  
•  More	
  natural	
  representa%on	
  for	
  the	
  
   associa%on	
  between	
  two	
  contentlets	
  
•  Queries	
  are	
  simple:	
  
#pullRelatedContent(‘Staff	
  –Division’	
  ……	
  
•  Need	
  to	
  be	
  entered	
  manually	
  
dotCMS	
  1.9:	
  Custom	
  Fields	
  

More Related Content

Categories vs relationships