Torrent details for "Volkmann R. Server-Driven Web Apps with htmx. Any Language, Less Code,...2024 [andryold1]"    Log in to bookmark

wide
Torrent details
Cover
Download
Torrent rating (0 rated)
Controls:
Category:
Language:
English English
Total Size:
6.25 MB
Info Hash:
900e195bb63034fca3038e5ff2175b4aa658e2f0
Added By:
Added:  
16-08-2024 08:06
Views:
142
Health:
Seeds:
64
Leechers:
3
Completed:
408
wide




Description
wide
Externally indexed torrent
If you are the original uploader, contact staff to have it moved to your account
Textbook in PDF format

Wеб-приложения с 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.
I have firsthand experience with many web development approaches including vanilla JavaScript, jQuery, AngularJS, Angular, React, Vue, and Svelte. For me, each of these provided improvements over what came before. But these were incremental improvements. I find htmx to be very different from these frameworks and libraries. It’s a breath of fresh air that I’m excited to share with you! Let’s discover how htmx simplifies web development, resulting in applications that are easier to understand and require less code.
With htmx, endpoints convert data to HTML (or plain text) rather than JSON, and that is returned to the browser. JavaScript in the browser no longer needs to parse JSON and generate HTML from it. It merely needs to insert the HTML into the DOM. A full-page refresh isn’t necessary.
The htmx library is quite small—less than 17KB minified and compressed. Pages load faster due to downloading less JavaScript code than when using typical SPA frameworks. You can see these improvements with app metrics such as First Contentful Paint and Time to Interactive. Htmx applications also provide faster server interactions because the time spent generating and parsing JSON is eliminated.
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.
Preface
Jumping In
Exploring Server Options
Developing Endpoints
Recipes for Common Scenarios
Implementing Interactivity
Utilizing the htmx JS API
Adding Security
Beyond Request/Response

  User comments    Sort newest first

No comments have been posted yet.



Post anonymous comment
  • Comments need intelligible text (not only emojis or meaningless drivel).
  • No upload requests, visit the forum or message the uploader for this.
  • Use common sense and try to stay on topic.

  • :) :( :D :P :-) B) 8o :? 8) ;) :-* :-( :| O:-D Party Pirates Yuk Facepalm :-@ :o) Pacman Shit Alien eyes Ass Warn Help Bad Love Joystick Boom Eggplant Floppy TV Ghost Note Msg


    CAPTCHA Image 

    Anonymous comments have a moderation delay and show up after 15 minutes