[Zope] Re: best practice, CSS Stylesheets

Tino Wildenhain tino at wildenhain.de
Thu Mar 23 10:13:27 EST 2006


Tonico Strasser wrote:
> Tino Wildenhain schrieb:
>> David Pratt schrieb:
>>> Anyone have any idea whether dynamic css via dtml will remain possible
>>> as CMF gets more Z3'ish? Or will only possibility be overrides in css
>>> itself.
>>
>> What do you expect to change with Z3? Otoh, not using runtime-generated
>> CSS is usually a better approach anyway.
> 
> Just out of interest, why do you think this is *usually* better? This
> does strongly depend on your use case, no?
> 
> You could say something like "it is usually better to serve static HTML
> pages" as well.
> 
usually = significantly more then 50% of the time ;)

better = when the web application is faster and easier to maintain  :-)

with CSS coming slow from server its even worser then dynamic pages
when they get slow - you see the page and then while you look or even
start to scroll, elements jump around/get recolored while CSS arrives.

I'd try to avoid this.

Regards
Tino


More information about the Zope mailing list