Książka Server-Driven Web Apps with Htmx R. Mark Volkmann

Server-Driven Web Apps with Htmx

Język: Angielski
Oprawa: Miękka
Dostępność: Dostępna u dostawcy
Wysyłamy za 10-18 dni
131.89
htmx is a library that adds logic and server interaction to HTML; you get the effect of using a fron...

Informacje o książce

Język
Angielski
Oprawa
Książka - Miękka
Data wydania
2024
strony
150
EAN
9798888650769
Enbook ID
46279653
Waga
364

Pełny opis

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.

  • Możesz być zainteresowany

    83.35
    42.98

    Beyond Weird

    Philip Ball
    50.38
    49.70
    156.40

    No-signal Area

    Robert Perisic
    75.38
    37.54
    110.49

    Conquistador's Wake

    Dennis B. Blanton
    516.99

    K-Wiring

    Chandrabose Rex
    388.79
    64.87

    Mapping Across Boundaries

    Jill Saligoe-Simmel
    104.95

    Ascension

    Nicholas Binge
    61.95
    122.94
    40.75

    The Naked Sailor

    Norman Coutts
    67.89

    Klienci, którzy kupili tę książkę, kupili również

    65.84

    Místo odpočinku

    Povodí Ohře
    81.12
    53.78
    89.48
    225.17

    Toksyczna duchowość

    Bernardo Stamateas
    27.13
    30.05

    Último Amanecer

    Pablo Sanz Martin
    53.68
    117.30

    Relatos fotoeróticos

    Comendador Martín y otros
    67.69
    111.17

    Tek Parti Dönemi

    Sükrü Karatepe
    58.26
    131.40