[ 29 posts ] Go to page 1, 2, 3 Next

Mike Wilson

  • Username: mikewse
  • Joined: Mon Jan 11, 2010 3:33 am
  • Posts: 2
  • Offline
  • Profile

long-term browser support strategy and plan for ie6 support

Post Posted: Mon Jan 11, 2010 4:44 am
+0-
Looking at Yahoo's Graded Browser Support Updates (f ex http://yuiblog.com/blog/2009/10/16/gbs-update-2009q4/), forecasts are only made for the upcoming quarter. What is YUI's long-term strategy for browser support - cut off browsers after a certain number of years or when going below a certain market share?

[I'm asking because of the current trend (among some webdevs and also library developers) advocating to remove IE6 support and force these users to upgrade their browser. I work with several clients that do not want to "lead the way" in this respect, and need to support IE6 as long as it has a fair usage share, which may be for several more years.]

Thanks
Mike

Eric Miraglia

YUI Contributor

  • Username: miraglia
  • Joined: Tue Sep 02, 2008 10:59 am
  • Posts: 205
  • Location: Los Gatos, CA
  • Twitter: miraglia
  • GitHub: miraglia
  • Gists: miraglia
  • Offline
  • Profile
Tags:

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Mon Jan 11, 2010 10:27 am
+0-
Mike,

Among the major library developers, I don't believe there's a move to stop supporting IE6. Marketshare remains substantial, and abandoning IE6 would mean losing those users in many cases -- many of them are unable to upgrade.

YUI 2 and 3 both support IE6 fully -- we expect that to continue. For how long? That will be dictated by marketshare, among other things. We'll certainly forecast a change of that magnitude with plenty of advance notice as part of our regular GBS updates.

-Eric

Eric Miraglia

YUI Contributor

  • Username: miraglia
  • Joined: Tue Sep 02, 2008 10:59 am
  • Posts: 205
  • Location: Los Gatos, CA
  • Twitter: miraglia
  • GitHub: miraglia
  • Gists: miraglia
  • Offline
  • Profile
Tags:

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Mon Jan 11, 2010 11:04 am
+0-
Thomas Sha correctly points out that the Dojo team is indeed having this conversation in an ongoing conversation on their contributors list. Alex Russell, among others, is advocating for a "sooner rather than later" strategy for deprecating IE6 support (sooner meaning something like 2011).

I don't see a public archive for that discussion, but it's a very active topic on their list -- so, you're right, this is being discussed for real by at least one of the major libraries.

-Eric

Mike Wilson

  • Username: mikewse
  • Joined: Mon Jan 11, 2010 3:33 am
  • Posts: 2
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Mon Jan 11, 2010 2:07 pm
+0-
Yes, the Dojo discussion was one of the main drivers I was thinking about.

FWIW, I think BBC's Glow library is doing the right thing in this respect, by actually publishing their rules [1] for deprecating a browser version (basically, a number of factors are evaluated when the browser falls to 1-2% market share). This is a big advantage for a company trying to select a suitable library, as it is possible to see if the library matches the company's view on browser support not only today, but also to predict what it will look like over time.

So, while it is good that you will publish IE6 deprecation warnings well in advance, it will be no good for my clients that I just migrated from Dojo if you decide that the cut-off point is 5% and they need 1% ;-).

Best regards
Mike

[1] http://www.bbc.co.uk/guidelines/futurem ... port.shtml

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Tue Jan 12, 2010 1:59 am
+0-
An advantage with YUI is that Yahoo is a very real user. YUI is not the consequence of a nice idea but it came out of a practical need and it shows in a lot of practical considerations in its design. The other example you provide is also of a toolkit tied to another big site.

Other toolkits out there, one step further from their users than the YUI team is, can spend their time in philosophizing about supporting this or that browser. Others have solid statistics to work with and a real need to reach people, they don't need opinions because they have real-life data.

Levan

  • Username: levancho
  • Joined: Thu Sep 17, 2009 3:29 am
  • Posts: 129
  • Location: New York, NY
  • Twitter: dlevancho
  • GitHub: levancho
  • Gists: levancho
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Thu Jan 14, 2010 8:47 am
+0-
tittle bit of off topic.

usually I take "current version -1" formula for supporting browsers , and I am soo glad IE6 falls outside that range :)

Adrian Ziemkowski

  • Username: ziemkowski
  • Joined: Thu Sep 17, 2009 11:10 am
  • Posts: 8
  • Twitter: ziemkowski
  • Offline
  • Profile
