Server-Driven Web Apps with Htmx: Any Language, Less Code, Simpler Code by Volkmann, R. Mark

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

htmx is a library that adds logic and server interaction to HTML; you get the effect of...
$103.29 SGD
$103.29 SGD
SKU: 9798888650769
Product Type: Books
Please hurry! Only 0 left in stock
Author: R. Mark Volkmann
Format: Paperback
Language: English
Subtotal: $103.29
10 customers are viewing this product
Server-Driven Web Apps with Htmx: Any Language, Less Code, Simpler Code by Volkmann, R. Mark

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

$103.29

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

$103.29
Author: R. Mark Volkmann
Format: Paperback
Language: English

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.


  • Author: R. Mark Volkmann
    Publisher: Pragmatic Bookshelf
    Published: 09/17/2024
    Pages: 186
    Binding Type: Paperback
    Weight: 0.73lbs
    Size: 9.25h x 7.50w x 0.40d
    ISBN: 9798888650769

    Returns Policy

    You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).

    You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).

    If you need to return an item, simply login to your account, view the order using the "Complete Orders" link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.

    Shipping

    We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.

    When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.

    Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.

    Related Products

    Recently Viewed Products