[Zope] Newbiw: How to use Zope for simple CMS sharing docs (word,etc) and

Max M maxm@mxm.dk
Wed, 28 Aug 2002 09:46:40 +0200


Niels Petersen wrote:

> * Simple CMS portal for sharing files (word docs, ppt,etc)
> * Ability to categorize" files into "folders" (like "designdoc", 
> "customerdoc",etc)

 
Hi Niels


You are fighting an uphill battle there. The CMS is designed like a traditional Unix filesystem where you have a /home directory which contains all the user. Only in the CMF it is called /users.

This is done because Zope's security mechanism is especially good at handling this structure.

Every user then has a directory in which to put any type of objects. Just like a directy on a Unix machine. Naturally this gives a hodgepot of places where content can be placed. It has the advantage that each user has a great flexibility in how to place content, but makes it difficult for several users to share a piece of content.

If you then want to show a list of similar content from all the users you do it by making a query in the catalog that can then be shown on a single page.

You could say that the catalog can do the functional equivalent of::

    'SELECT * FROM Catalog WHERE meta_type="news_article"'

( Btw. why doesn't this exist ... that would be neat ;-) )


So while Zope can be used the way you want to it would be futile to use the CMF that way. Either you must rethink your problem to the above structure or make your own CMS in Zope.


hilsen/regards Max M

    "klaatu verata niktu"