<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Design approach questions: unique content-ish items?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">So, I have this situation happen often enough, and I'm not sure what would be the best way to approach it.&nbsp; 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.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have object types that need to exist just once, but need to do much more than a standard tool is expected to.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The basic example is the search functionality and user interfaces.&nbsp; 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 &#8230; It's in many ways a utility, but also a contentish/fodlerish type!</FONT></P>

<P><FONT SIZE=2 FACE="Arial">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 &#8230;).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">With a mix of permissions, UniqueItem, export/import and so on, I can create objects that can be created only once, and act much like &quot;singletons&quot; but it's tricky and not quite proper ...</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Now this utility concept comes along from the CA, and it's very handy.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The big problem for me seems to be that:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">- They have to be in the root</FONT>

<BR><FONT SIZE=2 FACE="Arial">- They're really meant for tools</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I guess I'm wanting to have an object that is a hybrid tool/contentish object.&nbsp; It provides functionality, but it also has a website visible interface (actions, templates, etc &#8230;).&nbsp; Also, it's not necessarily in the root.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Right now I use the catalog to &quot;find&quot; such objects, which is hardly elegant or efficient.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Also, some parts of these objects are user editable (notably the dublin-core stuff), so I really want it to be at least partially manageable by content managers.&nbsp; They however would never need workflow functionality for&nbsp; example.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">The only thought I've had so far is:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">- See if I can create a traditional tool, and then extend it with actions, views, etc &#8230; I need to have CMF management interfaces, and have them appear though things like listFolderContents()</FONT></P>

<P><FONT SIZE=2 FACE="Arial">The simple example is the search stuff.&nbsp; I have a search form, search results, etc &#8230; build around a content-ish type that in turn uses portal_catalog.&nbsp; This type should exist only once in the site.&nbsp; It is in many ways a tool, though it has a user oriented web interface.&nbsp; It also needs things like DC Metadata support (Corporate policy, ALL our web pages must have this), and maybe I want to let a site owner configure other properties of their instance of the search engine.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Of course, I can just try it, but I'm curious as to high level thoughts on this type of object, how it can or should be handled, if anyone has faced this before and how they approach it, etc &#8230;</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Of course, I can't see any way around utilities needing to be in the root :(&nbsp; I suppose I can fake paths and breadcrumbs or some such thing if needed &#8230;</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks, and a good week-end to you all!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Jean-François Doyon</FONT>

<BR><FONT SIZE=2 FACE="Arial">Data Dissemination Division | Division de la diffusion des données</FONT>

<BR><FONT SIZE=2 FACE="Arial">Data Management and Dissemination Branch | Direction de la gestion et de la diffusion des données</FONT>

<BR><FONT SIZE=2 FACE="Arial">Earth Sciences Sector | Secteur des sciences de la Terre</FONT>

<BR><FONT SIZE=2 FACE="Arial">Natural Resources Canada | Ressources naturelles Canada</FONT>

<BR><FONT SIZE=2 FACE="Arial">Ottawa, Canada K1A 0E9</FONT>

<BR><FONT SIZE=2 FACE="Arial">jdoyon@nrcan-rncan.gc.ca</FONT>

<BR><FONT SIZE=2 FACE="Arial">Telephone | Téléphone 613-992-4902</FONT>

<BR><FONT SIZE=2 FACE="Arial">Facsimile | Télécopieur 613-947-2410</FONT>

<BR><FONT SIZE=2 FACE="Arial">Teletypewriter | Téléimprimeur 613-996-4397</FONT>

<BR><FONT SIZE=2 FACE="Arial">Government of Canada | Gouvernement du Canada</FONT>
</P>

</BODY>
</HTML>