Posts Tagged ‘support’

Living with the Legacy

Thursday, November 13th, 2008

As developers we seem to naturally always want to be on the cutting edge, the internet therefore often seems to be the best place to be to scratch this itch. Whilst this is largely true we also have a bit of a large downside to deal with as well, the horror that is legacy issues. Let me show you a practical example, I was recently reading a horror story of a feature from Javascript extraordinaire John Resig. Essentially it boils down to a feature which was developed rather short-sightedly a number of years ago. Because this is a long standing feature it is therefore potentially utilised in billions of web pages. Can we fix this “bug”? The short answer is unfortunately no, fixing this “bug” will potentially break far too many sites. What we are left with are legacy problems which we have to work with. It is the same issue as having to deal with the blight of IE6, we all know it is broken, we developers hate it with a passion, but we can’t do a lot about it. There’s a bleeding edge of development we’d all love to be working on but it is tantalisingly out of reach because of the legacy we all live with.

I have long been of the opinion of - well that sucks but hey what can we do? Lately though I have been wondering how long we can continue working like this? I shudder to think how much money the economy bleeds through supporting these legacy issues, I know we spend a large proportion of front-end development time wrestling with cross browser support. What if we just said no, we will no longer do that. We will no longer accommodate these issues. I can see two things happening here, first let’s take the bug mentioned above. Let’s say we will say no more to DOM0 expando properties, from now on they are gone. What will happen is that we may break a ton of code, but is this such a bad thing? If the code is that important wouldn’t it be worth fixing for the greater good? Don’t break the web has long been a mantra from Microsoft, yet even they have seen the folly in this approach and in their next release of IE8 they have opted for standards which will potentially break a lot of existing code.

The second thing I could see happening if we were to say no to legacy issues is pretty much what the concept of progressive enhancement is built on. We say ok we know there are legacy issues, but accommodating these legacy issues is too much work. As long as the application works, if it isn’t the best experience, hey we can live with it. People affected may have an option here, users may be able upgrade their browsers to remove the legacy issues and probably should be actively encouraged to do so. It would be a bold move for sure, however if you have followed the development technique of progressive enhancement you are not actively excluding people.

Another thought I had (or more likely read somewhere else and took as my own) was updating some of the legacy issues which are actually bugs through automatic updates. Browser vendors fix security bugs, why not fix layout bugs as well? Whether this would work or not I’m not sure. If people don’t upgrade their browsers, they’re probably unable or unlikely to install automatic updates. Still it could potentially get around one of the problems highlighted here, enterprises could choose not to install such updates and then their internal applications wouldn’t get affected. Or imagine being able to switch your layout engine or javascript engine on the fly, an update for IE6/7 could be created which did just this. Ok my brain just overloaded with the potential confusion this could cause.

What we really need is a brilliantly simple solution to the legacy issues, anybody?

IE6 stats, could they be skewed?

Wednesday, August 27th, 2008

This is a bit of a followup to my post in July about ‘Standards still on the horizon’. Given that according to some figures IE6 still commands about 36% of browser market share is it reasonable to stop supporting the browser given such a high percentage of potential users. The answer in my mind was a resounding no - it’s a simple numbers game. However after having read an article yesterday on Sitepoint I’m no longer convinced that argument is so simple.

This article suggests that perhaps a high percentage of traffic that is atributed to IE6 could in fact be bots masquerading as IE6. SPAM and malicious bots could conceivably represent a high volume of traffic on the internet and as such could well be skewing the IE6 browser share. Of course the other numbers still hold true, with corporate users and users unable to upgrade for whatever reason still commanding a high enough percentage of the market to still support the browser.

Food for thought though!

Standards still on the horizon

Friday, July 4th, 2008

2008 is looking like a good year for standards, or is it? The browser wars continue to rumble on, Firefox, Opera and Safari all have recent updates which push their standards compliance forward yet another notch. IE continues to lag behind, but has a new browser round the corner with better, if not ground breaking, support. Could development finally be getting easier for us developers? I’d like to think it was, but the sad reality is that even with all these advancements in support it will be a few years yet before we can reap the rewards.

Even though it is two years since IE7 was launched and IE8 will hopefully be released at the back end of this year or early next it doesn’t mean a great deal to the now. IE6 is still around and is likely to be around for some time to come. The simple reason behind this is that IE6 still commands a high percentage of browser share, likely due to corporations who have applications that are dependent on IE6 features and people who are unable to update IE6 for lets say “legal” reasons. The lack of adoption of Vista contributes to this, all of which means that although it is a blot on the browser landscape IE6 will continue to be a thorn in our sides.

It would take a very bold client to ignore such a high percentage of their potential users, especially when one of the users tends to be themselves or their boss. So for all the strides browser vendors are making in standards support, if we cannot reliably use it, the frustration remains! Some people are making tentative steps in the “right” direction, 37 signals, for instance have announced that from August they are dropping full support for IE6 for some of their products. Unfortunately cases such as this are very much in the minority.

So the future still promises to be rosier, but for the moment it’s still a distant dream…