Pure Scala Approach for Building Frontend and Backend Apps
summary
Claims a pure-Scala stack that uses Airframe RPC to expose Scala traits and case classes as RPC endpoints, serializes via airframe-codec (MessagePack/JSON), and generates clients with an sbt codegen plugin. Servers plug into Finagle (HTTP/1) or gRPC (HTTP/2) backends and Scala.js runs the frontend including a Monaco-based SQL editor and monitoring UI. Performance tests show 40–85k req/s on a laptop with gRPC multiplexing, and no Protocol Buffers required.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:07Why Scala for full-stack
- 7:21Scala.js for frontend
- 10:30Building DOM with Scala
- 13:22Reactive programming with Rx
- 15:27RPC challenges in Scala
- 17:13Airframe RPC approach
- 21:47HTTP/2 and gRPC performance
- 24:39gRPC data format agnostic
- 26:07Combining frontend and backend
- 27:09Summary and resources
related talks
29mFull Stack Scala Web Application.
40mFull Stack Scala
31mHow I learned to stop worrying and love the frontend
37mFull Stack Scala Web Application
50mFull stack Scala
31mSCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND
20mQuickly develop web applications with the FastScala framework
32mProduction-ready direct-style Scala
