[Zope] dtml-in question

R. David Murray bitz@bitdance.com
Tue, 1 Aug 2000 16:06:11 -0400 (EDT)


On Tue, 1 Aug 2000, Webmaster wrote:
> I have a bunch of zClass instances and I want to display only the ones that
> match all three criterion (approved=1, goLiveDate<=ZopeTime(), expired=0).

One way to accomplish this is by using ZCatalog.  Index those
properties, and specify your selection criteria in the Catalog
call.  If the properties change a lot, though, you are going
to increase the amount of data getting written to your FileStorage
on each change.

--RDM