Why to Use Design First and Server Side Swift if Everything Works Anyway
summary
Argues that using a Swift backend plus a design‑first OpenAPI workflow actually prevents the small, costly integration bugs that kill deadlines — examples: locale-dependent floats, inconsistent JSON date encodings, and enum casing that turned “suit” into “clothes” arguments. Shows using Vapor and code generators to produce shared Swift models and client+server stubs so the app and API use the same types and tests, speeding prototyping and avoiding hand‑written glue. Presents concrete numbers: 100k requests/sec with 7–8 MB memory and recommends OpenAPI/Swagger codegen.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:08Human factor issues
- 11:37Design-first with Swift
- 17:06Backend interaction errors
- 22:10Team communication
- 25:56Code generation tools
- 30:43Server-side Swift benefits
- 35:11When to use Swift
related talks
34mServer Side Swift
41mGetting started with Server-Side Swift and Vapor
36mFull stack development with Swift and Vapor
27mFull Stack Development with Swift and Vapor
30mAPI Code First vs Design First
20mUnlocking API Potential: Design First Approach
31mGetting Started With Server Side Swift
19mServer-side Swift Using Vapor
