Книга Server-Driven Web Apps with Htmx R. Mark Volkmann

Server-Driven Web Apps with Htmx

Автор: R. Mark Volkmann
Език: Английски език
Корици: С меки корици
Издател: Pragmatic Bookshelf
Наличност: Външен склад
Изпращаме след 10-18 дни
35.32 69.08 лв
htmx is a library that adds logic and server interaction to HTML; you get the effect of using a fron...

Информация за книгата

Автор
Език
Английски език
Корици
Книга - С меки корици
Издадена
2024
страници
150
EAN
9798888650769
Enbook ID
46279653
Издател
Теглоt
364

Пълно описание

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.

  • Може също да ви хареса

    10.88 21.29 лв
    144.01 281.66 лв

    Beyond Weird

    Philip Ball
    12.79 25.02 лв
    11.74 22.96 лв
    39.24 76.74 лв
    136.84 267.63 лв

    No-signal Area

    Robert Perisic
    18.96 37.09 лв
    13.54 26.49 лв

    Conquistador's Wake

    Dennis B. Blanton
    122.08 238.77 лв
    113.85 222.68 лв
    26.09 51.02 лв

    K-Wiring

    Chandrabose Rex
    96.49 188.72 лв
    21.72 42.49 лв
    15.30 29.92 лв

    Mapping Across Boundaries

    Jill Saligoe-Simmel
    26.04 50.93 лв

    Ascension

    Nicholas Binge
    15.45 30.22 лв
    30.91 60.45 лв
    9.63 18.83 лв

    The Naked Sailor

    Norman Coutts
    16.05 31.40 лв
    18.71 36.60 лв

    Клиенти, които купиха тази книга, купиха също

    18.21 35.62 лв

    Místo odpočinku

    Povodí Ohře
    20.27 39.64 лв
    11.79 23.05 лв
    67.74 132.48 лв
    11.19 21.88 лв

    Toksyczna duchowość

    Bernardo Stamateas
    8.48 16.58 лв
    7.47 14.61 лв
    7.87 15.40 лв
    16.40 32.08 лв
    19.72 38.56 лв
    29.30 57.31 лв

    Relatos fotoeróticos

    Comendador Martín y otros
    16.65 32.57 лв
    6.27 12.26 лв
    27.64 54.07 лв

    Tek Parti Dönemi

    Sükrü Karatepe
    14.45 28.26 лв
    32.46 63.49 лв
    33.01 64.57 лв
    21.87 42.78 лв
    19.21 37.58 лв
    5.87 11.47 лв
    22.07 43.17 лв