News for hackers. Stuff that matters.
Re:Hunt: A high-level D Programming Language Web framework by realharo on Tuesday May 05, 2020 @03:30AM (#23077434)
>decoding and encoding of messages between client and server

You can generate the message types and communication functions from a shared schema, e.g. gRPC/GraphQL/Swagger and many others, which will also lead to looser coupling and hopefully proper API version/change management.

I feel like unless you're using JavaScript/TypeScript on the server, most of the benefits of a shared language and framework will be negated by the lack of easy access to the web frontend ecosystem. (This may not be true for isolated shared modules that are oblivious to the UI, e.g. validation logic, where the surface area between it and the rest of the client code is maybe one or two functions.)

There are no comments on this comment yet.