[Zope-CMF] Re: Plone Speed

Chris Withers chrisw@nipltd.com
Wed, 15 May 2002 09:39:09 +0100


alan runyan wrote:
> 
> what do you mean 'used for categorisation' ?
> we have broken our 'skin path elements' into sensible structures. 

Yeah, you categorised them ;-)

This is not what the skins tool was designed for. The skins tool was designed to let the
user select different looks & feels. Hence the ordering/stacking/onion skin effect which
is not doing you any favours in your use of it...

> we started plone.  generic vs control vs zpt_generic is very hard to
> remember where your presentation content goes.

Mine goes in 'custom' ;-)

> I understand that.  It would be nice to put CMF into some mode where you
> could see all the lookups and give you some optimization hints on what
> skinpath elements to have first, etc.

Indeed... might be an interesting option to add to the skins tool, care to give the coding
a go?

> yikes. I did not realize REQUEST lookups did this (we took out loads of
> REQUEST lookups from plone).  We have also taken out lots of metal macro
> lookups.  these things are looked up *each and everytime* ? 

Not sure, try it and see...

> > 1. stop using skin layers for categorisation, it's not what they were
> designed for ;-)
> 
> I just dont understand what you mean by this.  Please be patient, I'm slow.

Only put stuff in a different skin layer if it _needs_ to be, not just for aesthetic
reasons...

> > 2. reimplement the skins tool so it is designed to have layers for
> categorisation ;-)
> 
> as I dont understand what categorisation means.. I'm lost at this as well ;(

Make it so it doesn't have an onion skin effect but just puts all the names from the skin
layers in the same namespace. Might be fun to implement, especially when there are clashes
;-)

> I just dont see *how* we are abusing the skins tool for doing things we are
> not meant to.  we have 'seperated' out skinpath elements into logical units:
> plone_templates, plone_scripts, plone_forms, plone_styles.  this seems
> intuitive and promoted by the skins tool.  not something that sh/would be
> looked down upon.

Nope, as I explained earlier, that's not really what the skins tool was designed to do,
unless Shane tells me otherwise...

cheers,

Chris