Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Reorganise package structure #5

Merged
merged 5 commits into from
Apr 15, 2018
Merged

Reorganise package structure #5

merged 5 commits into from
Apr 15, 2018

Conversation

lcobucci
Copy link
Owner

@lcobucci lcobucci commented Apr 15, 2018

The main goals with the new structure are:

  • Decouple the base library from PSR-7 objects (enabling the creation of lcobucci/chimera-console in the future)
  • Simplify the integration with service bus libraries
  • Make things a bit more consistent regarding modules

@lcobucci lcobucci added this to the 1.0.0 milestone Apr 15, 2018
@lcobucci lcobucci self-assigned this Apr 15, 2018
Chimera should now be able to handle things regardless of the delivery
mechanism, enabling us to also expose commands/queries handlers in
command line applications.
Making us use a proper object instead of any `callable` to generate
identifiers for new objects.
To simplify the integration with libraries (have simple adapters) and
move the return control to components responsible to segregate commands
and queries.

With this change we also decouple everything from PSR-7 objects.
Since these concepts will only be used by the packages that connect
chimera to any service bus implementation, in middleware that handle the
queries, it makes more sense to keep them under `ServiceBus`.
The namespace already provides an idea of what's in there.
@lcobucci lcobucci force-pushed the reorganise-package branch from fcbf7a9 to 640c743 Compare April 15, 2018 19:11
@lcobucci lcobucci merged commit c50ae93 into master Apr 15, 2018
@lcobucci lcobucci deleted the reorganise-package branch April 15, 2018 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant