#javazone — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #javazone, aggregated by home.social.
-
The talk integrates everything from the frontend to the backend, from buttons becoming available in the UI due to the availability of hypermedia controls, to commands triggered by pushing the buttons, triggering domain events in the backend, which are then emitted over a Server-Sent Events-connection all the way back to the client, updating the UI. All in one seamless loop, requiring almost 0% custom client-side JavaScript.
No front-end framework, just the little JavaScript library "Datastar" hooking up the SSE and hypermedia pipeline. I hope it gives you new ideas for how the architecture of a modern web application might look like. Don't be shy – reach out if you have any thoughts or questions. I'm all ears! :)
If you want to take the demo application I built for the talk for a spin, you can find it here:
-
It was a blast being able to hold the talk "Domain-driven web APIs" at JavaZone this year!
This talk has been in my drafts for more than 10 years and combines two of my greatest interests in the world of software development: DDD (domain-driven design) and REST (Representational State Transfer).
In the talk, I go into how, with the help of domain discovery, you can understand which events naturally occur within your domain, and from those events construct commands causing the events to happen, which are then finally exposed to the API clients through hypermedia in your APIs.