-
1. Re: Errai data binding vs. GWT editors
csa Nov 21, 2012 2:42 PM (in response to jonas.zuberbuehler)Hi Jonas,
One of the main goals of Errai is to provide a boilerplate-less and declarativ programming model.
If you use data binding as a standalone GWT component you get a (hopefully) very simple to use API:
https://docs.jboss.org/author/display/ERRAI/Data+Binding
Combined with Errai UI you get a declarativ (annotation driven) programming model:
https://docs.jboss.org/author/display/ERRAI/Errai+UI#ErraiUI-DataBinding
The same question can be asked for Errai RPC vs. GWT RPC, Errai UI vs. GWT's UiBinder, etc. So, yes, these features have similiar goals but approach them differently mainly to alleviate boilerplate and make you more productive (e.g. less code to maintain, easier refactorings, etc.).
Your feedback is always welcome!
Cheers,
Christian
-
2. Re: Errai data binding vs. GWT editors
jonas.zuberbuehler Nov 22, 2012 3:02 AM (in response to csa)Thank you Christian.
I must admit that I haven't used Errai UI so far and after reading about it I didn't grasp why there needs to be
@DataField
besides the@UiField
and same for the data binding vs. GWT editors. Don't get me wrong, what I've used of Errai so far I think it's great! But since I have no experience with Errai UI I'd have a harder time to convince a fellow engineer to use it by only reading the docs.That's why I posted the question here.Anyways, I'm exited to use the new features and I'm sure gonna do it in the near future! And feedback I will provide for sure
Cheers
--jonas