Best practices for structuring Vaadin Flow code?

Here is an example application that I used for an internal architecture training here at Vaadin:

I realize it may be difficult to decode “out of context” (without the accompanying presentation and underlying theory), but it demonstrates making backend calls, updating the UI and using the component lifecycle.

Another example application from the same training demonstrates how you can structure your views to emphasise code reuse (by iteratively expanding the same view 6 times).

We’re currently working on adding more documentation about how to build and structure real-world applications using Vaadin, but it will take some time unfortunately.

Feel free to ask any questions you may have about those demo projects and I’ll try to answer them as well as I can.

-Petter-

2 Likes