Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

GWT and HTML5

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm asking myself if it's possible to mix both GWT and HTML5.
Would this be possible without having to fear side-effects?

In my case, it mainly deals with developing "standard" HTML components (=less than HTML5) - but for future compatibility, I would like to set up already an "HTML5 project".

What about eclipse plugins concerning HTML5?
As far as I know, the GWT plugin isn't likely to produce HTML5 output (ok, I know, it's a matter of doctype only within the first step), isn't it?

Thanks for any suggestions?
I'm still new to GWT ... and in the Internet, I could hardly find answers to such issue.
 
Ranch Hand
Posts: 110
Google Web Toolkit Java Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulrich,

I believe that isn't a problem to use HTML5 since you use deferred binding to detect if it's possible to do what you want in that given browser, in case it's not you may do something else that looks like what you want (a poor alternative) or a warning to your user.

Search about the Deferred Binding feature of GWT and about create components, certainly this project will be very cool, post here or send me a private message when you research/do more about it.

And about the eclipse plugin, he doesn't really matter what "kind" of HTML is, at the maximum you'll not able to use auto-completion on html5 components, but it's eval as plain text. Your only concern will be about the GWT and deferred binding, i believe in it's default implementation will not allow you to render a html5 component, but if you create your own component and rules of deferred binding it may be possible.

Hope it help, feel free to ask more question in here or by private message.
 
Ulrich Vormbrock
Ranch Hand
Posts: 73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot, Jayr - you've helped me a lot!
Now I've got an idea about "Deferred Binding"
 
Jayr Motta
Ranch Hand
Posts: 110
Google Web Toolkit Java Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect! But don't forget to send me a message/e-mail when you create an open-source project and research more about it .. i'm very interested on this subject!
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic