~/talk

SCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND

Talkat Scalar Conference 2023 · 2023-03-23..03-24· [frontend-architecture, scala]
links:none on file
slides:none on file

Scala.js compiles Scala to JavaScript and the demo shows sbt + fastLink producing a working JS bundle, a HelloWorld, exported validation functions callable from plain JS, React facades (scalajs-bundler + npm) with a toast example, and a cross-project setup that shares case classes and Tapir endpoints so backend and frontend use the same types. Laminar is used for UI streams and a simple shopping list; it works well for internal admin apps but complex browser hacks (rich editors) still require JS work and hiring Scala frontend devs is costly.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09Frontend backend divide
  3. 4:38Scala.js and why it matters
  4. 6:24Basic setup and first example
  5. 7:49Sharing backend logic
  6. 9:13JavaScript libraries in Scala.js
  7. 10:36React with Scala.js
  8. 13:29React facades and type safety
  9. 16:23Alternative frontend frameworks
  10. 17:06Cross-project compilation
  11. 18:29Example with Tapir and Laminar
  12. 21:03Laminar components and signals
  13. 22:29Benefits of shared models
  14. 23:57Avoiding duplicated logic
  15. 25:22When to use Scala.js
  16. 26:47Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.