cancel
Showing results for 
Search instead for 
Did you mean: 

Content

rdanner
Champ in-the-making
Champ in-the-making
I have been doing a lot of thinking about the M2 model these days.  In the passed I have mentioned that hard content (physical docs) is something I think the system should be able to handle.  By handle I mean carry metadata on the object, be searchable, and be able to apply workflow and librarian functionality around. 

It seems like I may have come across another type.  Remote content (hard and soft).

The more I think about it the more I am tempted to say that the content model is independent of these things (hard, digital, local, remote).  Currently the only cohesion with the concept is the fact that the cm:content carries a content property. 

So here is what I am thinking (blast me if I am out in space): 

refactor cm:content (take out the content property).

Create a couple of aspects:

Digital content (this repository owns and controls)
    Properties: d:content

Digital remote content (this repository tracks this content but doesn’t carry it)
   Properties:
      Perhaps URL or whatever id the retrieval system would need to get a hold of the thing.

Hard content (physical photo, contract, etc):
   Properties:
     Location info
    Condition information
    Library card info
    Contact info for access to doc
    Etc

From the user perspective not much would change.  If you do a create action or upload content we assume you are dealing with digital content and assign the digital aspect..

If you do an add content we ask what kind you are adding.

Also this allows documents to be both digital and hard (in the case of a conversion).  I haven’t given that enough thought.  The aspect seems to be a better option then creating types because types create an explosion of the model (cartiasn product).

If this a good idea then maybe we can vet it out here a little bit and then port the results to the wikki.  If it's a bad idea then I'll just have to take my beatings as they come Smiley Happy

Any thoughts?
2 REPLIES 2

stefan
Champ in-the-making
Champ in-the-making
Sounds like a good idea to me. Remote content in particular would be handy to have so that I can index and search statutory reference material that I don't directly control but which is still useful.

In my particular case this would involve the likes of building regulations, publicly hosted on a UK government web site and best left there rather than locally copied, so that I always have access to the latest version (irrespective of wether or not Alfresco sees updates as new versions).

Refactoring the content property into an aspect makes it easier to derive new content types having no physical manifestation too, such as a process or some collaborative collection stuff that I'm looking into.

Stefan

rdanner
Champ in-the-making
Champ in-the-making
I have been doing a lot of thinking about the M2 model these days.  In the passed I have mentioned that hard content (physical docs) is something I think the system should be able to handle.  By handle I mean carry metadata on the object, be searchable, and be able to apply workflow and librarian functionality around. 

It seems like I may have come across another type.  Remote content (hard and soft).

The more I think about it the more I am tempted to say that the content model is independent of these things (hard, digital, local, remote).  Currently the only cohesion with the concept is the fact that the cm:content carries a content property. 

So here is what I am thinking (blast me if I am out in space): 

refactor cm:content (take out the content property).

Create a couple of aspects:

Digital content (this repository owns and controls)
    Properties: d:content

Digital remote content (this repository tracks this content but doesn’t carry it)
   Properties:
      Perhaps URL or whatever id the retrieval system would need to get a hold of the thing.

Hard content (physical photo, contract, etc):
   Properties:
     Location info
    Condition information
    Library card info
    Contact info for access to doc
    Etc

From the user perspective not much would change.  If you do a create action or upload content we assume you are dealing with digital content and assign the digital aspect..

If you do an add content we ask what kind you are adding.

Also this allows documents to be both digital and hard (in the case of a conversion).  I haven’t given that enough thought.  The aspect seems to be a better option then creating types because types create an explosion of the model (cartiasn product).

If this a good idea then maybe we can vet it out here a little bit and then port the results to the wikki.  If it's a bad idea then I'll just have to take my beatings as they come Smiley Happy

Any thoughts?

something like




<!– =Changes========================================================= –>

      <type name="cm:content">
         <title>Content</title>
         <parent>cm:cmobject</parent>
         <properties>
         </properties>
      </type>

      <aspect name="cm:hardContent">
         <title>Hard Content</title>
      </aspect>

      <aspect name="cm:digitalContent">
         <title>Digital Content</title>
      </aspect>

      <aspect name="cm:localContent">
         <title>Local Content</title>
      </aspect>

      <aspect name="cm:remoteContent">
         <title>Remote Content</title>
      </aspect>

      <aspect name="cm:localDigitalContent">
         <title>Digital Content</title>
         <parent>cm:digitalContent</parent>

         <mandatory-aspects>
            <aspect>cm:localContent</aspect>
         </mandatory-aspects>

         <properties>
            <property name="cm:content">
               <type>d:content</type>
               <mandatory>false</mandatory>
               <!— Index content in the background –>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

      <aspect name="cm:remoteDigitalContent">
         <title>remote Digital Content</title>
         <parent>cm:digitalContent</parent>

         <mandatory-aspects>
            <aspect>cm:remoteContent</aspect>
         </mandatory-aspects>
      </aspect>

      <aspect name="cm:remoteDigitalContentWeb">
         <title>remote Digital Content</title>
         <parent>cm:remoteDigitalContent</parent>
         <properties>
            <property name="cm:remoteContentUrl">
               <type>d:string</type>
               <mandatory>false</mandatory>
               <!— Index content in the background –>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

      <aspect name="cm:hardContentLibrary">
         <title>Hard Content (Dewy, LC, LLC, DDC, NDC etc)</title>
         <parent>cm:hardContent</parent>

         <mandatory-aspects>
            <aspect>cm:localContent</aspect>
         </mandatory-aspects>

         <properties>
            <property name="cm:classificationSchemeClass">
               <type>d:string</type>
               <mandatory>false</mandatory>
               <!— Index content in the background –>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>

<!– ========================================================== –>