Archive

Archive for April, 2009

Renovating Websites for W3C Validation

April 29th, 2009

There was a time where web design was a wide-open field. Anyone with FrontPage and a browser could fancy themselves a “web designer”. This is akin to saying anyone with a hammer and saw could fancy themselves a carpenter. But with the world wide web being so cutting edge and free.. people said, “Why not.”. Of course, this is how many legitimate web design professionals got started, so it wasn’t all bad.

Back then and up until about 3 years ago, 90% of users had Internet Explorer and the other 10% had Netscape. Each browser fought for dominance and tried to establish the standard. Microsoft®, up to it usual tricks, creating proprietary code that only worked in their browser. While Netscape did the same, yet touted to be the purest form of HTML rendering. Neither was.

A little known organization called the WorldWide Web Consortium (W3C), who had been the real standard bearer since the WWW (as we know it) came to be, had worked very diligently on establishing code standards for the web. They were and are the classic disinterested third party. They are disinterested in making browser software. They are disinterested in acquiescing to the almighty Microsoft Corp. Instead, they are interested in establishing an objective standard by which all browsers and designers should use to allow for uniform functionality without compromising creativity. This is what the W3C is about.

However, Microsoft IE still dominated the landscape and most designers and programmers (professionals too) yielded to the quirky signature oddities of the browser… regardless of W3C validation. Many simply designed for IE and didn’t know or care about validating for “proper” code standards. That was until Mozilla Firefox came along; and Apple Safari, and Chrome; and Opera… and a few others. People began to change their loyalties and discovered that you could browse the web without Internet Explorer. They found that some of the alternate browsers were actually better in many ways. So, the 90% days of dominance were over.

Today something like 40% of all web users use something other than IE. It still dominates, but not nearly as strongly as it did. What this has done is reinforce the idea that there needs to be objective standards that these browsers must follow at a minimum. No longer can they risk messing around with HTML. Sure, they can have their quirky tool bars, and interesting plugins, but the basic function of viewing a webpage must be equal across the board.

How can this be done? As it has since the beginning. The W3C has come back into fashion and is finally reaching the level of importance they deserve. Now, validating for HTML, XHTML and CSS means cross-browser compatibility whereas it did not several years ago. This is because the browser makers are finally complying with the W3C standards and taking a different approach to market distinction. Creating cool new interfaces, skins, tools and so on is decidedly a better way to be different or better or both. Messing with the way HTML renders… not so good.

So what to do now. I for one have realized the power and benefit of validating for W3C standards. I was like many and did not care too much about it for a long time. I used to try and validate for HTML 4.01 Strict or even XHTML1.0 transitional and found it frustrating that there were 38 errors and half of them I didn’t even know why they were wrong. Now, I have seen the light and its all good. The key thing to remember is that for every error there is a solution that turns out to be better than the old way.Once you “get it”, you won’t know why you didn’t catch on sooner.

Happy validating! For more information and to validate your website visit the w3c validators.

CSS, Web Design

Interesting Facts about Web Hosting

April 28th, 2009

I finally figured out the web hosting business’ trick of the trade. It always boggled my mind that shared web hosting providers progressed from 100mb disk space and 3000mb of bandwidth a few years ago to “UNLIMITED” disk space and bandwidth for the same or even less cost. The cost is as little as $6 per month for all that web server power. How can they do that? Do they have infinite hard drives and unlimited resources for bandwidth? For a long time I wondered… what’s the catch? Well, I figured it out:

“Unlimited” does NOT include CPU usage and Memory.

Those have hard limits. Something as benign as a moderately popular blog (1000 – 2000 daily visits) will crash the server. If it doesn’t crash the server, the site will get shut down by the resource management software running the server so that it does not crash everyone else’s website that is sharing that server. When this happens, you will get a friendly note from your web host that your site is exceeding server resources and needs to scale-back or move to a more powerful server. Of course this is not limited to $6 shared hosting plans; it also applies to VPS hosting.

VPS (Virtual Private Server) is the step between shared hosting and dedicated. It gives you virtual control over your virtual server. However, the same limitations apply. Smaller VPS plans have as little as 128MB of RAM (memory). To put this in perspective, the average PC you can buy at your local PC retailer comes with 2GB (that’s GIGA BYTES) of ram while your basic VPS has 128MB (MEGA). It doesn’t take long to find out that your memory gets maxed out easily and you need to upgrade.

The bottom line is that your account is limited by the CPU and Memory allotted for your hosting account.  Hosting companies have the right to sell their services as they see fit. I do not claim that they are not offering adequate services or that they are ripping anyone off. I will say that by promoting “UNLIMITED” disk space and bandwidth they are deceiving people. Its misinformation and deceptive to say “UNLIMITED” when there are other limitations. Its sort of like a restaurant promoting an “all you can eat” buffet, but when you get there you find out that its all you can eat that fits on one plate. You can pile on the food, but you are in fact limited.

The real trick is that for the average small static website CPU and memory are never an issue. But as your website grows, you’ll find out that you don’t have what you thought you had and you will have to pay more. This is all well and good. The reason that it is questionable is that by promoting “UNLIMITED” stuff, they are not telling you the truth.

In the end, I respect businesses and entrepreneurship, but I don’t like deceptive marketing. I wish there were a host that would offer straight facts about the hosting service they are offering and disclose ALL the limitations up front, not buried in the 900 page terms and conditions that no one ever fully reads. Maybe I’ll start my own straight talk hosting service. I will give all the details right up front without deceptive marketing tactics. But then again, its hard to compete with “UNLIMITED” anything.

Hosting , ,