Server-Driven Web Apps with Htmx : Any Language, Less Code, Simpler Code
Saved in:
| Title: | Server-Driven Web Apps with Htmx : Any Language, Less Code, Simpler Code |
|---|---|
| Description: | 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. |
| Authors: | R. Mark Volkmann |
| Resource Type: | eBook. |
| Categories: | COMPUTERS / Internet / Web Design, COMPUTERS / Languages / JavaScript, COMPUTERS / Internet / Web Programming |
| Database: | eBook Collection (EBSCOhost) |
| FullText | Links: – Type: ebook-pdf – Type: ebook-epub Text: Availability: 0 |
|---|---|
| Header | DbId: nlebk DbLabel: eBook Collection (EBSCOhost) An: 4021580 RelevancyScore: 1123 AccessLevel: 6 PubType: eBook PubTypeId: ebook PreciseRelevancyScore: 1122.83581542969 |
| IllustrationInfo | |
| ImageInfo | – Size: thumb Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$4021580$PDF&s=r – Size: medium Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$4021580$PDF&s=d |
| Items | – Name: Title Label: Title Group: Ti Data: Server-Driven Web Apps with Htmx : Any Language, Less Code, Simpler Code – Name: Abstract Label: Description Group: Ab Data: 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. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22R%2E+Mark+Volkmann%22">R. Mark Volkmann</searchLink> – Name: TypePub Label: Resource Type Group: TypPub Data: eBook. – Name: SubjectBISAC Label: Categories Group: Su Data: <searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Internet+%2F+Web+Design%22">COMPUTERS / Internet / Web Design</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Languages+%2F+JavaScript%22">COMPUTERS / Languages / JavaScript</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Internet+%2F+Web+Programming%22">COMPUTERS / Internet / Web Programming</searchLink> |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=nlebk&AN=4021580 |
| RecordInfo | BibRecord: BibEntity: Languages: – Code: eng Text: English Titles: – TitleFull: Server-Driven Web Apps with Htmx : Any Language, Less Code, Simpler Code Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: R. Mark Volkmann – PersonEntity: Name: NameFull: R. Mark Volkmann IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2024 Identifiers: – Type: isbn-print Value: 9798888650769 – Type: isbn-electronic Value: 9798888651216 – Type: isbn-electronic Value: 9798888651209 Titles: – TitleFull: Server-Driven Web Apps with Htmx : Any Language, Less Code, Simpler Code Type: main |
| ResultId | 1 |