Modern frontends with htmx : Use htmx with Spring Boot and Thymeleaf to build dynamic and interactive web applicationКНИГИ » ПРОГРАММИНГ
Название: Modern frontends with htmx : Use htmx with Spring Boot and Thymeleaf to build dynamic and interactive web application Автор: Wim Deblauwe Издательство: Leanpub Год: 2023-12-03 (Version 1.0.0) Страниц: 269 Язык: английский Формат: pdf (true), epub Размер: 38.3 MB
Imagine creating dynamic, interactive web applications with minimal javascript. That’s the revolutionary promise of htmx, a technology that redefines frontend development. This book is your gateway to mastering htmx alongside Java, Spring Boot, and Thymeleaf, transforming the way you build web interfaces.
Imagine creating dynamic, interactive web applications with minimal javascript. That’s the revolutionary promise of htmx, a technology that redefines frontend development. This book is your gateway to mastering htmx alongside Java, Spring Boot, and Thymeleaf, transforming the way you build web interfaces.
This book starts with the basic steps of using htmx, starting from the basic techniques of DOM element swapping through various triggers. It progressively delves into more complex topics, such as responding to htmx requests in the Spring Boot controller and implementing comprehensive UI patterns like lazy loading, active search, and endless scrolling. Further, the book dives into the integration of web components and javascript frameworks with htmx to amplify client-side interactivity.
This book focuses on htmx combined with Java, Spring Boot, and Thymeleaf. However, it’s adaptable to various backend technologies. Htmx works equally well with Python/Django, PHP/Laravel, .NET/Blazor, … When using htmx, you need a backend that can return fragments like we have with Thymeleaf. This allows for precise HTML updates to update the page dynamically without page reloads.
Spring Boot is based upon the Spring Framework, which is at its core a dependency-injection container. Spring makes it easy to define everything in your application as loosely coupled components which Spring will tie together at run time. Spring also has a programming model that allows you to make abstractions from specific deployment environments. One of the key things you need to understand is that Spring is based on the concept of "beans" or "components", which are basically singletons without the drawbacks of the traditional singleton pattern.
Thymeleaf is a server-side Java template engine that uses natural templates to generate HTML pages. Natural templates are HTML templates that can correctly be displayed in browsers and work as static prototypes.
Throughout the book, two projects put all these ideas together. These projects help you see how everything you've learned works in real web applications.
Скачать Modern frontends with htmx : Use htmx with Spring Boot and Thymeleaf to build dynamic and interactive web application
Full Stack AngularJS for Java Developers Название: Full Stack AngularJS for Java Developers: Build a Full-Featured Web Application from Scratch Using AngularJS with Spring RESTful Автор:...