Re:Ask HN: Go HTML5 only for a new product?
by prateekdayal on Wednesday December 29, 2010 @09:39AM
(#2048769)
Thanks for the reply. I was planning on using some of the features like localStorage and notifications etc and not just css3 features for making things look better. Nevertheless, I think its a good idea to have graceful degradation.
[ Parent
| on HN ]
Re:Ask HN: Go HTML5 only for a new product?
by Isofarro on Wednesday December 29, 2010 @10:17AM
(#2048853)
Use wrapper methods/classes for each of those HTML5 specific features. Initially, probably for most of the early adopter phase you can get away with using/expecting the HTML5 feature to be present. When you do need to support browsers that don't support or brokenly support those features, you can add in support at the wrapper level without having to do any serious refactoring.
Also, keep a careful eye on the HTML5 draft recommendations, just in case features change their implementations. It's unlikely for a feature supported in two independent modern browsers to change unless there's a fundamental problem, or patent workaround needed.
Re:Ask HN: Go HTML5 only for a new product?
by ashamedlion on Wednesday December 29, 2010 @10:12AM
(#2048838)
Ah yes, those are good ones to use. I say screw it and use stuff like that. Just make sure that on your marketing page you explicitly say which browsers are supported so that you don't get a bunch of angry customers :)