渐进增强和优雅降级有什么区别?

时间:2022-09-06 08:15:36

I'm confused on what the difference is between Progressive Enhancement and Graceful Degradation. To me they seem like the same thing.

我对进步增强和优雅降级之间的区别感到困惑。对我来说,他们似乎是一样的。

Can you please explain to me the differences between the two and in which situation I would use one over the other?

你能否向我解释两者之间的差异以及我将使用哪一种情况?

8 个解决方案

#1


80  

They ARE almost exactly the same thing, but they differ in context.

它们几乎完全相同,但它们的背景不同。

There is a class of browsers called "A Grade Browsers". These are your typical audience members that (probably) make up the majority of your visitors. You'll start with a baseline of these users. Call this best modern practices.

有一类浏览器称为“A级浏览器”。这些是典型的受众成员(可能)构成了大多数访问者。您将从这些用户的基线开始。称之为最佳现代实践。

If you want to enhance the experience for anyone happening to use FF3.6 or Safari 4 or some other whizbang developer nightly webkit whathaveyou, you'll want to do awesome things like

如果你想增强使用FF3.6或Safari 4或其他一些开发者夜间webkit whathaveyou的人的体验,你会想做一些很棒的事情,比如

  • rounded corners via css
  • 圆角通过CSS
  • shadowed text (but please god, not TOO much)
  • 阴影文本(但请上帝,不要太多)
  • drop shadows (see above parenthetical)
  • 阴影(参见上面的括号内容)

These make your site kick-ass looking, but won't break it. This is progressive enhancement. Embracing the future from the point of best practices.

这些让你的网站看起来很好看,但不会破坏它。这是渐进式增强。从最佳实践的角度迎接未来。

On the other hand, your niche Nintendo site attracts a fair number of IE5 users. Poor you, but you also want to make sure they keep coming back. You might provide an alternative to your ajax behavior by including the ajax script in an external file and if their JS isn't turned on, maybe your links update the whole page. Etc. From the point of view of best modern practices, you're making sure that certain historical markets are being catered by some semblance of a functional site. This is graceful degradation.

另一方面,你的利基任天堂网站吸引了相当数量的IE5用户。你很差,但你也想确保他们继续回来。您可以通过在外部文件中包含ajax脚本来提供ajax行为的替代方法,如果他们的JS没有打开,那么您的链接可能会更新整个页面。等等。从最佳现代实践的角度来看,您确保某些历史市场正在通过功能性网站的某些外观来满足。这是优雅的退化。

They are mostly identical, but differ in terms of priority for many development teams: PE is quite nice if you have the time, but GD is often necessary

它们大多相同,但在许多开发团队的优先级方面有所不同:如果你有时间,PE非常好,但GD通常是必要的

#2


32  

If your site looks equally good on all browsers, but certain browsers get, say, dancing ponies because they support dancing ponies, then that's Progressive Enhancement. It works in all browsers, but certain browsers get something extra. Usually that term is applied to certain Javascript features that may enhance usability beyond "raw HTML".

如果您的网站在所有浏览器上看起来同样出色,但是某些浏览器会因为它们支持跳舞小马而跳舞小马,那就是渐进式增强。它适用于所有浏览器,但某些浏览器可以获得额外的功能。通常该术语适用于某些Javascript功能,这些功能可能会增强“原始HTML”之外的可用性。

If your site only looks the way you intend to on browsers that fully support, say, CSS3, and IE8- will display the same page without, say, rounded corners, then that's Graceful Degradation. The site is really meant for state-of-the-art browsers, but it's still usable in older browsers, just not as fancy.

如果你的网站只是看起来像你打算完全支持的浏览器,比如CSS3和IE8-将显示相同的页面,而不是圆角,那就是优雅的降级。该网站真正适用于最先进的浏览器,但它仍然可以在旧版浏览器中使用,只是不那么花哨。

In the end, they're really the same thing, looked at from two different perspectives.

最后,从两个不同的角度来看,它们真的是一样的。

#3


21  

The direction from a chosen baseline for each concept is different.

每个概念的选定基线的方向是不同的。

Graceful Degradation starts at a ideal user experience level and decreases depending on user agent capabilities down to a minimum level, catering for agents that don't support certain features used by the baseline.

优雅降级从理想的用户体验级别开始,并根据用户代理功能降低到最低级别,适用于不支持基线使用的某些功能的代理。

