[Zope] - OO paradigm
Paulo Eduardo Neves
neves@inf.puc-rio.br
Thu, 21 Jan 1999 19:21:12 -0300
Michael Bernstein wrote:
>
> An example would be an event calendar, where events can be organized
> chronologicaly ( Years>Months>Days) but also according to an event
> category heirarchy (All events>entertainment>music>concerts). These
> heirarchies only intersect at the leaf node of an individual event.
>
> Most product catalogs can be profitably organized using multiple
> heirarchies as well.
>
> So how would you do this in Zope? you could of course represent the
> alternative heirarchies by branching off the bottom of the primary, or
> as folder properties, but that doesn't seem as elegant or maintainable.
> perhaps the answer is some sort of 'pseudo heirarchy' object that could
> be placed at or near the top of the object tree.
>
> What do you all think?
It would be nice if Zope object hierarchy wouldn't be a hierarchy :-)
Instead of a object tree we would have a object lattice. This is viable
since we always have the info about which path to follow in the lattice,
it is the object URL.
It would be great for multilingual web sites. We would have paths to the
same object like:
http://www.mysite.com/section/object #default language
http://www.mysite.com/french/section/object #french view of the site
http://www.mysite.com/german/section/object #german view
I vote for it! :-)
[]s
--
Paulo Eduardo Neves
PUC-Rio de Janeiro
Pager: Central: 292-4499 cod. 213 99 64
ou use a URL: http://www.learn.fplf.org.br/neves/mensagempager.html