3 options
Server-Driven web apps with htmx : any language, less code, simpler code / R. Mark Volkmann.
- Format:
- Book
- Author/Creator:
- Volkmann, R. Mark, author.
- Language:
- English
- Subjects (All):
- HTML (Document markup language).
- JavaScript (Computer program language).
- Web site development.
- Physical Description:
- 1 online resource (182 pages)
- Edition:
- First edition.
- Place of Publication:
- [Place of publication not identified] : The Pragmatic Programmers, LLC, [2024]
- Summary:
- This book by R. Mark Volkmann provides an in-depth exploration of using htmx for developing server-driven web applications. It introduces htmx as a simpler alternative to conventional JavaScript frameworks for building modern, responsive web applications. The author offers practical examples and clear explanations on integrating htmx with other technologies like TypeScript, Hono, and Bun. By highlighting real-world use cases and common UI patterns, the book aims to simplify web development, reduce code complexity, and improve user experience. It is intended for software developers, ranging from beginners to seasoned professionals, looking for efficient methodologies to enhance their web development skills. Generated by AI.
- Contents:
- Cover
- Table of Contents
- Foreword
- Acknowledgments
- Preface
- Required Knowledge
- 1. Jumping In
- Choosing a Tech Stack
- Using htmx Attributes
- Creating Your First Project
- Creating a CRUD Application
- Your Turn
- Wrapping Up
- 2. Exploring Server Options
- Making the Grade
- Popular Choices
- Our Choice
- JavaScript Tooling
- 3. Developing Endpoints
- HTTP Requests
- HTTP Responses
- Endpoint Targets
- Widening the Scope
- Performing Out-of-Band Swaps
- Triggering Events
- Putting It Into Practice
- 4. Recipes for Common Scenarios
- Boosting
- Lazy Loading
- Input Validation with API Calls
- Deleting an Element
- CSS Transitions
- Resetting a Form
- Active Search
- Optimistic Updates
- Pagination
- Infinite Scroll
- Toggling Selection
- Polling
- Custom Dialogs
- Adding Headers to All Requests
- Click to Edit
- HTML and JSON Endpoints
- Automating Reload
- 5. Implementing Interactivity
- Alpine
- _hyperscript
- 6. Utilizing the htmx JS API
- DOM Methods
- Styling Methods
- Event Methods
- Other Methods
- htmx.config Object
- htmx.ajax Method
- htmx.process Method
- 7. Adding Security
- Scrutinize Resources
- Escape User-Supplied Content
- Sanitize User-Supplied Content
- Make Cookies Secure
- Make CDN Downloads Safer
- Specify a Content Security Policy
- Cross-Site Scripting Attacks (XSS)
- 8. Beyond Request/Response
- WebSockets
- Server-Sent Events (SSE)
- Wrapping Up.
- Notes:
- Description based on publisher supplied metadata and other sources.
- Part of the metadata in this record was created by AI, based on the text of the resource.
- Description based on print version record.
- Includes bibliographical references.
- ISBN:
- 9798888651216
- 9798888651209
- OCLC:
- 1456764455
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.