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.
<ASIN: B0D9N35GKP >
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.
Functional Design (Addison-Wesley)
Author: Robert C. Martin Publisher: Addison-Wesley Date: September 2023 Pages: 384 ISBN: 978-0138176396 Print: 0138176396 Kindle: B0CGHQKGYG Audience: General Rating: 4.5 Reviewer: Kay Ewbank
This book sets out to explain the principles, patterns and practices of functional design, and why functional prog [ ... ]
|
Software Development Pearls
Author: Karl Wiegers Publisher: Addison-Wesley Professional Pages: 336 ISBN: 978-0137487776 Print: 0137487770 Kindle: B09BF6CS9T Audience: General developers Rating: 2 Reviewer: Ian Elliot Who can resist a good pearl or two?
| More Reviews |
|