Progressive Enhancement starts at a broad minimum user experience and increases depending on user agent capabilities up to a more capable level, catering for agents that support more advanced features than the baseline.

渐进式增强功能始于最广泛的最低用户体验,并且根据用户代理功能的增加而增加,直至更高级别,适用于支持比基线更高级功能的代理。

I think that one could employ both concepts if time/budget permit. If not then graceful degradation would be preferred.

如果时间/预算允许,我认为可以使用这两个概念。如果不是那么优选的降解将是优选的。

#4


10  

Sorry to resurrect something that's way over a year old, but felt I could contribute, in some small way, my own opinion on the matter.

很抱歉复活了一年多的事情,但我觉得我可以用一些小的方式贡献自己对此事的看法。

Although I agree with both Alex Mcp and deceze in a way, The terms "Graceful Degradation" and "Progressive Enhancement" have slightly different meanings from where I stand.

虽然我同意Alex Mcp和deceze两种方式,但“优雅降级”和“渐进增强”这两个术语与我的立场略有不同。

Graceful degradation, a lot of the time (in my opinion), seems to be more of a stick to beat an app into submission after it's been built badly in the first place in my experience. Like someone building out some vast javascript object that provides the user with something really cool to play with, until a manager comes along, tests the thing and everyone runs screaming throwing their arms around when it comes to their attention that their app doesn't work in 35% of browsers. "Someone better provide a fallback for this."

在很多时候(在我看来),优雅的降级似乎更像是一个坚持在我的经验中首先被严重构建的应用程序投入提交。就像有人建立了一些巨大的javascript对象,为用户提供了一些非常酷的东西,直到经理出现,测试这个东西,每个人都尖叫着,当他们注意到他们的应用不起作用时,他们会搂着他们在35%的浏览器中。 “有人能更好地为此做出回击。”

