Tuesday, June 30, 2015

Re: Roadmap Question for GWT 3.0

In addition to what Jens said:
If possible, go Restful. it makes it much easier to later add non-GWT clients and also forces you to think about your domain model as resources (might lead to a clean API).

I guess once Elemental 2.0 is released (AFAIK along the lines with GWT 3.0) you could  either use XMLHttpRequest or fetch (https://developers.google.com/web/updates/2015/03/introduction-to-fetch?hl=en) if you don't mind to use a polyfill for non-supported browser (maybe at that point all the evergreen browsers already support it natively) or use a higher abstraction (like RestyGWT, etc)


On Tuesday, June 30, 2015 at 12:42:51 PM UTC+2, Ed wrote:
@jens

Is there any downside to Request Builder?  Possible deprecation in GWT 3.0?

Best Regards

Ed

On Mon, Jun 29, 2015 at 1:43 PM, Ed <ej1...@gmail.com> wrote:
Thanks Jens, Great response, gives our devs something to learn.

On Mon, Jun 29, 2015 at 12:55 PM, Jens <jens.ne...@gmail.com> wrote:

1. GWT.create

<generate-with>: Annotation processors
<replace-with>: Dagger 2.x + AutoFactory (assisted inject) for injection and System.getProperty() to build the Dagger dependency graph based on your deferred binding properties.

For Dagger I created a pull request that generates a dagger-gwt artifact including a GWT module: https://github.com/google/dagger/pull/119



2. RPC

Anything that generates code in a way that is compatible with annotation processors so they can migrate to APT in the future. I guess you need to ask maintainers of your preferred alternatives and hear what they say. Regardless of GWT 3.0 I would never really use GWT-RPC again because things like RPC policy files, "do not use interfaces in serializable types" and that it is hard to consume outside of GWT are annoying.



-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment