Questions tagged [graceful-degradation]

Graceful-Degradation is the term used to describe the encapsulation of API specific calls such that your application can support the widest range of users. It's often used to provide the newest features to up-to-date devices while maintaining backward compatibility for older devices.

Graceful-Degradation is the term used to describe the encapsulation of API specific calls such that your application can support the widest range of users. It's often used to provide the newest features to up-to-date devices while maintaining backward compatibility for older devices.

118 questions
0
votes
1 answer

way to override borders when border-radius not supported

I am wondering if there is a way to not show borders when border radius is not supported without having to specifically target certain browsers/use modernizer. (I have a background image that shows up when no gradient support is present which…
Damon
  • 10,493
  • 16
  • 86
  • 144
0
votes
1 answer

Fancy box and graceful degredation?

I am trying to put in a log-in form via a lightbox using inline content, however, I would like to have this gracefully degrade if the user does not have javascript. According to the fancybox documentation, my anchor tag should have a href of the ID…
0
votes
1 answer

Check if Intl.DateTimeFormat options.dateStyle is supported?

Is there any way to check if the dateStyle option is supported in the Intl.DateTimeFormat API? I just became aware that older versions of Safari support Intl.DateTimeFormat but not options.dateStyle. I will have to do something else to handle date…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
0
votes
3 answers

Graceful degradation with HTML5 and nonJS enabled visitors

I am looking more heavily HTML 5 now, but I keep coming back to one issue and that's the practicality of using it without shooting myself in the foot. Most of the site I work on are for SMEs that target customer bases that typically use IE7 or 8 and…
TH1981
  • 3,105
  • 7
  • 42
  • 78
0
votes
1 answer

Is it possible for a DNS LoadBalancer RoundRobbin to do Graceful degradation?

I need to setup a LoadBalancing DNS entry, so a classic round robbin mechanism, given the following diagram: ________________ | | | CLIENT | …
ximbal
  • 3,178
  • 2
  • 17
  • 19
0
votes
1 answer

Gracefully degrade text-overflow CSS property

I'm using the text-overflow CSS property to get the ellipse effect, which I believe is only supported in IE as of now. My question is, I'm not looking for a work around to get it to work in Firefox, rather I am looking for a solution that gracefully…
MrRay
  • 952
  • 2
  • 10
  • 16
0
votes
0 answers

Graceful degradation in a docker container

Consider the following cases when nodejs runtime crashes or is forcefully taken down, I want to do some cleanup, for instance unregistering with consul which is a service registry and discovery utility. ["exit", "SIGINT", "SIGHUP", "SIGTERM",…
AppDeveloper
  • 1,816
  • 7
  • 24
  • 49
0
votes
1 answer

How can I degrade from Jquery carousel to css scrolling list gracefully

update I added these two lines to the script below: I ran the debugger and the execution appears to be removing the attributes, but the webpage continues to show the scroll bar. $("#newsticker-demo").removeAttr("overflow-y"); …
0
votes
2 answers

What is the correct way to gracefully fail Symfony service factory?

Symfony's documentation for service factories explains how to allow the service container to instantiate services using factories, but does not explain what the recommended best practice is when creation fails, i.e. when the service is not available…
Jay
  • 3
  • 2
0
votes
1 answer

Load stylesheet based on support for CSS custom properties?

supports a media attribute for conditionally loading CSS. Is there a media query that can approximate support for CSS variables? Somehow like this. It'd be okay if some browsers that support CSS vars get the legacy too but not the opposite.…
ryanve
  • 50,076
  • 30
  • 102
  • 137
0
votes
1 answer

How to fade-in content with graceful degradation

I'm working with a team that makes heavy use of the "fade-in" effect to animate the rendering of images, and even text sometimes. You can see the kind of effect I'm describing here: http://www.seafireresidencescayman.com/seven-mile-beach The…
0
votes
0 answers

Best practice to gracefully fallback in perl module if log4perl not installed

Ok, so I'm trying to learn to properly use log4perl. It seems like it would make sense that I could write a module that uses log4perl, but can also be distributed to a system where log4perl is not installed and still run without failing, just not…
ipetrik
  • 1,749
  • 18
  • 28
0
votes
2 answers

How to gracefully do a rolling deployment in mesos-marathon

Currently if you deploy a new version of docker image using mesos-marathon framework, the containers having old images will get a SIGTERM and after 3 seconds they get a SIGKILL and are terminated immediately. If we integrate the framework with…
ajays20078
  • 368
  • 1
  • 3
  • 10
0
votes
1 answer

how do I ensure graceful death in rails?

I am new to ruby and rails but seem to be getting the hang of it better than I expected... So I have a few instance methods, within which calls to ruby gems are made. When one of them throws an error, how do I get that to gracefully pass back to…
user308096