Progressive Enhancement though (and it's such a nicer term to say too) would seem to me to be more about building something that just works, on an entry level, everywhere, through the most basic methods available, to provide all the functionality that the user needs. This can then be added to with neat little unobtrusive helpers, styling etc. that actually enhance the user experience of the application in question, rather than just make it barely useable. "That looks cool. Does it work in IE6. Oh yeah. It Does"

虽然渐进式增强(并且它也是一个更好的术语)在我看来更多的是通过最基本的方法,在入门级,无处不在的地方构建可正常工作的东西,以提供用户的所有功能需要。然后,这可以添加到整洁的小的不显眼的助手,样式等,实际上增强了所讨论的应用程序的用户体验,而不是仅仅使其几乎不可用。 “看起来很酷。它在IE6中是否有效。哦是的。它确实如此”

I think maybe giving style as an example of Both terms in the top two answers here kind of overlooks the real underlying usability issue that progressive enhancement often solves by its very nature, where graceful degradation ignores until things go wrong.

我认为也许将风格作为前两个答案中两个术语的一个例子,这类似于忽略了渐进增强通常通过其本质解决的真正潜在的可用性问题,在这种情况下,优雅的退化会忽略,直到出现问题。

Rant over...

咆哮...

#5


7  

Graceful degradation is the practice of building your web functionality so that it provides a certain level of user experience in more modern browsers, but it will also degrade gracefully to a lower level of user in experience in older browsers. This lower level is not as nice to use for your site visitors, but it does still provide them with the basic functionality that they came to your site to use; things do not break for them.

优雅降级是构建Web功能的实践,因此它可以在更现代的浏览器中提供一定级别的用户体验,但它也会在较旧的浏览器中优雅地降低到较低级别的用户体验。这个较低级别不适合您的网站访问者使用,但它仍然为他们提供了他们来到您的网站使用的基本功能;事情不会为他们打破。

Progressive enhancement is similar, but it does things the other way round. You start by establishing a basic level of user experience that all browsers will be able to provide when rendering your web site, but you also build in more advanced functionality that will automatically be available to browsers that can use it.

渐进增强是类似的,但它反过来做事情。您首先建立所有浏览器在呈现您的网站时能够提供的基本用户体验级别,但您还构建了更高级的功能,这些功能将自动提供给可以使用它的浏览器。

In other words, graceful degradation starts from the status quo of complexity and tries to fix for the lesser experience whereas progressive enhancement starts from a very basic, working example and allows for constant extension for future environments. Degrading gracefully means looking back whereas enhancing progressively means looking forward whilst keeping your feet on firm ground.

换句话说,优雅降级从复杂性的现状开始,并尝试修复较少的体验,而渐进式增强从一个非常基本的工作示例开始,并允许对未来环境的不断扩展。优雅地降级意味着回头看,而逐步提升则意味着向前看,同时保持脚踏实地。

#6


6  

Graceful Degradation

Graceful degradation is the ability of a computer, machine, electronic system or network to maintain limited functionality even when a large portion of it has been destroyed or rendered inoperative. The purpose of graceful degradation is to prevent catastrophic failure.

优雅降级是指计算机,机器,电子系统或网络即使在大部分功能被破坏或无法运行时也能保持有限功能的能力。优雅降级的目的是防止灾难性的失败。

Graceful degradation is one solution. It is the practice of building a web site or application so it provides a good level of user experience in modern browsers. However, it will degrade gracefully for those using older browsers. The system may not be as pleasant or as pretty, but the basic functionality will work on older systems.

优雅降解是一种解决方案。这是构建网站或应用程序的做法,因此它在现代浏览器中提供了良好的用户体验。但是,对于那些使用旧浏览器的人来说,它会优雅地降级。系统可能不那么令人愉快或漂亮,但基本功能将适用于旧系统。

A simple example is the use of 24-bit alpha-transparent PNGs. Those images can be displayed on modern browsers without problems. IE5.5 and IE6 would show the image, but transparency effects would fail (it can be made to work if necessary). Older browsers that do not support PNG would show alt text or an empty space.

一个简单的例子是使用24位alpha透明PNG。这些图像可以毫无问题地在现代浏览器上显示。 IE5.5和IE6会显示图像,但透明效果会失败(必要时可以使其工作)。不支持PNG的旧版浏览器会显示替代文字或空格。

Developers adopting graceful degradation often specify their browser support level, e.g. level 1 browsers (best experience) and level 2 browsers (degraded experience).

采用优雅降级的开发人员通常会指定其浏览器支持级别,例如: 1级浏览器(最佳体验)和2级浏览器(降级体验)。

Progressive Enhancement

Progressive enhancement is a strategy for web design that emphasizes accessibility, semantic HTML markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth.

渐进增强是一种网页设计策略,强调可访问性,语义HTML标记以及外部样式表和脚本技术。渐进增强功能以​​分层方式使用Web技术,允许每个人使用任何浏览器或Internet连接访问网页的基本内容和功能,同时还为具有更高级浏览器软件或更高带宽的用户提供增强版本的页面。

Progressive enhancement is similar concept to graceful degradation but in reverse. The web site or application would establish a base-level of user experience for most browsers. More advanced functionality would then be added when a browser supports it.

渐进增强是与优雅降级类似的概念,但相反。该网站或应用程序将为大多数浏览器建立基本级别的用户体验。当浏览器支持它时,将添加更高级的功能。

Progressive enhancement does not require us to select supported browsers or revert to table-based layouts. We choose a level of technology; i.e. the browser must support HTML 4.01 and standard page request/responses.

渐进增强不需要我们选择支持的浏览器或恢复到基于表格的布局。我们选择一种技术水平;即浏览器必须支持HTML 4.01和标准页面请求/响应。

Going back to our image example, we might decide that our application should be functional in all graphical browsers. We could use a lower-quality GIF images by default but replace them with 24-bit PNGs when the browser supports them.

回到我们的图片示例,我们可能会决定我们的应用程序应该在所有图形浏览器中都能正常运行。我们可以默认使用质量较低的GIF图像,但在浏览器支持时用24位PNG替换它们。


Links

Wikipedia : Progressive Enhancement and Graceful Degradation(Fault_tolerance)

*:渐进式增强和优雅降级(Fault_tolerance)

Source : Sitepoint Blog

来源:Sitepoint博客

#7


0  

I find it tends to be attitudinal - are you saying "okay, my site works with Lynx, users can do everything I want them to be able to do, now lets add some panache", or are you saying "okay, my site works in Firefox, now lets try to fix it for people not willing to use that/who turn off javascript/etc"

我发现它往往是态度 - 你说“好吧,我的网站与Lynx合作,用户可以做我希望他们能够做的一切,现在让我们添加一些”,或者你说“好吧,我的网站工作在Firefox中,现在让我们尝试为不愿意使用它/关闭javascript / etc的人修复它“

#8


-1  

to make it easier, just set your bar right at the top then you can ignore progressive enhancement. when a new feature comes out raise your bar ;)

为了使它更容易,只需将您的栏设置在顶部,然后您可以忽略渐进增强。当一个新功能出来提高你的酒吧;)

