Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Mention the pros and cons of UIBinder in GWT.

I want to develop a big project. Is it flexible to use UIBinder for my project?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

UI Binder lets you write your display elements using a xml/html like language, and in a declarative way. This is generally cleaner than not using it and creating your display elements in Java code.

Also, if you work with designers, they will be much more comfortable working the UIBinder to modify the display of a page, rather than Java code. I would recommend using UIBinder if you can.

share|improve this answer
    
@Oleski can I get the better output by without using UI binder? –  YuPPie Jul 11 '13 at 0:39
    
@YuPPie Not as fast as I know. You can check which features they support, but I believe you should be able to do almost the same set of things with each. –  Oleksi Jul 11 '13 at 23:39
add comment

The biggest advantage of GWT in the process creating DOM is UiBinders, also known as “Declarative Layout”.

  • The UiBinder is a framework designed to separate Functionality and View of User Interface.

  • The UiBinder framework allows developers to build gwt applications as HTML pages with GWT widgets configured throughout them.

  • The UiBinder framework makes easier collaboration with UI designers who are more comfortable with XML, HTML and CSS than Java source code

  • The UIBinder provides a declarative way of defining User Interface.

  • The UIBinder separates the programmic logic from UI.

  • The UIBinder is similar to what JSP is to Servlets.

Copied from tutorialspoint: GWT - Using UiBinder

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.