[Zope-PTK] Portal content wherever you want it
Steve Alexander
steve@cat-box.net
Sun, 21 May 2000 20:08:56 +0100
Kevin Dangoor wrote:
>
> [Even scarier: I'm pretending to understand Python-based Products,
> ZPatterns, *and* the PTK :) ]
>
> I would do this a little differently.
>
> We make a Portal Specialist that will provide all sorts of nice Portal-y
> features. It will accept PortalContent as plug-ins (much the same way that
> LoginManager accepts UserSources as plug-ins). So, you just plug in any
> types of Portal content you want to be available in that Portal. Within each
> of these plug-ins, you'll be able to define the display methods for that
> type of content. I'm not sure about the icons, because there might be some
> other hooks for that. We can probably assume that that will be changeable as
> well.
I like this idea, although this does mean refactoring how the PTK works
quite a bit.
That's not necessarily a bad thing though, as more of the work gets done
by ZPatterns, and PTK becomes simpler.
> I believe ZPatterns 0.4.0 will allow RackMountables to show up anywhere you
> want them, and will refer back to their DataManager for various things,
> including Indexing. Based on Phillip's message from this morning, that means
> you can put the PortalContent anywhere in your ZODB, and it will follow the
> review policies that you have set up. These would be pluggable.
Ok. But I guess the outline you gave for displaying PortalContent,
above, would work with the current ZPatterns too. we'd just be
constrained to use Racks more.
--
Steve Alexander
Software Engineer
Cat-Box limited