Tags:

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Wed Feb 10, 2010 12:35 pm
+0-
Satyam wrote:
An advantage with YUI is that Yahoo is a very real user. YUI is not the consequence of a nice idea but it came out of a practical need and it shows in a lot of practical considerations in its design. The other example you provide is also of a toolkit tied to another big site.


That's only a good thing if you're on the corporate "never let IE6 die" side of the fence.

If you're a lucky web application developer on a project without the IE6 crutch (or simply adding sugar to a blog or pet project), that relationship means you're using a library that will put priority on supporting users you don't support over progressive new features/enhancements.

The way YUI handles class names is a perfect example, there's no good reason post-ie6 to have the huge compound class names everywhere, but I'm stuck with them.

If YUI was on the opposite side of the issue, I bet we'd see plugins/modules/css that add support for old or fringe browsers when and where needed and wanted, rather than it being a non-optional core part of the build. Instead my library will be sporting IE6 habits when most of my IE users are on IE9, or maybe even 10. I'm actually surprised that isn't the case anyways, since I'd think users who need strong IE6 support would also probably prefer the maturity and stability of the 2 line over the 3 line.

Joe Developer

  • Username: JoeDev
  • Joined: Sat May 09, 2009 12:54 am
  • Posts: 73
  • Twitter: joe_developer
  • IRC: unomi
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Wed Feb 10, 2010 2:31 pm
+0-
I think it would be difficult, if not impossible for YUI to make a decision to cut ie6 loose.
Even if a number of the devs that leverage YUI have themselves.

I like the idea of ie6 cruft being an opt-in though, we already see that DOM.js leverages load-time branching, hopefully we can see if this can be applied further.

One thing to keep in mind, especially taking the example of classnames, your app becomes increasingly differentiated across host browsers. That is, you can no longer rely on the dirty hack of relying on yui generated classnames for event or style targetting.

Considering that the yui loader itself contains the UA component it could be able to cater to say dom-ie6-min.js behind the scenes. Ideally ofcourse this should take the form of a load-time feature detection suite yadda yadda :p

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Wed Feb 10, 2010 2:41 pm
+0-
We are looking at breaking out the browser specific code into their own submodules to be loaded only when needed.

Not only does that help with IE6, but it can also help with mobile browsers and large widgets like Editor and DataTable. With Editor, the majority of the hacking code comes for things other than Firefox. So loading all that extra code in FF is a waste of bandwidth and processor power. If we split the code out, then loader would be smart enough to only load what the current browser supports. On the mobile side, for a smart phone, you would only be including modules that support WebKit, then iPhone/Android/etc browsers will get a customized version of YUI.

The reasoning for most of the classnames is deeper than just supporting .foo.bar style. If we use specific classnames instead of relying on tags and css cascade, we and the end users are free to change the markup associated with the widget.

For example, if we wrote an internal event listener like this ".foo.bar > em", that becomes overly specific and the user is now bound to only using that markup structure. That makes it difficult for them to add style elements to their widget markup, while it breaks our listeners.

Changing that to ".yui-foo-bar .yui-widget-tab" allows the developer to completely change the markup of the widget, all they have to do is make sure their markup classnames are in the right place.

Does that make sense/help?

Adrian Ziemkowski

  • Username: ziemkowski
  • Joined: Thu Sep 17, 2009 11:10 am
  • Posts: 8
  • Twitter: ziemkowski
  • Offline
  • Profile

Re: long-term browser support strategy and plan for ie6 support

Post Posted: Wed Feb 10, 2010 3:01 pm
+0-
davglass wrote:
We are looking at breaking out the browser specific code into their own submodules to be loaded only when needed.


Nice. That makes perfect sense, especially with the amount of mobile/legacy/etc variation and how submodules already play such a large part in yui3.

davglass wrote:
The reasoning for most of the classnames is deeper than just supporting .foo.bar style. If we use specific classnames instead of relying on tags and css cascade, we and the end users are free to change the markup associated with the widget.


I was thinking more between the two, still prepended with .yui- but generalizing concepts into standard classes like .yui-hidden, .yui-disabled, .yui-active, etc. so that the object (.yui-menuitem) and the state (.yui-active or .yui-visible) are separate so you could avoid things like .yui-menu-label-menuvisible or .yui-resize-handle-l-active. It's too late for that sort of change though so it's all academic at this point.
  [ 29 posts ] Go to page 1, 2, 3 Next
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum