<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
</HEAD>
<BODY>
<BR>
Hi,<BR>
<BR>
I use Zope (2.6.1) and subclasses of the "old" OrderedFolder product (release 0.4) to handle my internal site.<BR>
<BR>
Each "sub-site" is a kind of "big folder", handled by a specific "sub-manager", containing until two levels of sub-folders. Each folder or sub-folder is a subclass of OrderedObjectManager, containing documents (stored as ExternalFile subclasses) as well as other instances of custom properties.<BR>
I have an "index_html" method (in DTML) defined for each folder or sub-folder, which displays the ordered hierarchy of the given folders or sub-folders ; access is checked against every sub-folder, so that "private" folders or sub-folders are not displayed to unauthorized users.<BR>
<BR>
Data handling is OK, but while displaying my other custom classes instances is quite quick, displaying these OrderedObjectManager instances is quite slow, even when a sub-site is containing only a few number of folders or sub-folders.<BR>
<BR>
I've tried to use a profiler to find a bottleneck, but don't know Zope and Python internals very well so handling this problem is not very easy.<BR>
Any help or advise would be very helpful.<BR>
<BR>
Thanks,<BR>
Thierry<BR>
<BR>
</BODY>
</HTML>