|
Posted by Toby A Inkster on 06/27/07 07:53
William Gill wrote:
> To do that, wouldn't I have to do the html in a WYSIWYG editor to get
> the aesthetics, then cut it into a bunch of php print statements?
Not the way I program. Most of my pages contain little, if any, HTML --
even in print statements. They tend to load stuff (including, but not
limited to HTML) from database, process them with various functions, and
then shove them into templates.
e.g.
http://svn.sourceforge.net/viewvc/demiblog/trunk/blog/includes/Article.class?view=markup
I can't see any place in that file where it would be advantageous to
"break out of PHP mode".
Besides which... HTML? Aesthetics?! That's what CSS is for!
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 6 days, 11:25.]
The End of an Era
http://tobyinkster.co.uk/blog/2007/06/26/end-of-an-era/
Navigation:
[Reply to this message]
|