Re[2]: [PHP Template] usage
[email protected] (Paul K Egell-Johnsen)
| Newsgroups | php.template |
|---|---|
| Organization | Metaphor Systems AS |
| Message-ID | <[email protected]> |
Wednesday, February 16, 2000, 12:18:30 AM, Andrei:
> On Wed, 16 Feb 2000, Gernot Schabkar wrote:
>> could such a template be used, to "fill" html with php-source? it would be
>> easy for designers to include "<shopproducts>" just within a nicely-designed
>> page, but shop-products should be more complex than just a simple echo
>> command.
> And what would <shopproducts> be replaced with?
A properly designed system (ie. proper usage of templates) would allow
the following:
{SHOPDEPARTMENTS}
{DEPARTMENTNAME}
{DEPARTMENTPRODUCTS}
{CURRENTTOTAL}
{SHOPPINGBASKET}
which translated would create a page where the different templates
where expanded to the correct code part of the applicatoin.
It would be a bit like the propostion in the articles:
http://www.phpbuilder.com/columns/jprins20000201.php3 and http://www.phpbuilder.com/columns/spencer20000208.php3
But a normal php include would do the same job, eh?
--
Best regards,
Paul
Metaphor Systems as
mailto:[email protected]