Archive for the Web Development Category

Victoria’s Secret Doesn’t Know The Right Way To Build A Website, Or Just Doesn’t Care

VictoriasSecret.com I can’t help it, I’m a front end guy so as I peruse the web and I see something that sparks my interest I fire up Firebug, my go-to Firefox plugin to see the “meat and potatoes of a website”. Websites are like onions and I like to analyze the layers to get at the good stuff, deconstruct it, and understand it.

I work on Yumdrop.com, a popular lingerie site. Often I’m out there looking to see what the competition is doing to see how we stack up and also evaluate how well we’re pushing the envelope in our particular niche. Victoria’s Secret is by far the leader in this industry as far as market share, but their website could’ve been built in 2002.

When I peeled back Giselle’s onion I was flabbergasted. I haven’t seen egregious CSS like this in a long time. As developers have embraced web standards over the years (something I have done from the start) and standards based practices have been understood and adopted, people have just gotten a better understanding of how it all comes together. You don’t see blatant misuse of CSS like this anymore. Even basic knowledge of CSS inheritance could let them avoid this debacle.

On http://www2.victoriassecret.com/html/includes/globalstyles_normal.css for example:

.blacktext {color:#000000; font-family:Arial, Helvetica,sans-serif; font-size:10px; }
.blacktext2 {color:#000000; font-family:Arial, Helvetica,sans-serif; font-size:11px; font-weight:bold }
.blacktext3 {color:#000000; font-family:Arial, Helvetica,sans-serif; font-size:11px; }
.text2 {color:#333333; font-family:Arial, Helvetica,sans-serif; font-size:11px; text-decoration: none;}
.text3 {color:#333333; font : 10px/14px Arial, Helvetica, sans-serif; text-decoration: none;}
.textPink {color:#FF76A4; font-family:Arial, Helvetica,sans-serif; font-size:10px; }
.textPink11px {color:#FF76A4; font-family:Arial, Helvetica,sans-serif; font-size:11px; }
.textPinkBold {color:#FF76A4; font-family:Arial, Helvetica,sans-serif; font-weight:bold;font-size:11px; }

It goes on and on and makes me quite agitated :(

Turn off Javascript. They use it to write OUT their styling.

No Javascript, No Styling, NO degradation. You end up with something like THIS ». The complete header with site navigation and footer don’t even render, making the site pretty useless to navigate or use.

And as laughable as all this it keeps getting better!

The site navigation is 1 large image map! This is just not done in practice. How can screen readers access the content? How do visually impaired users shop?

Never mind degradation here, there are so many better ways to construct such navigation. Each time you visit a different department you must create a whole new image map image. What a waste of time. If your navigation changes, you have to recreate all of the active department images all over again. With modern development techniques this just makes no sense.

There’s just too much to point out so I’ll just list the rest I briefly spotted in the 5 minutes I looked..

  • They’re using a centered div w/ css to center the containing wrapper, but they use tables for layout.
  • Extraneous use of classes all over the markup because they don’t understand inheritance.
  • Validate much? Of course not, are you even surprised though?

As a web developer, you think that “doing things the right way” is part of building a successful web presence, but as time goes on I’m beginning to realize that it really doesn’t matter as much as we often think. I wonder if Victoria’s Secret developers know that it is not developed with the best practices, I wonder if they care. I wonder if they have an internal team or whether they just outsourced it to a very misguided web shop.

If anyone at VS wants me to scramble their onion, contact me. You deserve better.

Popularity: 11% [?]

Camino Bitch-Slapped By BlackPlanet

I was reading a readwriteweb article (Perspective: Myspace Still Kicking Facebook’s Ass in Traffic) on social networks today and they showed some Hitwise data on the most popular social networks (see below).

social_hitwise.png Chart From Hitwise

I have a MySpace and Facebook profile but I never go on MySpace anymore since FB opened up their network to 3rd party applications. Plus being a web developer I can just tell that FB was built right - as opposed to Myspace which is a giant CF.

So I looked down the list:

  1. Myspace - check, I have a profile
  2. Facebook - check check, I go there constantly
  3. Bebo - Popular in Britain, ok I’m familiar with it
  4. BlackPlanet - ???

So I figured I’d check it out. Then I was greeted with THIS Bitch Slap Bitch Slapped!!!

Camino Como? Huh? They don’t support the latest version of Camino?

It’s pretty funny that they want you to upgrade to Firefox 2 when Firefox and Camino are both open source projects of the Mozilla Foundation and share exactly the same Gecko rendering engine.

These days with standards based development processes we don’t have to “browser sniff” any longer. If BlackPlanet didn’t get the memo,the right way to go about it is “feature sniffing” with locked down degradation. You should really look into Jeremy Keith’s DOM Scripting and perhaps read A List Apart from time to time. It really pisses me off when I run across this type of neglect on the Internet…

Ongoing List of Neglect

As I find these offenders the list will grow.

Popularity: 13% [?]