TopicMapsTool / general ticle and uid questions
Florian Konnertz <[email protected]> Sat, 18 Oct 2003 23:08:55 +0200
| Newsgroups | gmane.comp.web.zope.plone.collective.ticle |
|---|---|
| Message-ID | <[email protected]> |
Hi ticle people My first steps to implement a TopicMaps tool... How to create and manage a topic? Here's what i do right now, please add some comments and corrections... I have: a class TopicMapsTool(PloneTool, ...) a class Topic(TopicMapObject) a class TopicMapObject(Persistent) I did that same as in ztm as far by now. Probably need also ZTopic for a CMF content type. I want to get a UID for my topic, so i have to call the generateUID method of IMSUIDManager. But where and when do i have to init an instance of the IMSUIDManager? Is it correct that there is only one IMSUIDManager instance per site? Should the tool handle the UIDManager? ... Ok, later, after another look at the code... The ObjectStorage handles all the UID creation and offers an interface to the UIDManager, right? So the same questions as above: Should the tool init an ObjectStorage instance when initialized? Probably i'm missing the point up to now - i just thought before i have to experiment with that i ask so you can enlighten me with these basics :) Cheers, Florian -- Florian Konnertz --- http://www.florian-konnertz.de http://openspirit.de/noowiki/FrontPage Portal and wiki about all topics, especially consciousness research and wisdom traditions ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54