Re[2]: [PHP Template] usage

From: Date: Tue, 15 Feb 2000 23:45:29 +0000
Subject: Re[2]: [PHP Template] usage
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-73@lists.php.net to get a copy of this message
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:paulken@metaphor.no

« previous php.template (#73) next »