Re: Templating solutions?
| From: | David Jackson | Date: | Sun, 30 Dec 2001 00:23:04 +0000 |
| Subject: | Re: Templating solutions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79035@lists.php.net to get a copy of this message | ||
Lauri --
You might want to take a look at: http://www.thewebmasters.net/php/
there's a tutorial located here:
http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
-- David
> Hi there!
>
> During the last two weeks or so, I've been bugged by a question deep
> inside me. It's about various templating solutions used with dynamic
> web applications.
>
> Oftentimes simply embedding the code into the HTML template does the
> trick. Othertimes the
> <code>include("header.inc");</code> and
> <code>include("footer.inc");</code> works its magic.
>
> There are, however, also moments when such approaches aren't enough and
> something else is required.
>
> What does one do when the templates of most pages within one site
> differ in look and feel? One possibility would be to specify a
> template, load it into a variable and replace certain marked spots (a
> la "<!--left_navbar-->") with the dynamically created code/text using
> eregi_replace() or something similar.
>
> What are the templating solutions available? Pros and cons?
>
> How do you solve your templating?
>
> Yours,
> Lauri
> --
> Tharapita Creations
> [dynamic web applications]
> lauri.vain@tharapita.com
> Mobile: +372 53 410 610
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
--