<!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.0.9">
</HEAD>
<BODY>
<BR>
&nbsp; Hi,<BR>
<BR>
I'm currently building a huge Zope web site, based on two main classes :<BR>
- a first one, Folder based, which handles the root of the site and many presentation methods<BR>
- a second one, derived from SimpleItem, which is the base for every object stored into my database (folder based or not) and handles many thinks like security checks, special roles assignation,...<BR>
<BR>
My question is : when I have to write a new method common to all my site, is it a better practice to include it in my SimpleItem class, and access it through inheritance, or in my Folder class and access it through inheritance ??? Are there any drawbacks or benefits or using one of these two methods, concerning performances, maintenance, future evolutions...?<BR>
<BR>
Many thanks for any help,<BR>
<BR>
&nbsp; Thierry<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
  Linux every day, keeps Dr Watson away...
  http://gpc.sourceforge.net -- http://www.ulthar.net</PRE>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>