- Version targeting
In
computing , version targeting is a technique that allows a group of (presumably knowledgeable) users (includingsoftware developer s) utilise some advancedsoftware features that were introduced in a particularsoftware version while allowing users accustomed to the prior versions still utilise the same software as if the new features were never added to the software. It is a way to ensurebackwards compatibility when new software features would otherwise break it.The term "version targeting" is mostly applied in the context of
Web browser s, although the concept is not limited to any specific kind of software application.Fact|date=September 2008 In Web browsers, aDOCTYPE declaration serves a similar purpose.In Mozilla Firefox
Version targeting has been used in
Mozilla Firefox http://www.alistapart.com/articles/minorthreat] when it introducedJavaScript 1.6 inFirefox 1.5 [http://developer.mozilla.org/en/New_in_JavaScript_1.6] and JavaScript 1.7 inFirefox 2.0 : [http://developer.mozilla.org/en/New_in_JavaScript_1.7#Using_JavaScript_1.7] developers willing to use the newscripting engine had to explicitly .Proposed use in Internet Explorer
Version targeting was proposed by
Microsoft for use in itsInternet Explorer 8 product-in-development, but the idea was later discarded.http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx] [http://www.sitepoint.com/blogs/2008/03/04/microsoft-backflips-on-browser-version-targeting/]The proposal came after the release of
Internet Explorer 7 which improved itsCSS 2.1 support [http://msdn.microsoft.com/en-us/library/bb250496.aspx] at the cost of causing somewebsites that were developed forInternet Explorer 6 to be rendered incorrectly when viewed with the new browser version.http://www.alistapart.com/articles/beyonddoctype] [http://www.etre.com/blog/2006/10/ie7_were_they_ready/]Microsoft contacted the
Web Standards Project and experts onWeb standards and asked for assistance in devising a newDOCTYPE -like technique that could work across browsers and letWeb developer s specify exact browser versions under which theirWeb site s are known to work correctly, and browsers implementing this form of version targeting would utilise the correctrendering engine versions to display the site correctly. Members of theWaSP Microsoft Task Force were involved in the proposal, albeit not every member backed it. [http://www.webstandards.org/2008/01/22/microsofts-version-targeting-proposal/]Some commentators suggested that it would be possible to use Internet Explorer 8's support for new DOCTYPEs in order to avoid using its version targeting meta tag. [http://ejohn.org/blog/html5-doctype/]
Criticism
The concept of version targeting, especially as proposed by Microsoft, has been criticised for being a new form of
browser sniffing and for violating the principle offorward-compatible development whereprogressive enhancement is preferred.http://www.alistapart.com/articles/fromswitchestotargets]Version targeting has been compared to
Apple Inc. 's Time Machine, [http://apple.com/macosx/features/timemachine.html] and has thus been criticised for not giving incentives to developers to plan ahead forforward compatibility .Positive reception
Version targeting has been welcomed by some people as a means to enable browsers adopt Web standards without breaking
compatibility with Web sites depended on old rendering engines for their functionality. [http://www.zeldman.com/2008/01/22/in-defense-of-version-targeting/]References
Bibliography
* [http://www.glendathegood.com/wasp/transcript.html WaSP IE8 round table discussion]
Wikimedia Foundation. 2010.