This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes approach for supporting webworkers in older browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "approach for supporting webworkers in older browsers" Watch "approach for supporting webworkers in older browsers" New topic
Author

approach for supporting webworkers in older browsers

Shell Bryson
Greenhorn

Joined: Jul 23, 2012
Posts: 3
Having experimented somewhat with Webworkers in Google Chrome, I can see a lot of potencial. However, I'm cautious about moving forward due to the lack of support in older browsers.

So my question:
Application design wise, what would be the best approach to building a modern cross-device web app leveraging Web Worker support without sacrificing support for legacy browsers?

(obviously not expecting detail! that's what the book is for.)


@shellbryson
http://shellbryson.com
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I just looked at the TOC, it does not look like this is covered. Maybe I missed it.

Eric
Ido Green
author
Greenhorn

Joined: Jul 27, 2010
Posts: 25
The book contain information around it :)
You will want to leverage Modernizr and do something like:


The main problem is what do you do in these older browsers...
and for that, you need to see what will be the right solution for your case so your site/web app will do 'graceful degradation' and the user won't suffer.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: approach for supporting webworkers in older browsers