Server-Driven Web Apps with htmx: Any Language, Less Code, Simpler Code | Agenda Bookshop Skip to content
Black Friday Sale Now On! | Buy 3 Get 1 Free on all books | Instore & Online.
Black Friday Sale Now On! | Buy 3 Get 1 Free on all books | Instore & Online.
A01=R. Mark Volkmann
Age Group_Uncategorized
Age Group_Uncategorized
Author_R. Mark Volkmann
automatic-update
Category1=Non-Fiction
Category=UMW
COP=United States
Delivery_Pre-order
Language_English
PA=Available
Price_€20 to €50
PS=Forthcoming
softlaunch

Server-Driven Web Apps with htmx: Any Language, Less Code, Simpler Code

English

By (author): R. Mark Volkmann

htmx is a library that adds logic and server interaction to HTML; you get the effect of using a front-end SPA framework without writing front-end code. Use any server-side programming language and framework to build server applications with endpoints that simply return snippets of HTML. Dynamically update portions of the current web page from HTTP responses. Add interactivity with JavaScript and libraries such Alpine and _hyperscript. Make your apps more secure by escaping user-supplied content and specifying a Content Security Policy. Go beyond basic HTTP requests with WebSockets and server-sent events.

The htmx JavaScript library gives you a new way to craft web applications. The htmx approach differs significantly from that of the currently popular single-page application (SPA) frameworks; rather than write a bunch of JavaScript, you simply annotate HTML elements before you send them to the browser. The resulting code is easier to understand and modify, and because it downloads less to the browser and doesn't need JSON creation and parsing, you'll find it performs better, too.

  • 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.
  • Discover a simpler way to implement web applications that emphasizes web fundamentals.

    What You Need:

  • A modern web browser and the ability to build and run a local HTTP server using the server-side language and framework of your choice.
  • The code examples are fully compatible with htmx 2.0.
See more
Current price €34.68
Original price €36.50
Save 5%
A01=R. Mark VolkmannAge Group_UncategorizedAuthor_R. Mark Volkmannautomatic-updateCategory1=Non-FictionCategory=UMWCOP=United StatesDelivery_Pre-orderLanguage_EnglishPA=AvailablePrice_€20 to €50PS=Forthcomingsoftlaunch
Delivery/Collection within 10-20 working days
Product Details
  • Dimensions: 190 x 235mm
  • Publication Date: 31 Aug 2024
  • Publisher: Pragmatic Bookshelf
  • Publication City/Country: United States
  • Language: English
  • ISBN13: 9798888650769

About R. Mark Volkmann

Mark Volkmann is a Partner and Distinguished Engineer at Object Computing Inc. in St. Louis where he has provided software consulting and training since 1996. As a consultant Mark has assisted many companies with JavaScript Node.js htmx Svelte React Vue Angular Swift SwiftUI and much more.

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
We use cookies to ensure that we give you the best experience on our website. If you continue we'll assume that you are understand this. Learn more
Accept