Book Image

Data-Centric Applications with Vaadin 8

By : Alejandro Duarte
Book Image

Data-Centric Applications with Vaadin 8

By: Alejandro Duarte

Overview of this book

Vaadin is an open-source Java framework used to build modern user interfaces. Vaadin 8 simplifies application development and improves user experience. The book begins with an overview of the architecture of Vaadin applications and the way you can organize your code in modules.Then it moves to the more advanced topics about advanced topics such as internationalization, authentication, authorization, and database connectivity. The book also teaches you how to implement CRUD views, how to generate printable reports, and how to manage data with lazy loading. By the end of this book you will be able to architect, implement, and deploy stunning Vaadin applications, and have the knowledge to master web development with Vaadin.
Table of Contents (11 chapters)

UX and large datasets

To close this chapter, let me share some thoughts about the convenience (or inconvenience) of having a Grid with 10,000 (or more) rows in it.

Lazy loading Grid versus direct search

In the screen I'm using to develop the examples of this chapter, I can see around 15 rows at a time in a Grid component. If I want to see the row 5,390, for example, I have to scroll down and try to find the rows around 5,390. That takes me 1 or 2 seconds if I'm lucky. After this, I have to do some fine-tuned scrolling to get to the exact row. Something that can take 1 or 2 seconds again. This scrolling-through to search data is possible with this example application because the demo data is generated with consecutive...