万本电子书0元读

万本电子书0元读

顶部广告

Data-Centric Applications with Vaadin 8电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Alejandro Duarte

出  版  社:Packt Publishing

出版时间:2018-04-30

字       数:23.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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 For If 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 loading In Detail 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. Style and approach This 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.
目录展开

Title Page

Copyright and Credits

Data-Centric Applications with Vaadin 8

Dedication

Packt Upsell

Why subscribe?

PacktPub.com

Foreword

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Code in Action

Conventions used

Get in touch

Reviews

Creating New Vaadin Projects

Technical requirements

About the demo applications

Understanding the source code

Understanding the architecture of a Vaadin application

Creating a new project from scratch

Maven dependencies

Servlets and UIs

Maven plugins

Components and layouts

Listeners and binders

Events and listeners

Data binding

Resources and themes

Widget sets and add-ons

Summary

Modularization and Main Screens

Technical requirements

Creating a multi-module Maven project

Implementing an application's main screen

Defining an API for an application's main screen

Implementing support classes

Implementing a concrete application's main screen

Adding and configuring the required UI components

Implementing the ApplicationLayout interface

Implementing the menu

Modularizing Vaadin applications

Identifying alternatives for modularization

Registering modules with the application

Discovering modules

Implementing new modules

Summary

Implementing Server-Side Components with Internationalization

Technical requirements

Using extensions to develop a UI component

Extending VerticalLayout

Why avoid extension?

Using composition to develop custom components

Implementing a factory

Using the Composite class

Using the LoginForm class

Using internationalization for Multiple Language Support

Removing hardcoded strings

Getting localized strings

Getting and setting the locale

Summary

Implementing Authentication and Authorization

Technical requirements

Implementing public and private views

Using the HTTP session and cookies to identify users

Keeping track of authenticated users

Implementing the login/logout process

Implementing the remember me feature

Enabling features according to a user's roles

Coding authorization logic in UI components

Coding authorization using request data

Getting request information

Routing requests to a UI component

Coding authorization with the help of a Navigator

Summary

Connecting to SQL Databases Using JDBC

Technical requirements

Introduction to JDBC

Adding a JDBC driver for your database

Establishing a database connection through a connection pool

Creating a statement and executing an SQL query

Getting and processing a result set

Closing a database connection

Implementing data repositories

Defining a domain model

Implementing repositories and services

The active record pattern

Summary

Connecting to SQL Databases Using ORM Frameworks

Technical requirements

Using object-relational mapping frameworks

Connecting to SQL databases using JPA

Defining a persistence unit

Creating an EntityManagerFactory

Implementing Entity classes

Executing queries

Implementing a Vaadin UI to list and save Entities

Connecting to SQL databases using MyBatis

Defining a database connection

Implementing mapper classes

Implementing a service class

Connecting to SQL databases using jOOQ

Defining a database connection

Reverse-engineering the database schema

Running queries

Summary

Implementing CRUD User Interfaces

Technical requirements

CRUD user interface design

In-place fields

Modal pop-up windows

Hierarchical menus

The domain model

Implementing a CRUD using an editable Grid component

Implementing the read operation

Implementing the update operation

Adding Bean Validation with JSR-303

Implementing a CRUD using Grids and forms

Implementing the read operation

Implementing the create and update operations

Implementing the delete operation

Using the Crud UI add-on

Filtering

Summary

Adding Reporting Capabilities

Technical requirements

The example application

The data model

The Vaadin UI

Integrating JasperReports with Vaadin

Getting the data

Designing the report

Rendering a report as HTML

Adding charts

Generating a report in a background task

Exporting a report to a PDF

Server Push

Summary

Lazy Loading

Technical requirements

The example application

The data model

The Vaadin UI

Preparing the backend for lazy loading

Lazy loading with the Grid component

Adding filters

Ordering rows in Grid components

Preparing the backend services

Enabling ordering in the UI

UX and large datasets

Lazy loading Grid versus direct search

Infinite lazy loading

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部