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.
Go Programming In Easy Steps
Author: Mike McGrath Publisher: In Easy Steps Date: January 2021 Pages: 192 ISBN: 978-1840789195 Print: 1840789190 Kindle: B08NF958NM Audience: Non-programmers wanting to learn to code in Go Rating: 5 Reviewer: Mike James Getting going with Go - great idea!
|
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 [ ... ]
| More Reviews |
|