Jay Paulson wrote:
Thinking about this paragraph above makes me wonder if with that way of
looking at it would one need a template engine? For example, why not just
separate the business logic and the HTML as much as possible and then only
imbed PHP in HTML to display the variables (<?= $var ?>)?? Then at the end
of your PHP code that does all the logic just have include() calls to the
.php files you want to parse and pass all the variables you got with your
business logic above the include calls? Hm. Just a thought.
When I look at the complexity of the installer and the user management
system in bitweaver, then the answer is probably yes. But then I look at
the code that provides the mapserver client and I'm glad that the rest
of the 'variables' are taken care of :)
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php