CleanCode.jpg (JPEG Image, 1652×1275 pixels)
Always striving to be a better coder. Someone’s opinion of what HTML should look like.
(tags: development cheatsheet howto programming reference)
Posted in links |
Yeah, ran across this the other day. While the HTML is more or less correct, the use of PHP is juvenile at best. The example shows how PHP was being used in the late 90’s, but a lot of better techniques are available since PHP4 and objects. While it’s true that navs, headers, footers and page to page repeated content should be pulled in from other sources, includes aren’t the best way to do that anymore.
Then was is the best way? I’d seriously like to know, as I’m always looking for better ways to do things and that is the only way I know.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Blog at WordPress.com.
and Comments (RSS).