interface EventDispatcher;
interface EventSubscriber;
interface MetadataFactory;
interface EventStore;interface AggregateEventStream extends EventStream;
interface EventStream extends \IteratorAggregate;
interface EventStreamGroupedByCommit extends EventStream;//commands
interface Command;
interface CommandDispatcher; //can be decorated by a CommandDispatcherWithCommandValidation
interface CommandSubscriber;
interface MetadataWrapper;
interface CommandValidatorSubscriber; //used by CommandDispatcherWithCommandValidation
//scheduling
interface FutureEventsStore
interface ScheduledCommand extends Command, ScheduledMessage;interface ScheduledEvent extends ScheduledMessage
interface ScheduledMessage extends IdentifiedMessage;interface CommandScheduler;
interface IdentifiedMessage;interface ScheduledCommandStore;
//read models and sagas (process managers)
interface ReadModelInterface;
interface SagaEventTrackerRepository;I know that there are a lot of interfaces, but in fact, in a working application, more interfaces are needed.In order for this to work, the minimal requirements from the code in the Domain layer is the Command interface (for its getAggregateId method). The Event interface should be used only to detect event handlers by reflection. So, the domain code remains (almost) pure.I know that my question mixes the proposed standard with my implementation but I don't know how to start the discussion otherwise.So, what do you think?
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/0c9a062b-4f1b-4f3c-85d3-433a93fdb234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+unsubscribe@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/0c9a062b-4f1b-4f3c-85d3-433a93fdb234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+unsubscribe@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/2E629BBA-3015-4A4C-AA47-E85DC1539E64%40buffalo.edu.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAe24OaPQRQrKwHiYHfpzEJGG71S4o%3DeHBxPcK-A9-rvfw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAe24OaPQRQrKwHiYHfpzEJGG71S4o%3DeHBxPcK-A9-rvfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+unsubscribe@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/C3FB5291-3FE4-4639-AC19-F4A616A2C0BB%40buffalo.edu.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAceRQO4owtXTsM0M6cxQ5soqZOFOzgcmJR9twBJb1JZZw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAceRQO4owtXTsM0M6cxQ5soqZOFOzgcmJR9twBJb1JZZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+unsubscribe@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/BDF7FD75-FEE4-4B04-AE23-66F79858D518%40buffalo.edu.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/0c9a062b-4f1b-4f3c-85d3-433a93fdb234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/2E629BBA-3015-4A4C-AA47-E85DC1539E64%40buffalo.edu.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAe24OaPQRQrKwHiYHfpzEJGG71S4o%3DeHBxPcK-A9-rvfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/C3FB5291-3FE4-4639-AC19-F4A616A2C0BB%40buffalo.edu.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAceRQO4owtXTsM0M6cxQ5soqZOFOzgcmJR9twBJb1JZZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/78LIU6d7mic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/BDF7FD75-FEE4-4B04-AE23-66F79858D518%40buffalo.edu.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CABEUsAcTfSnhnCdTaRFry-hc4F5e%2B-hxyFv9s1kda89Cn_%3DRqA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/2fcf15b6-cae8-4504-a103-df92c31b3f5b%40googlegroups.com.