Ejector Seats and Escape Hatches: Designing Your API to Fail
summary
Anvil is presented as a single coherent Python abstraction that actually compiles client code with a python-to-JS compiler, exposes server functions as callable server modules, and stores rows in a Postgres-backed python-shaped database. A live demo builds, publishes to hello.pwc.anvil.app, and shows UI components manipulated as Python objects, full round trips without JSON, and Unicode working. Escape hatches include an uplink to Raspberry Pi (Pimoroni Rainbow HAT demo) and a pip-installable standalone server; the platform focuses on bridges rather than forcing an eject.
AI-written summary · about
chapters (17)
- 0:00Start
- 1:09Abstractions in Programming
- 4:22Abstractions
- 4:44Python Interpreter
- 6:36An Abstraction Can Leak
- 7:13Example from Python
- 8:45Sql Alchemy
- 10:5920 the Zen of Python
- 11:35Simple Is Better than Complex
- 12:08Explicit Is Better than Implicit
- 15:04Abstractions Can Do Much Worse than Leak They Can Fail Outright When an Abstraction Fails
- 15:39What Happens When an Abstraction Fails
- 17:18Create React App
- 20:06Numerical Computation in Python
- 28:41Anvil Editor
- 38:02Design Choices
- 40:11How an Application Works
