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

Descripción completa

Detalles Bibliográficos
Otros Autores: Volkmann, R. Mark, author (author), Gross, Carson, writer of foreword (writer of foreword)
Formato: Libro electrónico
Idioma:Inglés
Publicado: [Place of publication not identified] : Pragmatic Bookshelf [2024]
Edición:[First edition]
Colección:Pragmatic programmers.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009849118406719
Descripción
Sumario: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.
Descripción Física:1 online resource (186 pages) : illustrations
ISBN:9798888651193