You are here: Re: indenting « PHP Programming Language « IT news, forums, messages
Re: indenting

Posted by Ivαn Sαnchez Ortega on 10/08/62 11:36

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tomb wrote:

> But the only reason to generate neat html
> is so the users can look at the page source and make sense of it more.

Besides, a developer should not read raw HTML, but should have a look at the
DOM tree - there are wonderful DOM tree inspectors for Konqueror and
Firefox (built-in) and for IE (via third-party toolbars).

Analyzing the DOM tree generated by the PHP scripts, and validating the
generated HTML against W3C's validators would prove more useful than
writing scripts that generate indented HTML.

(In fact, my programs generate a gibberish of (X)HTML that validates quite
nicely, but is a mess to read).

- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net

http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.12-1-686 kernel, KDE3.5.0, and PHP
5.0.5-3 generating this signature.
Uptime: 02:03:19 up 1 day, 4:28, 1 user, load average: 0.43, 0.32, 0.14

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvHD63jcQ2mg3Pc8RAtDlAJsH3Lqab9NYhQC3Dift98up+Fv9UQCfalu1
PUVFbiUKEaDQYATcGPpmM7M=
=vvGt
-----END PGP SIGNATURE-----

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация