Server-Driven Web Apps with htmx
- Indbinding:
- Paperback
- Sideantal:
- 150
- Udgivet:
- 31. august 2024
- Størrelse:
- 235x189x15 mm.
- Vægt:
- 366 g.
- Ukendt - mangler pt..
Forlænget returret til d. 31. januar 2025
Normalpris
Abonnementspris
- Rabat på køb af fysiske bøger
- 1 valgfrit digitalt ugeblad
- 20 timers lytning og læsning
- Adgang til 70.000+ titler
- Ingen binding
Abonnementet koster 75 kr./md.
Ingen binding og kan opsiges når som helst.
- 1 valgfrit digitalt ugeblad
- 20 timers lytning og læsning
- Adgang til 70.000+ titler
- Ingen binding
Abonnementet koster 75 kr./md.
Ingen binding og kan opsiges når som helst.
Beskrivelse af Server-Driven Web Apps with htmx
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.
Brugerbedømmelser af Server-Driven Web Apps with htmx
Giv din bedømmelse
For at bedømme denne bog, skal du være logget ind.Andre købte også..
Find lignende bøger
Bogen Server-Driven Web Apps with htmx findes i følgende kategorier:
© 2024 Pling BØGER Registered company number: DK43351621