FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Parsing .css files with php: Cons?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Parsing .css files with php: Cons? [message #176770 is a reply to message #176767] Mon, 23 January 2012 00:21 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/22/2012 6:14 PM, Peter H. Coffin wrote:
> On Sun, 22 Jan 2012 22:35:08 +0100, Michael Fesser wrote:
>
>> A typical short-sighted answer.
>>
>> Another example: Assuming I want to use different color schemes on
>> different parts of the website, each with different nuances of the
>> base color. Of course I could edit the CSS by hand and calculate all
>> needed values by myself - a background color here, a border color
>> there, some text colors and others -, but I could also let PHP do
>> the work: I just define the base color and all others are calculated
>> automatically.
>>
>> And there are many other situations where some programming or
>> conditional logic in the CSS might come in handy, which has absolutely
>> nothing to do with your "properly created" CSS.
>>
>> The only question - and what this sub-thread is all about - is whether
>> you want to have the CSS script parsed everytime or if you want
>> to cache the result. The latter is what Chuck does by calling his
>> generator script.
>
> No.
>
> You supply secondary ones that override the master/main one. Master one
> referred to by absolute location, site-section overrides use relative
> location*, per-page overrides get embedded. That's why they're called
> "Cascading".
>

Exactly!



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: phpinfo is not showing in php4 version
Next Topic: arrays with holes
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 16:36:44 GMT 2024

Total time taken to generate the page: 0.03993 seconds