Best Practice ?

I see each view is created in a separate folder. Is there any reason for this ?
image.png

and this is from starter application

Normally a view can have multiple classes next to it, like DTOs, Presenter, Controller and so on - so it’s best to start early with this kind of structure

And I usually split the views into smaller parts.

I tend to put in one package multiple views, like person contains PersonListView, personEditView,…

That’s also a good use case :slightly_smiling_face: domain specific packages with all views related to that

But it also depends how you want to split your application. For example start.vaadin.com is packaged by layer, you can package also by feature: Package by Feature

I worked a lot with package by feature for the views but by layer for the service/backend. I tend to go more and more by feature for everything.

This link is very useful