joomla-pythagoras icon indicating copy to clipboard operation
joomla-pythagoras copied to clipboard

Front Controller: Command Detection

Open nibra opened this issue 10 years ago • 6 comments

All CRUD operations are (will be) covered by the core system. If a component provides business logic, this should go into (business) Models. We need a way to identify or declare the public methods (and their parameters) to wrap them into Commands.

nibra avatar Oct 12 '15 05:10 nibra

Ported from the service project https://github.com/chrisdavenport/service.

laoneo avatar Jun 02 '16 17:06 laoneo

It#s only partially done, since some issues with the detection of Command(Handler)s are not solved yet.

nibra avatar Jun 03 '16 16:06 nibra

What issues have you come across?

chrisdavenport avatar Jun 03 '16 18:06 chrisdavenport

I'm looking for a convenient way to autodetect commands (and their required parameters) from controllers/models, if their public methods are treated as command handlers. Haven't spent much time on this yet.

nibra avatar Jun 03 '16 21:06 nibra

But then I would open a new issue which addresses exactly that problem. Having a generic issue which addresses all Command Bus problems is confusing and difficult to trace.

laoneo avatar Jun 04 '16 05:06 laoneo

That's one of the next steps.

nibra avatar Jun 04 '16 08:06 nibra