[Zope-CMF] Design approach questions: unique content-ish items?

Andreas Jung lists at zopyx.com
Sun Sep 16 08:04:44 EDT 2007



--On 14. September 2007 15:21:28 -0400 "Doyon, Jean-Francois" 
<jdoyon at NRCan.gc.ca> wrote:

> Hello,
>
> So, I have this situation happen often enough, and I'm not sure what
> would be the best way to approach it.  The context is a Zope + CMF
> (latest) framework deigned to host multiple sites, but where the content
> management part is purely internal, we manage sites internally, and the
> public facing part is not interactive to users, they can't log-in,
> register, or anything like that.
>
> I have object types that need to exist just once, but need to do much
> more than a standard tool is expected to.
>
> The basic example is the search functionality and user interfaces.  Less
> obvious is a key feature of one major client site where they have a
> mapping tool (as in geographical maps), and many other parts of the site
> revolve around it, link to it, etc ... It's in many ways a utility, but
> also a contentish/fodlerish type!
>
> I cannot assume WHERE such an object might be wanted, one client site
> could want it in one folder, and another in the root (becaue of
> navigation, breadcrumbs, individual site layouts, etc ...).

I would create a standard CMF-ish content-type. You can check at creation 
time if such an object already exists (through a catalog search). If yes, 
you throw an exception, if not you proceed....should be trivial...

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20070916/d13c7bf5/attachment.bin


More information about the Zope-CMF mailing list