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)

Lazy Loading

Lazy loading is a technique for lowering memory consumption and, possibly, processing time. This technique delays the loading of data until the moment when it's actually needed in the UI. For example, if you have a Grid component with, say 10,000 rows, only a bunch of them are visible at a given time. Loading the full set of 10,000 rows might be a waste of resources. The idea behind lazy loading is the same as the behavior of a lazy person: if you delay doing something until the last moment, you will end up saving time if, for some reason, it turns out that you don't have to do the task anymore. It's the same in a web application. For example, if a user leaves certain views without scrolling through the data, the application won't need to load anything other than a few visible items, saving it from having to load potentially thousands or millions...