Practical Vaadin: Developing Web Applications in Java
Book information
Description
Table of Contents About the Author About the Technical Reviewer Acknowledgments Introduction Part I: Getting Started Chapter 1: The World of Vaadin A CRUD in One Line of Code The Web platform HTML JavaScript and DOM CSS Web Components Server-Side Technologies Web Servers CGI Servlets Web Development with Vaadin Summary Chapter 2: Setting Up the Development Environment Installing the JDK Installing the IDE Using the Examples of This Book Importing the Code in the IDE Running the Examples Your First Vaadin Application Routes and Views UI Components and Layouts Events and Listeners Debugging Server-Side Debugging Client-Side Debugging Summary Part II: The Fundamentals of Vaadin Chapter 3: Layouts Vertical and Horizontal Layouts Component Composition The Composite Class Implementing Reusable UI Components Accessing the Component Tree Padding, Margin, and Spacing Sizing Grow Alignment Justify-Content Mode Scrolling FlexLayout Direction Wrap Alignment Shrink Other Layouts Summary Chapter 4: UI Components Input Components Text Input Password Input Boolean Input Date and Time Input Numeric Input Single Selection Input Multiple Selection Input File Upload Interaction Components Buttons How Are Events Sent to the Server? Links Menus Visualization Components Notifications and Dialogs Tabs Icons Images Summary Chapter 5: Data Binding Implementing Data Binding Manually Implementing the Domain Model Implementing the View Implementing the Form The Binder Helper Class Defining Bindings Programmatically Defining Bindings Using Property Names Using Automatic Binding Defining Bindings for Nested Properties Data Conversion and Validation Using Converters Implementing Validation Rules Using Jakarta Bean Validation Summary Chapter 6: The Grid Component Adding Columns Managing Columns by Key Defining Columns with ValueProvider Adding Rows In-Memory Data Lazy Loading Sorting Handling Row Selection Adding UI Components to Cells Component Columns Item Details Exporting to CSV Summary Part III: Advanced Features Chapter 7: Multiview Navigation and Routing Routes Defining Routes at Runtime Router Layouts Navigation Lifecycle Before Enter Observer Before Leave Observer URL Parameters URL Templates Typed Parameters Query Parameters Updating the Page Title Summary Chapter 8: Server Push When Is Server Push Used? How Server Push Works Performing Asynchronous UI Updates Automatic Server Push Updates Manual Server Push Updates Using Thread Pools WebSocket vs. Long Polling Summary Chapter 9: The Element API Creating DOM Elements Creating Custom Components Styling Mixin Interfaces Handling Events JavaScript Integration Adding JavaScript to a Vaadin Application Invoking JavaScript from Java Invoking Java from JavaScript Summary Chapter 10: Custom Styles and Responsiveness Built-In Themes Using Theme Variants Using Component Variants Styling with CSS Importing CSS Files Using Lumo Theme Properties Adding CSS Classes to UI Components Styling Shadow DOM Responsive Web Design FormLayout AppLayout CSS Media Queries Summary Chapter 11: Client-Side Views with TypeScript Vaadin Flow vs. Vaadin Fusion Quick Introduction to TypeScript Installing the TypeScript Compiler Implementing “Hello, World” in TypeScript Static Typing Web Components with Lit Creating a New Lit Project Creating a “Hello, World” Web Component Client-Side Views with Vaadin Fusion Enabling Client-Side Bootstrapping Adding a Client-Side View Adding Vaadin Components Event Listeners Reactive Views A Word on Offline Capabilities Summary Part IV: Integrations and Database Connectivity Chapter 12: Spring Boot Creating a New Spring Boot Project Creating a New Database Configuring the Database Connection Implementing an Entity Adding a Repository Inversion of Control and Dependency Injection Implementing a CRUD Summary Chapter 13: Jakarta EE Creating a New Jakarta EE Project Creating a New Database Configuring the Database Connection Implementing an Entity Adding a Repository Contexts and Dependency Injection Implementing a CRUD Summary Index
Similar books
Data-Centric Applications with Vaadin 8
2018 · EPUB
Developing Web Applications in Java
2021 · EPUB
Vaadin 7 UI Design By Example: Beginner's Guide
2013 · EPUB
Vaadin 7 UI Design By Example: Beginner's Guide
2013 · PDF
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF