incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r225709 - in /incubator/graffito/trunk/doc: graffito-model-server.dia graffito-model-server.png graffito-model.dia graffito-model.png new_object_model_proposal.txt
Date Thu, 28 Jul 2005 05:47:19 GMT
Author: clombart
Date: Wed Jul 27 22:47:11 2005
New Revision: 225709

URL: http://svn.apache.org/viewcvs?rev=225709&view=rev
Log:
Add Graffito object model

Added:
    incubator/graffito/trunk/doc/graffito-model-server.dia   (with props)
    incubator/graffito/trunk/doc/graffito-model-server.png   (with props)
    incubator/graffito/trunk/doc/graffito-model.dia   (with props)
    incubator/graffito/trunk/doc/graffito-model.png   (with props)
    incubator/graffito/trunk/doc/new_object_model_proposal.txt

Added: incubator/graffito/trunk/doc/graffito-model-server.dia
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/doc/graffito-model-server.dia?rev=225709&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/graffito/trunk/doc/graffito-model-server.dia
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/graffito/trunk/doc/graffito-model-server.png
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/doc/graffito-model-server.png?rev=225709&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/graffito/trunk/doc/graffito-model-server.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/graffito/trunk/doc/graffito-model.dia
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/doc/graffito-model.dia?rev=225709&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/graffito/trunk/doc/graffito-model.dia
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/graffito/trunk/doc/graffito-model.png
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/doc/graffito-model.png?rev=225709&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/graffito/trunk/doc/graffito-model.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/graffito/trunk/doc/new_object_model_proposal.txt
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/doc/new_object_model_proposal.txt?rev=225709&view=auto
==============================================================================
--- incubator/graffito/trunk/doc/new_object_model_proposal.txt (added)
+++ incubator/graffito/trunk/doc/new_object_model_proposal.txt Wed Jul 27 22:47:11 2005
@@ -0,0 +1,52 @@
+Introduction
+------------
+This document describes a proposal for a new Graffito Object Model. 
+
+In my point of view, the model has the following weaknesses : 
+1. The CmsObject interface contains too many attributes. Title, description and owner should
be not mandatory. Futhermore, this interface contains getObjects() and getProperties() which
could be duplicate attributes.
+2. The Document interface forces to have a binary content. Binary content is only interesting
for Document management & asset management. We can expect to use Graffito for a CMS application
containing only articles. In a such case, an article can be composed only of a set of String
: title, summary, content, authors, ...  and not binary content. 
+3. The Content interface is not an appropriate name. DocumentStream seems to be more explicit.
+4. We need to have a better internationalisation support.
+5. It is difficult to extend the model.
+
+The New Object Model 
+--------------------
+The proposed model is splitted into different modules (see in attachement the UML class diagram)
:
+* The Graffito code module.
+* A series of optional modules.
+
+1. The Graffito Code Module
+---------------------------
+This module contains all ancestor objects like CmsObject, Folder, Content. Content is the
ancestor of any kind of content object (Document, topic, article, ...). Versionning is not
mandatory is all case. The "VersionnedContent" is the ancestor used in a version management
context. As you can see, only content can be versionned. Later, we can support versionning
on Folders. 
+
+2. Optional modules 
+-------------------
+Depending on the application requirements, the Graffito users can select one or more optional
modules. If the Graffito model doesn't fit to the application requirements, it should be possible
to plug a customized module. One subproject per module has to be defined in the Graffito project.

+
+2.1 Document Management module
+------------------------------
+This module manage any kind of binary documents (Ms Word, pdf, ...). By default, this DM
module is supporting internationalisation. In order to increase the performance, the DocumentStream
should be defined as a proxy. All documents are versionned. 
+
+2.2 Article Management module
+-----------------------------
+This module can manage translated articles or single language articles. All articles are
versionned. 
+
+2.3. Forum
+----------
+This module is a simple object model that can be used for a Forum application. Obviously,
topic (the forum content) are not versionned. 
+
+2.4. Other modules
+------------------
+
+Now, it should be easy to extend the Core Graffito module or any other optional modules.
For example, someone can add a news management, asset management or customize the article
module. 
+  
+
+3.Open points 
+--------------
+* Review the project structure in order to support modules.
+* CmsObject interface : getProperties, getObjects() : David, are you using both attributes
?
+* Internationalisation : providing by default in the different module or not ?  
+
+
+
+



Mime
View raw message