Suggestions about Front End code examples

From: Date: Wed, 05 Dec 2007 13:23:14 +0000
Subject: Suggestions about Front End code examples
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969378450@lists.php.net to get a copy of this message
Hi Today I polluted the internals list with an off topic remark about Front End code quality. I quote myself: [Off topic rant] I am constantly amazed that some PHP-wizards, whose knowledge of back-end development clearly shows in how many ways I must still be considered an newbie, are very unaware about what has been going in on the front end this century, with regards to accessibility, standards, unobtrusive scripting, semantic (X)HTML, CSS-based design, etc. [/rant] Now, things might improve if the manual nudged people in the right direction. I am not thinking about teaching HTML or CSS, but doing the small right things in all examples. E.g. This page: http://docs.php.net/manual/en/introduction.php The HTML in "An introductory example" should have a DOCTYPE. And always a strict version of either HTML 4.01 or XHTML. I will in a separate mail submit text that may improve this page: http://docs.php.net/manual/en/tidy.examples.php Lars Gunther

« previous php.doc (#969378450) next »