Hacker News new | ask | show | jobs
by dy 3075 days ago
Excellent thought piece - wish HN was filled with more original analogies like this I one.

This reminds me a bit of domain driven contexts (something just added to Elixir/Phoenix 1.3) - reducing the surface area of sub nodes from each other by exposing that single point interface.

1 comments

I’ve been wondering if I can do away with the web layer all together and provide RPC directly to certain contexts fairly trivially over web sockets. REST feels really tired when working with state containers IMO.
This seemed very promising, protobuffers to automated typescript over gRPC.

https://github.com/improbable-eng/grpc-web