Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vaadin alternative for heavily loaded UI

Currently I am programming the Web Application based on Vaadin. I am quite happy with the learning cycle and the way how easy UI can be designed.

In general pluses of Vaadin are:

  • "Native" UI programming for Java users (component hierarchy / event listeners / drag & drop / validation).
  • Out-of-box nice collection of components (tree / table / list / ...).

The minuses are:

  • Big and complex HTML output. That slows down the browser response time (also mentioned here and there) and leads to some rendering peculiarities from browser to browser.
  • Difficulties in handling big number of components (see Can CustomLayout handle 5000 components?).
  • The need to recompile the widget set if you use 3rd party components.

My question to community is:

What Web Framework fits best the following requirements:

  • Separation of presentation with event/action handlers.
  • Common components out of box (with advanced features like table column drag&drop, lazy loading).
  • Layout support (no headache with padding and alignment of components).
  • Event propagation to server and server-side event processing.
  • Possibility to generate your HTML (if framework is not HTML-based) and also capture events for it (e.g. mouse clicks).
  • Possibility to register key stoke callbacks (e.g. Ctrl-S) is a plus.
  • Short learning curve for Java developer is a plus.

The sensible mix of approaches would fit as well. Please, provide the link for "Hello World" application, implemented based on the framework that you suggest. I am considering Apache Wicket / Echo2 / Tapestry / Click / GWT, but it's difficult to make a choice without playing for couple of months (hopefully with no deep disappointment).

like image 264
dma_k Avatar asked Jan 04 '12 20:01

dma_k


People also ask

Is Vaadin a good framework?

Vaadin is a mature web framework for developing rich internet applications. Building web-based GUIs with Vaadin feels like developing a desktop application, which is great, comfortable and fast. However, there are situations where Vaadin is not suitable.

Is Vaadin scalable?

Collaborative workplace web apps must typically accomodate hundreds, even thousands of concurrent users without putting a strain on the servers. Building your web app on Vaadin ensures your project a great starting point for scalability.

Is Vaadin frontend or backend?

Vaadin is a full-stack web app platform. This means that, unlike React or Angular, Vaadin helps you with the backend of the application and makes it easier to coordinate frontend and backend work.

Is Vaadin based on GWT?

Vaadin is a known framework to GWT developers. Vaadin used GWT to build a full fledged application framework. It is one of the main GWT based frameworks ( along with Errai framework) and provides some interesting capabilities like addons, themes, integrations with other Java frameworks such as Spring.


1 Answers

I completely agree with all your mentioned minuses and can not say very much against. Because I'm quite new in GWT I can only share my little experience I have collected other last 2 months.

  • Separation of presentation with event/action handlers.

I think UiBinder with annotation @UiHandler("closeButton") @UiField in GWT 2.0 and later is exactly for separation HTML form code and handlers. Also MVP pattern with event bus is perfect answer from GWT team.

  • Short learning curve for Java developer is a plus.

I'm not naive and I don't think that it's possible to get quality result only with java knowledge without understanding WEB technologies.

Most of GWT UI frameworks I have reviewed and read about, introduces more problems than solutions. They somehow manages to and one or few benefits and restrict you from other features which comes in the new releases of GWT. I have chosen not to use vaadin because I felt like It will force me to do webapp development in their way, which I agree is fast easy to understand, but somehow limited. I like to have some freedom by choosing classic GWT without fancy controls.

Also I also feel that GWT UI Components are limited and there is no quality alternatives. Something is wrong here. I think google team have to do something on this part.

Regards RemisB

like image 198
Remis B Avatar answered Sep 25 '22 07:09

Remis B