Skip to content Skip to footer
Server-Driven Web Apps with htmx

Título: Server-Driven Web Apps with htmx

Autor: R. Mark Volkmann

Sinopse: 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.

Contexto da obra

Quando a classificação é mais ampla, o contexto do livro costuma depender ainda mais de autoria, tema e edição. “Server-Driven Web Apps with htmx”, de R. Mark Volkmann, publicado pela editora Pragmatic Bookshelf, em 2024 e com 259 páginas, integra a categoria Livros Variados. Por isso, autoria, edição e tema acabam tendo ainda mais peso na forma de apresentar o livro.

Editora: Pragmatic Bookshelf

Páginas: 259

Ano: 2024

Edição:

Linguagem:

ISBN:

ISBN13:

    Sobre a editora

    Os livros da editora Pragmatic Bookshelf oferecem uma experiência de leitura focada em desenvolvimento de software prático e contemporâneo, com ênfase em técnicas aplicáveis e ferramentas atuais. O catálogo apresenta obras que exploram desde testes unitários detalhados até estratégias para manutenção e refatoração de código, sempre com uma linguagem clara e orientada a resultados. Há um equilíbrio entre abordagens mais narrativas, que contextualizam problemas reais, e textos mais técnicos, que detalham APIs, padrões e práticas ágeis. O ritmo tende a ser direto, com explicações que privilegiam a aplicabilidade imediata, e o tom é didático, com exemplos concretos e passo a passo para facilitar o aprendizado.

    Ver mais sobre a editora

    Leave a comment

    E-mail
    Password
    Confirm Password
    0
      0
      Seu Carrinho
      Carrinho VazioContinue Comprando
      0,0
      (0 avaliações)
      Clique no livrinho correspondente para avaliar.