The last 3 months I have been working on a GWT Improvement Proposal
inspired by the idea of Ray Cromwell for Relaxing constraints on
GWT.create()<http://timepedia.blogspot.com.ar/2009/03/relaxing-constraints-on-gwtcreate.html>.
I wrote a technical document and implemented it as a fork
of GWT master at GitHub<https://github.com/andrestesti/gwt-rebindingmethods>
.
As a quick example of what is possible to do with Rebinding Methods, you
can look at the hellorebinding
sample<https://github.com/andrestesti/gwt-rebindingmethods/blob/master/samples/hellorebinding/src/com/google/gwt/sample/hellorebinding/client/MainWidget.java#L39>
:
public MainWidget() {
/*
* No boilerplate required to bind user interfaces.
*/
initWidget(UiBinders.createAndBindUi(Widget.class, MainWidget.class, this));
}
The working prototype is fully functional, and passed the same test suites
than GWT master. DevMode works fine, and I think SuperDevMode should work
too.
Please, feel free to add feedback in the document and/or GitHub. I
apologize for my possible grammatical errors, since I'm not english native
speaker.
Links of interest:
- Ray Cromwell's blog post:
http://timepedia.blogspot.com.ar/2009/03/relaxing-constraints-on-gwtcreate.html
- Rebinding Methods proposal:
https://docs.google.com/document/d/1K25f6-Hxtlj31pthapfUhmNxS1OPiUXZFtHDnHGjrpg
- Working prototype: https://github.com/andrestesti/gwt-rebindingmethods
Thanks in advance.
- Andrés Testi
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.