Posted by Richard Stride on 06/02/05 23:37
I am fairly new to PHP and have written an application for managing spam in
a quarantine like environment.
Now the problem has arisen that Branding will eventually come into the
picture as well as localisation.
I prefer to embed php code into the HTML segments of the page, the dynamic
PHP components having been populated by middleware classes that can take
care of all the business logic.
But now I am finding that it might be better to write classes that generate
blocks of HTML instead of having dynamic elements of PHP inside HTML.
What have other users experiences been like? Do you prefer to write
functions that generate HTML or do you prefer to have HTML blocks with PHP
in them?
Looking forward to reply's!
Rich
--
beep beep
[Back to original message]
|