graceful-degradation

How important do you think Progressive Enhancement is?

Progressive Enhancement is a web development methodology that not only allows greater portability and accessibility but in my opinion, makes the development process easier. What I want is to know what the rest of the community think of this approach. In particular: What do you believe is the minimum set of technologies that a web appli...

Using respond_to for graceful degradation with ajax in RoR 2.x

I was going through the AWDR book on web development with ruby on rails and one of the issues with the old code was it didn't use respond_to to make sure the view used would be the javascript view. Now in some updated examples I've seen people mention they later, when implementing graceful degradation, use request.xhr? to tell if the use...

Any ideas on how to make edit-in-place degradable?

I'm currently writing an edit-in-place script for MooTools and I'm a little stumped as to how I can make it degrade gracefully without JavaScript while still having some functionality. I would like to use progressive enhancement in some way. I'm not looking for code, but more a concept as to how one would approach the situation. If you h...

GWT without Java Script?

I was looking into GWT. It seems nice, but our software have the must work without JS requirement. Is it possible? ...

Graceful degradation of anchor tags with javascript

I currently rely on anchor tags to perform AJAX requests on my web application (using jQuery). For example: <script type="text/javascript"> $(document).ready(function() { $("#test").click(function() { // Perform AJAX call and manipulate the DOM }); }); <a id="test" href="">Click me!</a> </script...

Graceful degradation and the AJAX Control Toolit Tabs control

I am using the ASP.NET AJAX Control Toolkit Tabs control on my site. I have three tabs, with a UserControl on each. If the user has JavaScript disabled in their browser I really need to see some graceful degradation - the contents of each tab arranged vertically would make sense. Does anyone know if this is supported/possible? ...

Validator in <noscript> causes JavaScript error

The following .NET 3.5 code, placed in an aspx file, will trigger a JavaScript error when the page is loaded (for users who have JavaScript enabled): <noscript> <asp:TextBox ID="txt" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="txt_RequiredFieldValidator" runat="server" ControlToValidate="txt"></asp:Requi...

Graceful degradation outside the domain of web applications: how significant a problem is it?

Apologies for the long intro - just trying to suitably set the scene to avoid ambiguities and confusion. Web applications have grown from being dumb browser-based interfaces for server-side logic to being fully browser-based applications with minimal need for server-side logic. It is possible to describe this evolution through identifyi...

Silverlight that degrades to html

I am interested in creating a website entirely in silverlight (personal reasons) but I don't want people who don't yet have silverlight (a good many) to have to install a plugin just to view my site. The solution I am leaning towards is to start with a flat html/css version of the site and present the silverlight version only to people w...

How do I show content when Javascript isn't available, hide it when javascript is available and not flicker in either case?

I have a simple form for shipping options and I am using javascript to auto submit the form when someone selects a new option from the drop down list. In order to support browsers without javascript there is also a button to submit the form. This button is hidden using javascript. However, this means my button is visible for a brief pe...

AJAXify site

Hello, I have legitimate reasons to do what I am trying to explain. I have an existing site say abc.com which has regular pages etc. everything written in php. Now I would like to AJAXify the site i.e. when a user clicks on a link, it should fetch the link using AJAX and replace the page contents. This is the easy part and I can achieve...

How to generate different links on web page if JavaScript is enabled?

I am trying to follow tecnhique of unobtrusive JavaScript / graceful degradation. I'd like to serve page with different links when JavaScript is turned on, and when JavaScript is turned off. For example when JavaScript is turned off the link would be <a href="script.cgi?a=action"> and when JavaScript is turned on <a href="script.cg...

Is graceful degradation in the absence of JavaScript still useful?

When even mobile browsers have JavaScript, is it really necessary to consider potential script-free users? ...

How do I refer to Java 1.6 APIs while degrading gracefully against Java 1.5?

I would like to use the java.text.Normalizer class from Java 1.6 to do Unicode normalization, but my code has to be able to run on Java 1.5. I don't mind if the code running on 1.5 doesn't do normalization, but I don't want it to give NoClassDefFoundErrors or ClassNotFoundExceptions when it runs. What's the best way to achieve this? ...

Gracefully-degrading pickling in Python

(You may read this question for some background) I would like to have a gracefully-degrading way to pickle objects in Python. When pickling an object, let's call it the main object, sometimes the Pickler raises an exception because it can't pickle a certain sub-object of the main object. For example, an error I've been getting a lot is...

Submit Link - No Javascript: Downsides?

Hello all, I came upon a revelation the other day. When attempting to create a submit button by using an image, I ran into a problem where the image was not displayed but the value text was. At the time, this is not what I wanted, but now, as I look back, I see some potential use for this. If you need to send data to another page, but ...

Javascript Ajax Graceful-degradation, with Different Pages?

I'm starting to give a little more attention to making my javascript and ajax degrade gracefully. Which is more recommended: working on incorporating the graceful degradation into your existing code (can be tricky) or developing a different sets of pages for the non-js users. I'm leaning towards the different sets of pages, because...

graceful degradation for globbing on terminal

Whenever glob pattern match fails, it stops the whole job. For instance, $ mv *.jpg *.png folder1 && blahblah mv: cannot stat `*.jpg': No such file or directory *.png isn't moved to folder1 and blahblah is not run. And the script below works only for the case when both .[A-z]* and * succeed. #!/bin/bash cd $1 du -sk .[A-z]* *| sort...

Information on client interrogation to determine execution ability?

I am looking for information concerning a proven process to interrogate the current user's client, and perhaps benchmark a code piece, to determine how effectively the client is executing certain types of code. Obviously writing code as efficiently as possibly is the constant goal. However certain features and effects tend to degrade th...

Anchored AJAX and SEO workaround?

You all know how to build AJAX sites with those 300ms trigger for checking anchors (hash links) in URL and then loading proper page with AJAX. But, these anchor links are nothing to search engines =( I've thought of making some kind of workaround. All JS code remains the same, but, this little thing (I'm with JQuery, sorry): $('a').liv...