1

So I'm a relatively junior programmer, been doing it for a couple years now and have been recently working on a redo of the company's website, and have ran into some frustrations and was just wondering if that's the way it goes or if I'm missing something. I am by no means a designer, I focus on the code and don't pay much attention to how pretty it looks, that's someone else's job as far as I'm concerned.

That being said, I have been working on getting some things to work and the cross Browser problems have made me hate Web Development. I try to get html5 videos and no go, put in a flash backup and only works on half. Throw a Google api in and it looks like crap in ie and opera. The actual code behind doesn't work in ie7. It just seems like one thing after another. As I said I'm new to Web Development. Is this just the way it is? Throw some basic code in, then take all day/week to make it work everywhere? I've cooled off since my initial frustration but I'm just wondering if this is normal practice or how typical web programming goes, because it seems pretty lousy to be right about now. Thanks!

gnat
  • 21,442
  • 29
  • 112
  • 288
user1767270
  • 303
  • 1
  • 2
  • 5
  • possible duplicate of [How are you handling browser compatibility in the new "rapid release" world?](http://programmers.stackexchange.com/questions/91945/how-are-you-handling-browser-compatibility-in-the-new-rapid-release-world) and of [Why is it unrealistic to expect all browsers to support the same standards?](http://programmers.stackexchange.com/questions/103048/why-is-it-unrealistic-to-expect-all-browsers-to-support-the-same-standards) – gnat May 06 '13 at 06:21
  • Not directly related to your question, but because of your video problem, have you considered using [jwplayer](http://www.longtailvideo.com/jw-player/about/)? It handles all the HTML5/Flash incompatibility problems for you when doing video. Although learning effort needed as well, I had good experience with it. – Uooo May 06 '13 at 06:45
  • I am not sure if this is a good question which fits well in a Q&A format. It sounds more like a rant. Maybe you can edit it so that it is answerable? Currently, it looks like you want to hear an answer like *"Yeah, that's web development, it sucks"*. – Uooo May 06 '13 at 06:49

1 Answers1

3

In the beginning, there were standards. Then, every browser decided to interpret them differently, add new features, and just plain forget the standard. Unfortunately, coding against all these browsers is a headache. Most of the normal layout will "just work," but fancy things (HTML5, CSS3, etc.) will not work in older versions of IE and probably doesn't work quite the same across all browsers (we have the standard border-shading CSS property, the -webkit and -mozilla prefixes for older versions of those browsers, and ActiveX filters to make IE do the same thing).

There is some hope, though. Browsers are getting better every release. IE 10 is far more compliant than IE 7, which is something you specifically called out. There are also HTML 5 shims that you can use to add some support for older browsers. JavaScript frameworks like jQuery iron out peculiar DOM bugs and other inconsistencies in implementations (although you'll want to use the 1.9 branch rather than the new 2.0 branch to keep support for legacy browsers). The web is slowly getting better, but until we can all agree on everything, you have ease of programming, browser support, and functionality to consider. You can only pick two.

mgw854
  • 1,818
  • 10
  • 11
  • It comes with the territory - as a web engineer / developer you have to dabble with scripting , styling et al - & not just the logic - to varying levels depending on the app. And cross browser compatibility is a cornerstone for most modern webapps so you don't have a choice - just know that with more experience you will learn your way through each browsers implementation. – Sandeep May 06 '13 at 05:12