[Zope-CMF] Re: Clearing unused object from a CMF Site instanc e.
Pascal Peregrina
Pperegrina at Lastminute.com
Fri Jan 21 04:02:43 EST 2005
Thanks for the quick answer.
Yes, I only use skinned objects lookup (the habilty to find an object inside
portal_skins folders given a skin name, I mean traversal).
All the rest (url generation, etc) is done by my own products.
Pascal
-----Message d'origine-----
De : zope-cmf-bounces at lists.zope.org
[mailto:zope-cmf-bounces at lists.zope.org]De la part de Raphael Ritz
Envoyé : vendredi 21 janvier 2005 09:55
À : zope-cmf at zope.org
Objet : [Zope-CMF] Re: Clearing unused object from a CMF Site instance.
Pascal Peregrina wrote:
> Hi,
>
> I have done a project on Zope (2.7.4), and the only thing I use from CMF
> (1.5.0) is the skins machinery (portal_skins).
>
> Can I safely remove all the objects created during the CMF Site "add"
> operation (i.e. all objects except portal_skins) ?
No, at least not if you don't know beforehand which skin methods
may use one of these tools (e.g., like 'portal_url' to get the
base url, relative pathes etc.).
If on the other hand you write all skin methods/templates yourself
and you only need the skinning functionality (path based look-up
and switching), then it should be safe.
Raphael
>
> I have done it on a test instance and it looks fine, but I prefer to have
a
> confirmation.
>
> Thanks.
>
> Pascal
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>
_______________________________________________
Zope-CMF maillist - Zope-CMF at lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
More information about the Zope-CMF
mailing list