or alternatively set your bar to the lowest level (lynx perhaps?) and just use progressive enhancement.

或者将您的栏设置为最低级别(lynx也许?)并且只使用渐进式增强。

#1


80  

They ARE almost exactly the same thing, but they differ in context.

它们几乎完全相同,但它们的背景不同。

There is a class of browsers called "A Grade Browsers". These are your typical audience members that (probably) make up the majority of your visitors. You'll start with a baseline of these users. Call this best modern practices.

有一类浏览器称为“A级浏览器”。这些是典型的受众成员(可能)构成了大多数访问者。您将从这些用户的基线开始。称之为最佳现代实践。

If you want to enhance the experience for anyone happening to use FF3.6 or Safari 4 or some other whizbang developer nightly webkit whathaveyou, you'll want to do awesome things like

如果你想增强使用FF3.6或Safari 4或其他一些开发者夜间webkit whathaveyou的人的体验,你会想做一些很棒的事情,比如

  • rounded corners via css
  • 圆角通过CSS
  • shadowed text (but please god, not TOO much)
  • 阴影文本(但请上帝,不要太多)
  • drop shadows (see above parenthetical)
  • 阴影(参见上面的括号内容)

These make your site kick-ass looking, but won't break it. This is progressive enhancement. Embracing the future from the point of best practices.

这些让你的网站看起来很好看,但不会破坏它。这是渐进式增强。从最佳实践的角度迎接未来。

On the other hand, your niche Nintendo site attracts a fair number of IE5 users. Poor you, but you also want to make sure they keep coming back. You might provide an alternative to your ajax behavior by including the ajax script in an external file and if their JS isn't turned on, maybe your links update the whole page. Etc. From the point of view of best modern practices, you're making sure that certain historical markets are being catered by some semblance of a functional site. This is graceful degradation.

另一方面,你的利基任天堂网站吸引了相当数量的IE5用户。你很差,但你也想确保他们继续回来。您可以通过在外部文件中包含ajax脚本来提供ajax行为的替代方法,如果他们的JS没有打开,那么您的链接可能会更新整个页面。等等。从最佳现代实践的角度来看,您确保某些历史市场正在通过功能性网站的某些外观来满足。这是优雅的退化。

They are mostly identical, but differ in terms of priority for many development teams: PE is quite nice if you have the time, but GD is often necessary

它们大多相同,但在许多开发团队的优先级方面有所不同:如果你有时间,PE非常好,但GD通常是必要的

#2


32  

If your site looks equally good on all browsers, but certain browsers get, say, dancing ponies because they support dancing ponies, then that's Progressive Enhancement. It works in all browsers, but certain browsers get something extra. Usually that term is applied to certain Javascript features that may enhance usability beyond "raw HTML".

如果您的网站在所有浏览器上看起来同样出色,但是某些浏览器会因为它们支持跳舞小马而跳舞小马,那就是渐进式增强。它适用于所有浏览器,但某些浏览器可以获得额外的功能。通常该术语适用于某些Javascript功能,这些功能可能会增强“原始HTML”之外的可用性。

If your site only looks the way you intend to on browsers that fully support, say, CSS3, and IE8- will display the same page without, say, rounded corners, then that's Graceful Degradation. The site is really meant for state-of-the-art browsers, but it's still usable in older browsers, just not as fancy.

如果你的网站只是看起来像你打算完全支持的浏览器,比如CSS3和IE8-将显示相同的页面,而不是圆角,那就是优雅的降级。该网站真正适用于最先进的浏览器,但它仍然可以在旧版浏览器中使用,只是不那么花哨。

In the end, they're really the same thing, looked at from two different perspectives.

最后,从两个不同的角度来看,它们真的是一样的。

#3


21  

The direction from a chosen baseline for each concept is different.

每个概念的选定基线的方向是不同的。

Graceful Degradation starts at a ideal user experience level and decreases depending on user agent capabilities down to a minimum level, catering for agents that don't support certain features used by the baseline.

优雅降级从理想的用户体验级别开始,并根据用户代理功能降低到最低级别,适用于不支持基线使用的某些功能的代理。

Progressive Enhancement starts at a broad minimum user experience and increases depending on user agent capabilities up to a more capable level, catering for agents that support more advanced features than the baseline.

渐进式增强功能始于最广泛的最低用户体验,并且根据用户代理功能的增加而增加,直至更高级别,适用于支持比基线更高级功能的代理。

