teaforthecat / bones-http Goto Github PK
View Code? Open in Web Editor NEWbones.http is a CQRS implementation built on yada
License: Eclipse Public License 1.0
bones.http is a CQRS implementation built on yada
License: Eclipse Public License 1.0
pedestal supports SSE, and it looks pretty easy in the sample app
pass commands with specs into the CQRS/build-system step like the event-source-handler and query-handler
Given a config with errors such as non-namespaced keywords:
{:http/handlers {...}}
When build-system is called, a warning should indicate that there is something wrong. The warning could say
yo, it is weird that you are building this system without a
:bones.http/handlers
key
This would be done with component's dependency injection I suppose. Along side :conf
, :http/interceptors
perhaps(?). One use case is the custom expiry of authentication tokens. Perhaps one would want to check a database on every request to ensure the user's validity hadn't changed. This could be done in the command handler itself, but it would have to be repeated in each command handler.
see the failing test here #1
handlers should be instrumented by their spec I think.
It is much cleaner to pass a function and wrap it in an interceptor like the event-source-resource
does.
It would be possible to dispatch on a parameter like "type" perhaps(?).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.