Server-Driven Web Apps with htmx (Pragmatic Bookshelf)
Wednesday, 18 September 2024

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

htmx

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.

 

 

Banner


SQL Query Design Patterns and Best Practices

Author: Steve Hughes et al
Publisher: Packt Publishing
Pages: 270
ISBN: 978-1837633289
Print: 1837633282
Kindle: B0BWRD7HQ7
Audience: Query writers
Rating: 2.5
Reviewer: Ian Stirk

This book aims to improve your SQL queries using design patterns, how does it fare? 



Object-Oriented Python

Author: Irv Kalb
Publisher: No Starch Press
Date: January 2022
Pages: 416
ISBN: 978-1718502062
Print: 1718502060
Kindle: ‎ B0957SHYQL
Audience: Python developers
Rating: 3
Reviewer: Mike James
Python, Object-Oriented? Not a lot of programmers know that!


More Reviews