Archive for November, 2006

Web Design Nirvana Without the Web Standards


podcast_icon

The Web standards zealots have been running rampant on the Web, spewing their tripe of how you must follow the Web standards no matter what is happening in the real world.

… Why pay attention how (the most popular) web browsers read and understand code? To hell with them, so says the Web standards zealots.

No, instead of pulling our heads out of the sand, we should follow the W3C wish list of how code should be rendered, and use a bunch of fragile hacks to make our pie-in-the-sky code work.

DON’T BE FOOLED

As you read this, you may be asking yourself why would anyone ignore reality? If it’s raining, it makes sense to use an umbrella - even if the weather man says it ain’t raining!

Well, I would have to agree with you. After I read the weather reports, I look outside…

Unfortunately, many in the web design community haven’t. They blindly follow the teachings of the web standard zealots, despite the facts their websites are hacked up, require more work than necessary, and add no real value or advantage to the web site.

WEB STANDARDS MYTH DEBUNKED

I will not go into the details here, I’ve covered that elsewhere. But consider these myths:

  1. By following the Web standards you will save money on bandwidth: yes, bandwidth is expensive (sarcasm) and saving a few kilobytes is going to make a difference … ya right!
  2. By following the Web standards your code will be forward compatible: except for your hacks where many have broke in IE 7 - I hate to say it, but I told you so!

Clean code (regardless if it is Web standards compliant or not) makes for easier to maintain pages. Most (99.999%) of us are building average websites where bandwidth limitations are not even being approached - hosting is dirt cheap and getting cheaper all the time!

In the days of high-speed Internet, video (Youtube) and mp3, to quibble about 5k savings on a web page is a classic example of the old expression ‘penny wise and pound foolish’.

XHTML FOOLISHNESS

Along with Web standards foolishness comes XHTML foolishness. First a little background:

Nerds, being what they are, love to get the ‘latest and the greatest’ - makes them feel special. So it is only natural that they gravitate to XHTML - the new and better HTML. Yes nerds, I know XHTML is XML.

The point is that XHTML is not ready for prime-time … if you know what I mean. It has two major flaws today:

  1. IE6 and IE7 will not render XHTML properly, so all the supposed advantages are totally lost!
  2. XHTML makes working with the DOM (and thus AJAX) a real pain. Since AJAX is the future of web application development it would seem silly to me to hinder DOM scripting in any way.

I mention XHTML because many Web standards zealots are enamored with XHTML, and so the pattern of continued denial of reality goes on. Tisk, tisk tisk.

WEB DESIGN NIRVANA

I hate it when people bellyache but don’t offer a solution, so here it is:

  • Use the latest HTML and just be sure to close your tags and that the code is properly formed. This makes the pages easier to maintain and makes DOM scripting work easier.
  • Don’t use hacks! Use IE conditional comments to deal with browser issues like IE6’s problems with CSS positioning etc.

The real world Web standards are found in the browsers being used, not what the W3C would like them to be.

Best,

Stefan Mischook

www.killersites.com
www.killerphp.com

How important is web standards and clean xhtml in the real world?

podcast_icon

With all these Web standards zealots running around proudly placing W3C validation buttons on their websites, you have to ask yourself:

Does anyone really care about web standards, clean code (xhtml, html and css) in the real world?

THE SAD TRUTH

Only in large companies (if you’re lucky,) and government might you find someone that may care. Sorry zealots, you can take down your little W3C buttons now …

:)

The web design community codes itself into an academic dreamland sometimes. That’s why I attacked the web-standards-movement in the past … the leaders were misleading the ‘faithful’ down the path to the unemployment line.

PAYING WEB DESIGN, IS ABOUT BUSINESS

At the end of the day, all this web design junk is there to do, is to get out a message.

As for business, they don’t care about code validation and other nerd stuff that the web design zealots have fooled everyone into believing really means anything in the real world.

A LIGHT AT THE END OF THE TUNNEL FOR CODE-MONKEYS

But in the programming world, code quality moves to the front - well near the front of the line. This is because good code means faster more adaptable software - this has a bottom-line ($) affect.

… On the other hand:

Clean, standards compliant web design code (html/xhtml and css,) does not have any financial impact for most sites:

In the days of super cheap hosting and bandwidth, saving a few kilobytes on a web page amounts to nothing - most of us are not building sites that have millions of page-views!

So if you’re a frustrated web designer who is obsessed with code, you should get into php programming!

By Stefan Mischook

www.killersites.com
www.killerphp.com

Animated Stef tries to be funny about web design.

I was tinkering with the animated Stef character, and tried to have some fun:

http://www.killerphp.com/vid.php


singing_stef.gif

.. just wanted to get honest reactions to our attempt at being funny.

Can you get enough of killersites?

Let me know,

Stefan

Web Browser Stats (on killersites.com) for November 2006

Web-nerds need to stay on top of what browsers people are using since still today, there are differences with how browsers will display web pages.

I thought some of you might find this interesting - it’s always good to know what is going on out there …

Highlights:

  • MSIE: don’t bother with anything before IE6.
  • Firefox: something you have to pay attention to.
  • Netscape: only the dead and government employees (same thing?) use this browser.
  • Opera: Not Netscape, but I’m not loosing any sleep.
  • Safari: pay attention.
  • Everything else: check you own site’s stats just in case you have some freakish gathering of strange nerds.

browser_stats_nov_2006.png

New PHP article in Web Designer Magazine

Hi,

I wanted to mention that I have a new PHP article out in the Oct issue (#124) of Web Designer Magazine.

Web Designer Magazine - PHP tutorial

Article Title:

‘Learn to build a php contact form while learning to process forms and send email with php.’

I’ve also released Quicktime versions of the PHP video tutorials - they come with the magazine’s DVD.

Thanks,

Stefan Mischook