Re: My template idea...

[email protected] (Dan Libby)
Newsgroups php.template
Message-ID <[email protected]>
> 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
danda.vcf (text/x-vcard, 300 B)
begin:vcard 
n:Libby;Dan
tel;work:650-210-2356
x-mozilla-html:TRUE
url:http://www.epinions.com
org:Epinions.com;Engineering
adr:;;;;;;
version:2.1
email;internet:[email protected]
title:Morlock
note:We're hiring at epinions.com.  Engineers, site designers, QA -- we need you.
fn:Dan Libby
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.