The Failures of my First AJAX Application: Part 9

This is the 9th an Final part of my Failures of my First AJAX application series. This is titled: "It accomodated the lowest common denominator in web browsers, therefore it was not as client (as in browser) as I wanted."

Hmm, looking at that I am trying to remember exactly what it meant.

Ahh, now I remember.

I am used to developing in Internet Explorer, so whilst coding and testing the App, I didn't give much notice to Firefox. I kind of just assumed it would work.

The first time I tested in Firefox, I got a lot of security errors (Cross domain data retrieval). Once I had sorted that out by creating proxy scripts I tried it again. This time the errors revolved around the fact that XML DOM model is slightly different in both browsers and requires a little bit more effort in the Javascript to have the same code that IE and Firefox can both use to process XML nodes.

So basically the moral of the story is that you should always think about cross browser support before you start to develop, it will save you a lot of time in the long run. Think about features that one browser has that the other doesn't. If you do this correctly then you should be able to code around the missing features, much like CSS developers do.

The next version of the application will be completly cross-browser compatible, I might even consider testing it in Safari and the like [I need you, the reader to help me here :)].

That pretty much concludes the Success and Failures series, and it has been a great help to work out the requirements for my next version of the application.

Hopefully one of tomorrows entries will contain the start of formalising some requirements. :)

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]