Data-Centric Applications with Vaadin 8
eBook - ePub

Data-Centric Applications with Vaadin 8

Alejandro Duarte

Condividi libro
  1. 202 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Data-Centric Applications with Vaadin 8

Alejandro Duarte

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

This book teaches you everything you need to know to create stunning Vaadin applications for all your web development needs. Deep dive into advanced Vaadin concepts while creating your very own sample Vaadin application.About This Book• A one-stop book to enhance your working knowledge with Vaadin.• Explore and implement the architecture of Vaadin applications.• Delve into advanced topics such as data binding, authentication and authorization to improvise your application's performance.Who This Book Is ForIf you area Software developer with previous experience with Vaadin and would like to gain more comprehensive and advanced skills in Vaadin web development, then this book is for you.What You Will Learn• Modularize your Vaadin applications with Maven• Create high quality custom components• Implement robust and secure authentication and authorization mechanisms• Connect to SQL databases efficiently• Design robust CRUD (Create, Read, Update, Delete) views• Generate stunning reports• Improve resource consumption by using lazy loadingIn DetailVaadin 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.Style and approachThis book follows a hands-on approach and takes the readers through practical examples of how to create and deploy Vaadin applications. This book teaches the readers about the Vaadin architecture. It then moves on to the more advanced topics about advanced topics such as internationalization, authentication, authorization, and database connectivity. This step by step guide equips the readers with all they need to know to use Vaadin for web development.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Data-Centric Applications with Vaadin 8 è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Data-Centric Applications with Vaadin 8 di Alejandro Duarte in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatica e Programmazione in Java. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2018
ISBN
9781783288854
Edizione
1
Argomento
Informatica

Implementing CRUD User Interfaces

Most business applications have to deal with data manipulation. Users are able to see, change, delete, and add data. All these actions are executed according to and in the context of a set of rules dictated by the business. In its more fundamental form, business applications include graphical user interfaces to perform CRUD actions over the data. CRUD is an acronym for Create, Read, Update, and Delete. This chapter explores the design and implementation of CRUD views.
We'll start with a quick discussion about CRUD views from a User Experience (UX) perspective. Then, we will move on to how to design and implement CRUD user interfaces using two different UI designs. This chapter also explains the basics of data binding, shows how to use the Java Bean Validation API, and demonstrates how to render UI components inside Grid components.
This chapter covers the following topics:
  • CRUD user interface design
  • Data binding
  • Validating with JSR-303
  • Grid renderers
  • Filtering

Technical requirements

You will be required to have Java SE Development Kit and Java EE SDK version 8 or later. You also need Maven version 3 or later. A Java IDE with Maven support, such as IntelliJ IDEA, Eclipse, or NetBeans is recommended. Finally, to use the Git repository of this book, you need to install Git.
The code files of this chapter can be found on GitHub:
https://github.com/PacktPublishing/Data-centric-Applications-with-Vaadin-8/tree/master/chapter-07
Check out the following video to see the code in action:
https://goo.gl/szGaRy

CRUD user interface design

UX in the context of user interfaces (UI) refers to the degree of quality in the interaction between the user and the UI. An application designed with UX in mind enhances the user satisfaction by improving its usability. Simplicity is key in the process of UX design, but avoid falling into a minimalistic design, which may otherwise spoil usability.
You can find more information about simplicity, minimalism, and general myths about UX design at http://uxmyths.com.
UX design may include several disciplines, including wireframing, prototyping, testing, and validating designs. In this section, we'll explore variations of typical CRUD views. Examples of this kind of views are the admin views for managing registered users, views for internal application configuration, or views used by DevOps members.
DevOps is a softwares engineering discipline that unifies software development and software operation (deployment and infrastructure management).
We'll avoid the term CRUD for more sophisticated views that might include all of the CRUD operations. In general, these views are business-specific, and developers should design them according to the particularities of each case.
CRUD views are about record editing. Records are items that are usually understood as a whole. Some are suitable for tabular presentation, while others are not; for example, events on a calendar. When designing a CRUD view, think about the following factors:
  • Record complexity: How many fields does the record contain? Do the fields change depending on the state of other fields? Are there any complex fields such as maps or calendars? How complex are the validation rules?
  • Editing frequency: How often do users need to edit the record? Do they need a quick way to edit certain fields?
  • Context awareness: Do users need extra data when editing a record? Do they need, or would they benefit from, seeing other records when editing one?
As a rule of thumb, think about how frequently users will perform the actions on the view, and if they can benefit from seeing many records at a time or not. If the frequency is high for any operation, and they won't benefit from seeing other records in the view, don't use a generic CRUD interface. Implement the view tailored to the use case.
Let's analyze three CRUD user interface designs: in-place fields, modal pop-up windows, and hierarchical menus.

In-place fields

With this design, users can activate a field to edit a single value. Data can be presented in a tabular format, in which case...

Indice dei contenuti