I think that one could employ both concepts if time/budget permit. If not then graceful degradation would be preferred.

如果时间/预算允许,我认为可以使用这两个概念。如果不是那么优选的降解将是优选的。

#4


10  

Sorry to resurrect something that's way over a year old, but felt I could contribute, in some small way, my own opinion on the matter.

很抱歉复活了一年多的事情,但我觉得我可以用一些小的方式贡献自己对此事的看法。

Although I agree with both Alex Mcp and deceze in a way, The terms "Graceful Degradation" and "Progressive Enhancement" have slightly different meanings from where I stand.

虽然我同意Alex Mcp和deceze两种方式,但“优雅降级”和“渐进增强”这两个术语与我的立场略有不同。

Graceful degradation, a lot of the time (in my opinion), seems to be more of a stick to beat an app into submission after it's been built badly in the first place in my experience. Like someone building out some vast javascript object that provides the user with something really cool to play with, until a manager comes along, tests the thing and everyone runs screaming throwing their arms around when it comes to their attention that their app doesn't work in 35% of browsers. "Someone better provide a fallback for this."

在很多时候(在我看来),优雅的降级似乎更像是一个坚持在我的经验中首先被严重构建的应用程序投入提交。就像有人建立了一些巨大的javascript对象,为用户提供了一些非常酷的东西,直到经理出现,测试这个东西,每个人都尖叫着,当他们注意到他们的应用不起作用时,他们会搂着他们在35%的浏览器中。 “有人能更好地为此做出回击。”

