Skip to content

#Web Development

23 posts tagged Web Development. All posts

  1. JavaScript & webVue 3 Frameworks in 2026, and What Changed in AstroWhere Nuxt, Quasar, VitePress, Pinia and Vue Router stand in late 2026, what Vite 8 changed under them, and the Astro 6 and 7 features this blog runs on.
  2. JavaScript & webVue 3 Six Years On: What Changed from 3.0 to 3.6Vue 3.0 shipped in September 2020. What each minor release added since, from script setup and defineModel to 3.5's reactivity rewrite and 3.6's Vapor Mode.
  3. JavaScript & webRebuilding FriendlyUser: A Three.js Homepage and a Starlight BlogThe homepage is now a scroll-driven three.js city built from my career and every post on this blog, and the blog itself moved to Astro Starlight without changing a single post URL. Here is what changed, with before and after recordings.
  4. JavaScript & webPage animations with the View Transitions APIAnimate DOM updates and page navigations: startViewTransition, view-transition-name, the pseudo-element tree, cross-document opt-in and reduced motion.
  5. JavaScript & webThe CSS :has() selector: styling parents and siblings without JavaScriptPractical :has() patterns: form validation states, cards with images, previous-sibling and quantity queries, plus the selector's rules, performance notes and support.
  6. JavaScript & webCSS size queries: components that respond to their own widthUse CSS container queries, container-type, named @container rules and cqi units to build a card that changes layout based on its slot, not the viewport.
  7. JavaScript & webTimeouts and cancellation for fetch with AbortSignalfetch has no timeout option. Use AbortController, AbortSignal.timeout and AbortSignal.any to cancel requests, tell timeouts from aborts, and clean up in React.
  8. JavaScript & webRunning TypeScript directly in Node.js with type strippingNode 22.18+ and 23.6+ run .ts files by erasing type annotations. What syntax works, what doesn't, the tsconfig settings to match, and why you still need tsc.
  9. JavaScript & webTemplate literal types in TypeScript: typed routes and event namesUse template literal types and infer to pull params out of route strings like /users/:id, build typed event names, and know where the type checker gives up.
  10. JavaScript & webBranded types in TypeScript: keeping IDs and units apartUse branded types to stop TypeScript mixing up user IDs and order IDs, or cents and dollars: constructor functions, type guards, JSON and Zod's .brand().
  11. JavaScript & webValidating untrusted input at runtime with Zod 4Use Zod 4 schemas to validate request bodies and environment variables in TypeScript: z.infer, safeParse, coercion, transforms and readable error output.
  12. AI & dataRevolutionizing Web Performance: Using Gemini 3.1-Pro-Preview for AI-Generated SVGsDiscover how to replace heavy JavaScript web animations with AI-generated SVGs using Gemini 3.1-Pro-Preview. A deep dive into the devcraft repository, Vite tooling, and best prompting techniques for scalable vector graphics.
  13. JavaScript & webDiscriminated unions and exhaustive checks in TypeScriptModel request states and webhook events as discriminated unions, narrow them by a tag field, catch missing cases with never, and parse unknown JSON into a union.
  14. JavaScript & webThe satisfies operator in TypeScript: checking values without widening themHow satisfies checks an object against a type while keeping its precise inferred type, with config maps, Record keys, as const satisfies and the gotchas.
  15. JavaScript & webSubscribing a customer to a Clover recurring plan with PHPUse Clover's sandbox APIs from PHP to tokenize a card, create a customer with a card on file, look up a tax rate, and subscribe them to a recurring plan.
  16. AI & dataOn-device chat in the browser with Chrome's Prompt API and nluxWhy running an LLM on the user's device helps privacy, and how to build a React chat UI with nlux that streams replies from Gemini Nano in Chrome.
  17. PythonServe FastAPI over HTTPS on a Google Compute Engine subdomain with ApachePoint a subdomain at a Compute Engine VM, run FastAPI behind an Apache reverse proxy, and add a free Let's Encrypt certificate with Certbot.
  18. PythonCalling SOAP APIs from Python with ZeepHow to call a SOAP web service from Python with Zeep: inspect a WSDL, call operations, build complex types, handle faults and log the raw XML.
  19. PythonHandling file uploads in FastAPI, Django and FlaskMinimal, working file upload endpoints in FastAPI, Django and Flask: what to install, how to save the file safely, and how to cap upload size.
  20. InvestingDownloading investor presentation audio from a webcast with ffmpegFind the HLS playlist behind a webcast player in your browser's DevTools, save the audio with ffmpeg, and transcribe it with Whisper.
  21. AI & dataRunning OCRmyPDF in a containerized Azure FunctionPackage OCRmyPDF, Tesseract and Ghostscript into a custom Azure Functions container and expose an HTTP endpoint that OCRs an uploaded PDF and returns its text.
  22. JavaScript & webGetting started with Remix: loaders, actions, and the move to React RouterHow Remix's loaders, actions, and nested routes work, how it compares to Next.js, and how to start the same app today with React Router framework mode.
  23. PythonSign in to the Wagtail admin with Microsoft Entra ID (Azure AD)Add Microsoft Entra ID (formerly Azure Active Directory) login to the Wagtail admin with social-auth-app-django, including settings, URLs and a login button.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)