The names bra uses for things, in some areas, are slightly weird and could probably be replaced with more obvious names. Here are some examples, along with whether or not we've resolved what to do with them:
[ ] Module - A subsystem that can be configured and added into bra (currently at load-time, eventually at run-time too).
[x] DriverService - A module that interfaces with, or provides, a service that can be exposed via bra.
[ ] Server - A module that provides an interface between bra and the outside world.
[x] Request - An instruction from the outside world/the model to a service, via bra.
[x] Response - An instruction from a service to the outside world/the model, via bra.
[x] Model - The data structure that contains representations of both service and bra state, that can be queried by any module and updated via the owning party.
[ ] Driver view - A handle on part of the model that can directly update it, hence named because originally only drivers got one.
[ ] Server view - A limited view of the model that can only issue GET/PUT/POST/DELETE requests on it, hence named because originally only servers got one. Drivers now also get this, so they can interact with bits of the model they don't own.
[ ] Requester - Driver component that attaches request handlers to the driver's model and co-ordinates the sending of requests to the downstream service.
[ ] Responder - Driver component that receives responses and directs them to the appropriate handler.
[ ] Request handler - A hook that is attached onto part of a model, is triggered when a server view requests a change to that model, and carries out the business of handling that request.
[ ] Response handler - A hook that is fired by the responder when its respective response is read, and carries out the business of updating the model via the driver view to reflect the response.
There are probably more, so feel free to add them below.
The names bra uses for things, in some areas, are slightly weird and could probably be replaced with more obvious names. Here are some examples, along with whether or not we've resolved what to do with them:
DriverService - A module that interfaces with, or provides, a service that can be exposed via bra.There are probably more, so feel free to add them below.