What about non Javascript sites?

29 views
Skip to first unread message

raks

unread,
Sep 6, 2011, 9:43:42 AM9/6/11
to google-we...@googlegroups.com
Hi,

I am very taken with GWT and I believe will make maintaining my company's site easier.

However, they say they need to maintain a non JavaScript version of the site.

Any ideas how we can do this? Would it have to be a seperate site? Can the app be partitioned in some way?

Thanks

Raks

darkflame

unread,
Sep 6, 2011, 12:54:59 PM9/6/11
to Google Web Toolkit
It pretty much has to be seperate.
A lot of people have to do this merely for search engine reasons (that
is, dynamic content using # isnt well handeled by crawlers - assuming
they handel javascript at all, which most dont).

The typical way is to make a basic PHP based site which GWT provides a
shiny alternative view too.
While I dont know precisely what you need, you could (for example)
have the PHP take data from MySQL and echo it out formated beween
<NOSCRIPT> tags, but also have the data avaliable for the javascript
by echoing it to javacript var.

Either way, its a pain.

Alexandre Dupriez

unread,
Sep 7, 2011, 9:16:10 AM9/7/11
to Google Web Toolkit
Hello,

Could you please tell us more about the tier application you would
have to maintain? Which technology is used, if not Javascript?

karim duran

unread,
Sep 7, 2011, 11:22:52 AM9/7/11
to google-we...@googlegroups.com
Hi Raks & Alexandre,

Absolutely. It is even recommended to have a standard behavior if javascript is disabled (which is rare these days).
To do this, create web pages with a traditional business logic. They will be displayed without javascript  enabled.
If javascript is on, it must dynamically replace the contents of pages.
Many companies have this problem. But it requires more work to deal with....


Another way is to display a friendly message to the user. :
"JavaScript should be enabled on your browser in order to this application to run normally" or something like that.

I hope it helps.

Regards.

Karim Duran.

2011/9/7 Alexandre Dupriez <alexandr...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Alisson Prestes

unread,
Sep 8, 2011, 11:37:49 AM9/8/11
to google-we...@googlegroups.com
I heard (and someone here could confirm it or not) that Closure Templates, another tool developed by Google, has the ability to generate the same page either in server side or client side. Does anybody know if it is possible to integrate it with GWT?

Reply all
Reply to author
Forward
0 new messages