[Seaside] CSS style not applied until reload

Nevin Pratt nevin at bountifulbaby.com
Wed Apr 14 00:25:49 UTC 2010

>> But really, a few lines in a WAFileLibrary method isn't truly an 
>> "external" style sheet and not much of a down side is it? Does it use 
>> that much server resources? Won't the client agent cache the bits? 
>> Seems a lot less cumbersome than all that Apache stuff.
>> Still the calculated measurements might require a kludge. Perhaps a 
>> calculated class would do the trick if the calculation results in a 
>> discrete and small number of outcomes.
>> John
> Why even do that, then?
> It depends on who you want to have the ability to modify a CSS style: 
> (1) a graphic artist, or (2) a Smalltalk programmer.
> If the answer to that question is that it is fine having it be the 
> Smalltalk programmer who modifies the CSS (which, in effect, this 
> decision also defines much of what the downside is), I personally 
> think the #style methods are the most convenient, and nothing else is 
> really even needed.
> Nevin

Oh, and as for the possible performance downside (worrying about client 
caches, and such), I personally don't think that is an issue, or even 
something to consider these days.

But others might disagree.


More information about the seaside mailing list