views:

224

answers:

4

My question concerns Google Web Toolkit (GWT). I'm about to begin development for a project that will reside on an Intranet where some users may have JavaScript disabled. After seeing what GWT has done for Google Wave I've been very interested in learning and applying it to this new project, but if it isn't accessible to those users then I don't think I'll be able to use it. I noticed that the example applications on the GWT website don't work at all with JavaScript disabled. So, can GWT be used in a way where content and functionality is still accessible to users with JavaScript disabled? If not, wouldn't this be a massive oversight by Google?

If it's of any use, this project will be using Spring MVC 3.0 with Hibernate and JPA.

+6  A: 

The whole problem that GWT solves is JavaScript and AJAX programming. If you aren't targeting browsers that have that enabled, then GWT is not for your project. I wouldn't say its an oversight at all. Developing a framework that would leave JavaScript optional would either be very lowest common denominator, or very frustrating, as many features would have to be noted as requiring JavaScript.

Yishai
+1  A: 

Q: Can an entirely javascript based framework work with javascript turned off?
A: No

You could of course detect whether javascript is enabled and build an entirely different site for those users, but why bother? Tell them to turn javascript on if they want to use your site. Let's face it 30% of the internet is broken without javascript, and turning it off is very rare these days. That's 90's thinking that is ;)

rustyshelf
Unfortunately many large corporation and government Intranets feel like they are stuck in the 90's... Almost all of my users still use IE6, and think flash sites are as good as it gets! :p
Liam
If your target demographic is IE6 with Javascript turned off then you might as well give up on GWT now, and go back to the wonderful world of server side validation and presentation. Say hi to the past for me, I certainly don't miss it ;)
rustyshelf
A: 

GWT is a great tool in cleanup the badness of JS that is for certain, but it can't fix the bad developments and the whole world of other bad JS sites. So the cops and govs turn off them perhaps for a reason. The various flash are good looking and very interactive but I always find them over do the presentation as to the content and functionality. The ones that offers both doesn't seems to be very robust.

If you really like GWT and they are turning off the JS for the world, will they willing to turn it back on if the incoming JS contents are striped out at their internet gateway?

Ning120
A: 

GWT: Java->JS "compiler".

So, no.

abyx