dynamic blocks

From: Date: Wed, 16 Feb 2000 09:08:07 +0000
Subject: dynamic blocks
Groups: php.template 
Request: Send a blank email to php-template+get-76@lists.php.net to get a copy of this message
A quick thought on dynamic blocks. Andrei says on http://va.php.net/~andrei/tpl-engine.txt {dynamic: <name>} ... {/dynamic} - defines a dynamic block that can be optionally parsed or looped I prefer the FastTemplate syntax, eg <!-- BEGIN dynamic block: myblock --> since dynamic templates are often used for row templates inside a table, and the HTML-comment syntax allows the designer to work on a "clean" table, with no extra-characters (such as {dynamic: name}) that are not part of a row or cell and get rendered in random positions by the browser. L. -- ---------------------------------------------------- Ludovico Magnocavallo MCP Sumatra Solutions / CTI and Internet Development via V. Bellini 4, 20122 Milano, Italy ludo@sumatrasolutions.com ----------------------------------------------------

« previous php.template (#76) next »