On 07/11/2011 01:45 PM, Anton Andriyevskyy wrote:
yes, I'm also interested in what others will say.


I quite don't understand why you compare macros against slots. Slots are part of macros. It allows customisation of a macro.

I use macros/slots the following way:

- a main page template with all the common aspects of the web site (headers, footers, navigation toolbar) - this page template contains a few slots: e.g., one for the header and one for a content area (a div) - each (dynamic) page of the web site uses the main template and fills in the slots as needed - I have another special "page" which is merely a collection of macros that I can reuse where needed. These macros might also have slots if needed.

HTH,
Fernando

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to