This book looks at using the htmx JavaScript library to add logic and server interaction to HTML. Mark Volkmann shows how it provides the effect of using a front-end SPA framework without writing front-end code, and lets developers use any server-side programming language and framework to build server applications with endpoints that simply return snippets of HTML.
The book looks at how to dynamically update portions of the current web page from HTTP responses, and add interactivity with JavaScript and libraries such Alpine and _hyperscript.
Author: Mark Volkmann Publisher: Pragmatic Bookshelf Date: September 2024 Pages: 186 ISBN: 978-8888650769 Print: B0D9N35GKP Kindle: B0DGZL98ZQ Audience: JavaScript Web developers Level: Intermediate Category: Web design and development

Topics include:
- Rethink web application design; write code in any language that simply responds to requests with htmx snippets.
- Dynamically update portions of the current web page directly from the server.
- Implement common patterns such as lazy loading, input validation, CSS transitions, active search, optimistic updates, pagination, infinite scroll, polling, and click-to-edit.
- Add interactivity with JavaScript and libraries such as Alpine and _hyperscript.
- Use the htmx JavaScript API to simplify DOM operations.
- Make your web apps more secure: escape user-supplied content, use Subresource Integrity hashes, and enforce a Content Security Policy.
- Go beyond the basic HTTP request/response pattern with WebSockets and server-sent events.
For recommendations of books on web development see Web Design And Development - Top Pick CSS And HTML Books and Web Design And Development - More Books in our Programmer's Bookshelf section.
For more Book Watch just click.
Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.
To have new titles included in Book Watch contact BookWatch@i-programmer.info
Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.
SQL Server Query Tuning and Optimization (Packt)
Author: Benjamin Nevarez Publisher: Packt Publishing Pages: 446 ISBN: 9781803242620 Print: 1803242620 Kindle: B0B42SVBFY Audience: Intermediate to advanced DBAs and developers Rating: 4.7 Reviewer: Ian Stirk
This book aims to give you the tools and knowledge to get peak performance from your que [ ... ]
|
Balancing Coupling in Software Design
Author: Vlad Khononov Publisher: Addison-Wesley Date: October 2024 Pages: 320 ISBN: 978-0137353484 Print: 0137353480 Kindle: B09RV3Z3TP Audience: General Rating: 4.5 Reviewer: Kay Ewbank
This book looks in detail at coupling, the degree of interdependence between software modules, and how to use coupling [ ... ]
| More Reviews |
|