Progressive Enhancement though (and it's such a nicer term to say too) would seem to me to be more about building something that just works, on an entry level, everywhere, through the most basic methods available, to provide all the functionality that the user needs. This can then be added to with neat little unobtrusive helpers, styling etc. that actually enhance the user experience of the application in question, rather than just make it barely useable. "That looks cool. Does it work in IE6. Oh yeah. It Does"

虽然渐进式增强(并且它也是一个更好的术语)在我看来更多的是通过最基本的方法,在入门级,无处不在的地方构建可正常工作的东西,以提供用户的所有功能需要。然后,这可以添加到整洁的小的不显眼的助手,样式等,实际上增强了所讨论的应用程序的用户体验,而不是仅仅使其几乎不可用。 “看起来很酷。它在IE6中是否有效。哦是的。它确实如此”

I think maybe giving style as an example of Both terms in the top two answers here kind of overlooks the real underlying usability issue that progressive enhancement often solves by its very nature, where graceful degradation ignores until things go wrong.

我认为也许将风格作为前两个答案中两个术语的一个例子,这类似于忽略了渐进增强通常通过其本质解决的真正潜在的可用性问题,在这种情况下,优雅的退化会忽略,直到出现问题。

Rant over...

咆哮...

#5


7  

Graceful degradation is the practice of building your web functionality so that it provides a certain level of user experience in more modern browsers, but it will also degrade gracefully to a lower level of user in experience in older browsers. This lower level is not as nice to use for your site visitors, but it does still provide them with the basic functionality that they came to your site to use; things do not break for them.

优雅降级是构建Web功能的实践,因此它可以在更现代的浏览器中提供一定级别的用户体验,但它也会在较旧的浏览器中优雅地降低到较低级别的用户体验。这个较低级别不适合您的网站访问者使用,但它仍然为他们提供了他们来到您的网站使用的基本功能;事情不会为他们打破。

Progressive enhancement is similar, but it does things the other way round. You start by establishing a basic level of user experience that all browsers will be able to provide when rendering your web site, but you also build in more advanced functionality that will automatically be available to browsers that can use it.

渐进增强是类似的,但它反过来做事情。您首先建立所有浏览器在呈现您的网站时能够提供的基本用户体验级别,但您还构建了更高级的功能,这些功能将自动提供给可以使用它的浏览器。

In other words, graceful degradation starts from the status quo of complexity and tries to fix for the lesser experience whereas progressive enhancement starts from a very basic, working example and allows for constant extension for future environments. Degrading gracefully means looking back whereas enhancing progressively means looking forward whilst keeping your feet on firm ground.

换句话说,优雅降级从复杂性的现状开始,并尝试修复较少的体验,而渐进式增强从一个非常基本的工作示例开始,并允许对未来环境的不断扩展。优雅地降级意味着回头看,而逐步提升则意味着向前看,同时保持脚踏实地。

#6


6  

Graceful Degradation

Graceful degradation is the ability of a computer, machine, electronic system or network to maintain limited functionality even when a large portion of it has been destroyed or rendered inoperative. The purpose of graceful degradation is to prevent catastrophic failure.

优雅降级是指计算机,机器,电子系统或网络即使在大部分功能被破坏或无法运行时也能保持有限功能的能力。优雅降级的目的是防止灾难性的失败。

Graceful degradation is one solution. It is the practice of building a web site or application so it provides a good level of user experience in modern browsers. However, it will degrade gracefully for those using older browsers. The system may not be as pleasant or as pretty, but the basic functionality will work on older systems.

优雅降解是一种解决方案。这是构建网站或应用程序的做法,因此它在现代浏览器中提供了良好的用户体验。但是,对于那些使用旧浏览器的人来说,它会优雅地降级。系统可能不那么令人愉快或漂亮,但基本功能将适用于旧系统。

A simple example is the use of 24-bit alpha-transparent PNGs. Those images can be displayed on modern browsers without problems. IE5.5 and IE6 would show the image, but transparency effects would fail (it can be made to work if necessary). Older browsers that do not support PNG would show alt text or an empty space.

一个简单的例子是使用24位alpha透明PNG。这些图像可以毫无问题地在现代浏览器上显示。 IE5.5和IE6会显示图像,但透明效果会失败(必要时可以使其工作)。不支持PNG的旧版浏览器会显示替代文字或空格。

Developers adopting graceful degradation often specify their browser support level, e.g. level 1 browsers (best experience) and level 2 browsers (degraded experience).

采用优雅降级的开发人员通常会指定其浏览器支持级别,例如: 1级浏览器(最佳体验)和2级浏览器(降级体验)。

Progressive Enhancement

Progressive enhancement is a strategy for web design that emphasizes accessibility, semantic HTML markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth.

渐进增强是一种网页设计策略,强调可访问性,语义HTML标记以及外部样式表和脚本技术。渐进增强功能以​​分层方式使用Web技术,允许每个人使用任何浏览器或Internet连接访问网页的基本内容和功能,同时还为具有更高级浏览器软件或更高带宽的用户提供增强版本的页面。

Progressive enhancement is similar concept to graceful degradation but in reverse. The web site or application would establish a base-level of user experience for most browsers. More advanced functionality would then be added when a browser supports it.

渐进增强是与优雅降级类似的概念,但相反。该网站或应用程序将为大多数浏览器建立基本级别的用户体验。当浏览器支持它时,将添加更高级的功能。

Progressive enhancement does not require us to select supported browsers or revert to table-based layouts. We choose a level of technology; i.e. the browser must support HTML 4.01 and standard page request/responses.

渐进增强不需要我们选择支持的浏览器或恢复到基于表格的布局。我们选择一种技术水平;即浏览器必须支持HTML 4.01和标准页面请求/响应。

Going back to our image example, we might decide that our application should be functional in all graphical browsers. We could use a lower-quality GIF images by default but replace them with 24-bit PNGs when the browser supports them.

回到我们的图片示例,我们可能会决定我们的应用程序应该在所有图形浏览器中都能正常运行。我们可以默认使用质量较低的GIF图像,但在浏览器支持时用24位PNG替换它们。


Links

Wikipedia : Progressive Enhancement and Graceful Degradation(Fault_tolerance)

*:渐进式增强和优雅降级(Fault_tolerance)

Source : Sitepoint Blog

来源:Sitepoint博客

#7


0  

I find it tends to be attitudinal - are you saying "okay, my site works with Lynx, users can do everything I want them to be able to do, now lets add some panache", or are you saying "okay, my site works in Firefox, now lets try to fix it for people not willing to use that/who turn off javascript/etc"

我发现它往往是态度 - 你说“好吧,我的网站与Lynx合作,用户可以做我希望他们能够做的一切,现在让我们添加一些”,或者你说“好吧,我的网站工作在Firefox中,现在让我们尝试为不愿意使用它/关闭javascript / etc的人修复它“

#8


-1  

to make it easier, just set your bar right at the top then you can ignore progressive enhancement. when a new feature comes out raise your bar ;)

为了使它更容易,只需将您的栏设置在顶部,然后您可以忽略渐进增强。当一个新功能出来提高你的酒吧;)

or alternatively set your bar to the lowest level (lynx perhaps?) and just use progressive enhancement.

或者将您的栏设置为最低级别(lynx也许?)并且只使用渐进式增强。