~/talk

The working Architecture of Node.js Applications

Talkat JSNation 2019 · 2019-06-05..06-08· [nodejs, frontend-architecture]
slides:none on file

A production-proven volcanic architecture runs across Node.js PHP and Perl for eight years and organizes logic into a coarse-grained domain model and per-use-case service classes so one endpoint one class maps to a single service with a run method, declarative validation, and async/await error handling. Controllers remain thin glue, GraphQL and REST reuse the same services, responses use whitelisted dumps — never return domain objects — and a starter kit is planned for open source release.

AI-written summary · about

  1. 0:00Start
  2. 2:32Monolith or Microservices by default?
  3. 2:45What is the most popular architecture today?
  4. 3:21Microservices: Big and distributed ball of mud
  5. 5:14What is the best architectural decision?
  6. 7:20So, we start with monolith in 90% of cases
  7. 8:56What is Monolith?
  8. 9:57Which web-framework to choose?
  9. 10:14Your application architecture should not depend on a web framework
  10. 10:37We use MVC why do we need another architecture?
  11. 11:57Is Model (MVC) and Domain Model the same?
  12. 17:07How do we cook the service layer?
  13. 18:55NodeJs example of a Service class
  14. 24:06GraphQL support
  15. 25:13Full example: User registration
~/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.