Server-Side Swift from Scratch
summary
Server-side Swift is viable now: an open-source framework at http://github.com/pointfreeco builds and runs https://www.pointfree.co, using Swift types for middleware with phantom types that enforce response-state transitions at compile time, an applicative parsing router that produces an enum of routes and generates links safely, Swift-modelled HTML/CSS rendered via WKWebView and Swift playgrounds, and heavy snapshot testing with 100+ screenshots to confirm pages and emails actually work.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:27Overview of What Swift Can Bring to Web Development
- 2:30Define the Layers of What Makes a Server Framework
- 4:21Middleware
- 8:39Custom Infix Operators
- 10:36Approaches
- 12:54Demo
- 16:40View Rendering
- 20:13Snapshot Testing
- 20:34Screenshot Testing
- 22:20Conclusion








