Re: My template idea...
| From: | Dan Libby | Date: | Tue, 15 Feb 2000 20:31:24 +0000 |
| Subject: | Re: My template idea... | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-41@lists.php.net to get a copy of this message | ||
> Config files have so far been the designer's salvation while waiting for
> the day to come when style sheets are safe to use without having to
> compensate for earlier browsers that don't support them. In that sense,
> per-template configuration variables come in handy for allowing the
> flexibility to change font attributes,table background colors, image
> paths, and such within different templates. By allowing that, the same
> exact html code can present the illusion of a different interface simply
> by changing values in the config file. It's like creating 10 effortless
> designs out of one.
The same thing can be done with PHP includes. Further, the values can then be
either static or dynamically retrieved from a database. The only reason I can think
of to use a conf file instead is speed.
-dan
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf