Differences between GWT and Vaadin

前端 未结 10 1560
小鲜肉
小鲜肉 2021-02-01 01:21

Can anyone suggest whether \"GWT\" or \"Vaadin\" are a better choice to design an application? Also: what are the differences in coding style?

10条回答
  •  时光说笑
    2021-02-01 01:32

    Differences between Vaadin and GWT:

    A) Vaadin includes a server-side development model that:

    • Cuts number of code lines to half by reducing layers one has to implement for user interface.
    • Allows you to use any JVM based language for user interface - Scala, Groovy
    • Increases security by keeping user interface logic in the server
    • Allows synchronous calls to any backend API from the web server
    • Allows use of any standard Java libraries and tools for UI layer- in server side architecture applications
    • Does not need Java to JavaScript compilation step that often takes time or makes tooling complicated in GWT projects - instead you have the Vaadin client engine
    • Provides server push out of the box with no extra code needed

    B) Vaadin provides a large set of high level user interface components. For GWT one would need to use commercial Sencha GXT for comparable component set.

    C) Vaadin includes SASS based Valo theme engine that makes it easy to build good looking custom themes from your application. Valo is the latest theming for Vaadin.

    D) Data binding: Vaadin has incorporated the ability to associate any widget directly to a data source such as database, file or anything else in the server-side. This enables to define default behavior of the widgets to act on data sources.

    Vaadin vs GWT

提交回复
热议问题