Promise Pipe
summary
Argues that application business logic becomes clearer and testable when expressed as a chain of pure transformations that can run sync or async, be invoked on client or server, and be replayed or validated on the server. Shows how those chains serialize into serializable "business passports" passed over sockets or HTTP, compares to Rx and Meteor, and claims fewer indirections, easier reuse across frontend/backend, server-side enforcement of correct sequence, and simpler debugging.
AI-written summary · about
chapters (11)
- 0:00Introduction to Promise Pipe
- 3:04Business logic as data transformations
- 8:27Breaking business logic across layers
- 13:26Practical example of Promise Pipe
- 17:22Separating business logic from infrastructure
- 22:17Advantages of custom transformation chains
- 27:53When to use Promise Pipe
- 33:57Security and validation in chains
- 36:04Functional programming benefits
- 40:00Implementation details and context
- 41:29Conclusion and thanks
