[Zope-dev] time-travel how to?
Damien Morton
Morton@dennisinter.com
Tue, 5 Dec 2000 13:25:37 -0500
Thanks for the tip.
Yes, the HistoricalRevisions subsystem looks interesting.
Im not sure it solves my problem though, in that the revisions seem to be
for a single given object, rather than for a given subtree or site. They
certainly dont seem to apply to folderish objects.
For my application, making read-only restrictions on time-travel is
perfectly acceptable, so I dont believe that paradoxes are of concern.
Anyone have any suggestions about where to start with this?
> -----Original Message-----
> From: Shane Hathaway [mailto:shane@digicool.com]
> Sent: Tuesday, December 05, 2000 11:05 AM
> To: zope-dev@zope.org
> Subject: Re: [Zope-dev] time-travel how to?
>
>
> Damien Morton wrote:
> >
> > How do you access the fabled time travel features of Zope?
> >
> > Reading through the source I see that you can open a
> database in read only
> > mode and specify the point in time that that view is for.
> >
> > Would it be possible to mount the same data.fs multiple
> times in read-only
> > mode, each mounting with a different temporal view?
> >
> > Is there some other mechanism by which the time-travel
> feature can be
> > accessed? Ideally it would be possible to create a temporal
> view of the
> > database much like one would create a version, but that the
> view would be
> > enabled by traversing through that view in the URL.
>
> See the history tab of DTML methods.
>
> > For example, http://foo.com/nov3/x/y/z would be a view of
> the database at
> > nov3, where the actual time and date of the view would be
> specified in the
> > nov3 object.
>
> That would be spiffy! It would be fun to visit:
>
> http://mysite.com/HistoricalRevisions/2000Jan01/manage
>
> It's also very doable. Of course, time travel restrictions would have
> to be imposed. (Zope will produce a "temporal paradox"
> exception if you
> do the right thing. It's something of an easter egg IMHO.)
>
> Shane
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>