<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Associations v/s attributes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/associations-v-s-attributes/m-p/16840#M7522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to define my content model in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have n equipments (a domain object) and some content (text/files). Each content item may be associated with 1 or n equipments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can think of two ways to do this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Store list of n equpiments (it may have it's own metadata) as nodes and then put association with content nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Simply put list of equipments as comma seperated list attribute for each content node. We can use Lucene to find what are all the content items related to equipment X?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which one is better &amp;amp; efficient ? Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vaibhav&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2006 06:01:12 GMT</pubDate>
    <dc:creator>pvaibhav</dc:creator>
    <dc:date>2006-01-27T06:01:12Z</dc:date>
    <item>
      <title>Associations v/s attributes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/associations-v-s-attributes/m-p/16840#M7522</link>
      <description>I am trying to define my content model in Alfresco.Here is my problem:I have n equipments (a domain object) and some content (text/files). Each content item may be associated with 1 or n equipments.I can think of two ways to do this1) Store list of n equpiments (it may have it's own metadata) as nod</description>
      <pubDate>Fri, 27 Jan 2006 06:01:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/associations-v-s-attributes/m-p/16840#M7522</guid>
      <dc:creator>pvaibhav</dc:creator>
      <dc:date>2006-01-27T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Associations v/s attributes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/associations-v-s-attributes/m-p/16841#M7523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If equipment has its own metadata, then I'd use an association (a child association should be fine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its easier - you can use the Alfresco APis to manipulate equipment (no need for custom serialisation into a single prop) and you can use the dictionary to provide any additional meta-data for your equipment properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can still search on all these attributes.&amp;nbsp; In fact, you'll have better control over search if you have a seperate node for equipment with its own set of properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure there's noticable performance differences with either approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 09:49:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/associations-v-s-attributes/m-p/16841#M7523</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-01-27T09:49:08Z</dc:date>
    </item>
  </channel>
</rss>

