Tuesday, November 30, 2010

Re: MVP *without* UiBinder

no code completion support
If you're using Google plugin ecplise, you have it.

 no event click navigation from the ui.xml file
don't know what you mean.

 no wyswug viewer
Have you tried GWT designer ?

assosociated java editor in eclipse all highlighting
Shouldn't happen using GPE. 

 Using UIBinder to write what Stephen wrote:
<g:FlowPanel>
  <g:TextBox ui:Field="a" />
  <g:TextBox ui:Field="b" />
</g:FlowPanel>

The the java file:

@UiField
TextBox a;
@UiField
TextBox b;

  @Inject
  public AdminGeneralView(final Binder uiBinder) {
    initWidget(uiBinder.createAndBindUi(this));
  }

Well to me, it feels right. It feels web. Have you ever took a look into MXML ? XAML ? Well, declarative Ui style is the modern way to write Ui and with Gwt Designer getting better and better every day, there's no reason to back off from learning how to use UiBinder.

Cheers,

On Tue, Nov 30, 2010 at 7:36 PM, JosephLi <joseph.li22@gmail.com> wrote:
Hi Jeff,

Is there some special tools u are using to build utilize the UiBinder
way to easily build gui?
I tried it, but I also tried Google's latest offering on the Window's
Builder, which in gives me the impression that it is way more
efficient to build gui with. The tools directly support event click
code navigation right under eclipse, supports css styling directly
with code completion,it event supports reparsing the source to
regenerate the dev view in the tool in case the tool crashed and so
far it worked pretty good.

However when I go the UiBinder way, I got no code completion support,
no event click navigation from the ui.xml file, no wyswug viewer
without deploying the code to see what it looks like. And worst of
all, the assosociated java editor in eclipse all highlighting the
uibinder fields are not found in the ui.xml file. All these makes the
whole thing feel disconnected and not so well tooled compared to the
GWT Windows Builder. So I am wonder if I am missing something when u
say it helps u being productive?


Thanks
Joseph


On Nov 30, 5:18 pm, Jeff Larsen <larse...@gmail.com> wrote:
> UiBinder is at least 2-3x faster to develop with once you get the hang
> of it (it really isn't hard). Take the time to learn it, your code
> will be infinitely more readable, maintainable and manageable.
>
> On Nov 30, 3:52 pm, Christian Goudreau <goudreau.christ...@gmail.com>
> wrote:
>
>
>
> > Well... UiBinder is almost only made of HTML sementics, I don't see why you
> > can't take 1 hours to learn it...
>
> > I made the switch 3 months after gwt 2.0 release and now, I can't live
> > without. It's easier, faster than it ever was before to build Ui.
>
> > Cheers,
>
> > On Tue, Nov 30, 2010 at 4:33 PM, cri <chuck.irvine...@gmail.com> wrote:
> > > I'm in the process of trying to learn GWT 2.1 MVP. At this point we
> > > don't have very good knowledge of UiBinder and we're not sure that we
> > > want to learn and use it. I'm having trouble understanding the sample
> > > Hello/Goodbye application (at the GWT docs site) since it relies on
> > > UiBinder. More specifically, I don't know what alternate methods I
> > > need to use that will take the place of UiBinder functionality. Would
> > > someone that understands this stuff summarize what alternative classes/
> > > methods/patterns need to be utilized that would take the place of
> > > UiBinder functionality used in the Hello/Goodbye sample application?
> > > (or in some other way clue me in?). Thanks!
>
> > > --
> > > 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-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > Christian Goudreauwww.arcbees.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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Christian Goudreau

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment