Re: UIBinder Benefits?

2010-06-25 Thread Jaroslav Záruba
On Fri, Jun 25, 2010 at 7:28 PM, Stefan Bachert wrote: > Hi Sri, > > rewind where the discussion starts from > > readability: > I state java is much more readable the xml. > readablity improves understanding. > Could you agree with me? > Not when it comes to designing UI. To be honest, such claim

Re: UIBinder Benefits?

2010-06-25 Thread Stefan Bachert
Hi Sri, rewind where the discussion starts from readability: I state java is much more readable the xml. readablity improves understanding. Could you agree with me? debuggability the understanding of a declarative language depends totally on the documentation (We all know that document might mis

Re: UIBinder Benefits?

2010-06-25 Thread Stefan Bachert
Hi, > * a further language. No way to debug it > FALSE: xml is not a new language, there is an XSD, there is also a eclipse > editor with auto complete and inline problem highlighting to work with your > own ui.xml template. XML is rather structure of a language. When you consider this as a langua

Re: UIBinder Benefits?

2010-06-24 Thread Blessed Geek
On Jun 24, 11:15 am, Stefan Bachert wrote: You are going off topic, and you are not debating in honest way. Nope, never meant to debate but simply to relate why I am "dishonestly", mysteriously, inexplicably biased towards XML. You are looking to win a debate, I see. Sorry, you win the debate.

Re: UIBinder Benefits?

2010-06-24 Thread Andrew Hughes
There's some good doco on this on the GWT site * a further language. No way to debug it FALSE: xml is not a new language, there is an XSD, there is also a eclipse editor with auto complete and inline problem highlighting to work with your own ui.xml template. * limited to a set of widgets FAL

Re: UIBinder Benefits?

2010-06-24 Thread Sripathi Krishnan
Lets try to discuss the statement "XML is declarative, and therefore not debuggable. UIBinder uses XML, and therefore, is not debuggable". Totally agree on the first part of the statement - XML is a mess if you put logic into it. But, here is the key point - you cannot put logic in *.ui.xml even i

Re: UIBinder Benefits?

2010-06-24 Thread Stefan Bachert
On Jun 23, 7:49 pm, Blessed Geek wrote: > Looking at your annotation, I find that I have to learn yet another > language. Annotation are regular java. And UiBinder is using annotations, too. > I mean learning the annotation style as a language. > > UiBinder is in XML and if you are familiar wit

Re: UIBinder Benefits?

2010-06-23 Thread Chris Boertien
That has to be the most disturbing use of annotations I have ever seen... on so many levels... On Wed, Jun 23, 2010 at 11:52 AM, jocke eriksson wrote: > Great post! > Jocke > > 2010/6/23 Blessed Geek >> >> Looking at your annotation, I find that I have to learn yet another >> language. >> I mean

Re: UIBinder Benefits?

2010-06-23 Thread jocke eriksson
Great post! Jocke 2010/6/23 Blessed Geek > Looking at your annotation, I find that I have to learn yet another > language. > I mean learning the annotation style as a language. > > UiBinder is in XML and if you are familiar with XML, it's a breeze to > understand what's going on. > > For the ma

Re: UIBinder Benefits?

2010-06-23 Thread Blessed Geek
Looking at your annotation, I find that I have to learn yet another language. I mean learning the annotation style as a language. UiBinder is in XML and if you are familiar with XML, it's a breeze to understand what's going on. For the many many years doing distributed computing in industrial env

Re: UIBinder Benefits?

2010-06-23 Thread Stefan Bachert
Hi, On Jun 22, 3:36 pm, Andrew Hughes wrote: > Almost all of the "problem's" listed below are bad advice and I suggest you > disregard them. Do you, or others, have any valid arguments (opinions are no valid arguments) I am not going to do things the wrong or the poor way just because most peop

Re: UIBinder Benefits?

2010-06-22 Thread Andrew Hughes
Almost all of the "problem's" listed below are bad advice and I suggest you disregard them. Except for the "it's a graphic designer mindset" - this statement is correct. Thankfully we no longer need to code our layout and style in java! The main problem I have with UiBinder is that when you try an

Re: UIBinder Benefits?

2010-06-21 Thread Jaroslav Záruba
On Mon, Jun 21, 2010 at 9:43 PM, rakesh wagh wrote: > Infact my question is, why xml? why not yaml or json? > Because HTML is de-facto XML? And given UiBinder is mix of HTML + the UI-definition the choice has been obvious, IMO. Not speaking of data-structure definition, format validation, transf

Re: UIBinder Benefits?

2010-06-21 Thread rakesh wagh
uibinder separate layout out of your ui. pre uibinder we would use inner class to create hierarchy like structure for layout right inside java! That kind of code would look bit messy and unstructured to some one who is not familiar with the style of programming. As a developer, I would like to keep

Re: UIBinder Benefits?

2010-06-21 Thread Tristan
One key benefit I realized recently is having another developer come in and style up the application. No need for anything but opening UiBinder files and adding some css in different places, hitting refresh and seeing how it looks. No need to understand framework used, any logic code, nothing. That

Re: UIBinder Benefits?

2010-06-21 Thread Sripathi Krishnan
I think I disagree with you on almost all points. I have been using UIBinder much before GWT2.0 was officially released, and I think to use GWT straight-from-trunk to leverage UIBinder was the best architectural decision we made. a further language. No way to debug it Its the language of the web.

Re: UIBinder Benefits?

2010-06-21 Thread Stefan Bachert
Hi, I don't use UiBinder in general. It may be nice for some hacks. UiBinder has a lot of problems * a further language. No way to debug it * limited to a set of widgets * it is a graphic designer mindset (we do this app, the app is our concern) not a developer mindset (we do this class of apps,

Re: UIBinder Benefits?

2010-06-21 Thread Gal Dolber
Beside of how easier its to write layouts in xml instead of java and the fact that you can easily embed css, images and other resources, if you use uiBinder with HTMLPanel you will get the best effortless performance with gwt. 2010/6/20 spierce7 > thanks :-) > > On Jun 20, 9:39 pm, Jaroslav Záru

Re: UIBinder Benefits?

2010-06-20 Thread spierce7
thanks :-) On Jun 20, 9:39 pm, Jaroslav Záruba wrote: > http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html > > I think you will have idea of the benefits once you start reading that. :) > > On Mon, Jun 21, 2010 at 3:23 AM, spierce7 wrote: > > Does using the UI Binder provide any

Re: UIBinder Benefits?

2010-06-20 Thread Jaroslav Záruba
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html I think you will have idea of the benefits once you start reading that. :) On Mon, Jun 21, 2010 at 3:23 AM, spierce7 wrote: > Does using the UI Binder provide any benefits? I watched some of the I/ > O conference, and it seemed

UIBinder Benefits?

2010-06-20 Thread spierce7
Does using the UI Binder provide any benefits? I watched some of the I/ O conference, and it seemed like they made reference that the UI Binder using the browsers native rendering engine (or something like that), and it being a lot faster, but they didn't really specify whether that was the layout