You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

architecture-client-side.asciidoc 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. title: Client-Side Engine
  3. order: 3
  4. layout: page
  5. ---
  6. [[architecture.client-side]]
  7. = Client-Side Engine
  8. ((("Client-Side
  9. Engine")))
  10. The user interface of a server-side Vaadin application is rendered in the
  11. browser by the Vaadin Client-Side Engine. It is loaded in the browser when the
  12. page with the Vaadin UI is opened. The server-side UI components are rendered
  13. using __widgets__ (as they are called in GWT) on the client-side.
  14. The client-side engine is illustrated in <<figure.architecture.client-side>>.
  15. [[figure.architecture.client-side]]
  16. .Vaadin Client-Side Engine
  17. image::img/clientside-arch-hi.png[width=80%, scaledwidth=100%]
  18. The client-side framework includes two kinds of built-in widgets: GWT widgets
  19. and Vaadin-specific widgets. The two widget collections have significant
  20. overlap, where the Vaadin widgets provide a bit different features than the GWT
  21. widgets. In addition, many add-on widgets and their server-side counterparts
  22. exist, and you can easily download and install them, as described in
  23. <<dummy/../../../framework/addons/addons-overview.asciidoc#addons.overview,"Using
  24. Vaadin Add-ons">>. You can also develop your own widgets, as described in
  25. <<dummy/../../../framework/clientside/clientside-overview.asciidoc#clientside.overview,"Client-Side
  26. Vaadin Development">>.
  27. The rendering with widgets, as well as the communication to the server-side, is
  28. handled in the [classname]#ApplicationConnection#. Connecting the widgets with
  29. their server-side counterparts is done in __connectors__, and there is one for
  30. each widget that has a server-side counterpart. The framework handles
  31. serialization of component state transparently, and includes an RPC mechanism
  32. between the two sides. Integration of widgets with their server-side counterpart
  33. components is described in
  34. <<dummy/../../../framework/gwt/gwt-overview.asciidoc#gwt.overview,"Integrating
  35. with the Server-Side">>.