Re: [PHP] Tidy HTML source?
- From: tedd@xxxxxxxxxxxx (tedd)
- Date: Mon, 27 Nov 2006 16:46:20 -0500
At 5:10 PM +0000 11/27/06, Mark Kelly wrote:
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge burden by any means, but
it *is* extra effort.
What do you guys do?
All my coding in all languages is pretty. To me ,it's simply an addition to documentation.
Sure it takes more time, but if I ever have to reuse the code, it's a snap to figure things out. Besides, it helps me organize and write better code.
However, most of the pretty html stuff is covered by css -- but that too (for my work) is generated by php. They all go together.
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- References:
- Tidy HTML source?
- From: Mark Kelly
- Tidy HTML source?
- Prev by Date: Re: Putting php code into html
- Next by Date: text only and text sizer
- Previous by thread: Re: [PHP] Tidy HTML source?
- Next by thread: Re: [PHP] Tidy HTML source?
- Index(es):
Relevant Pages
|