SmallEventsBundle

From small iceberg
Revision as of 13:09, 16 October 2020 by Seb (talk | contribs) (Created page with "== Target == SmallEventsBundle is a symfony bundle to share events accross symfony apps == Concept == We have 3 symfony apps : * ElasticIndexingApp * MailApp * OrderApp Th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Target

SmallEventsBundle is a symfony bundle to share events accross symfony apps

Concept

We have 3 symfony apps :

  • ElasticIndexingApp
  • MailApp
  • OrderApp

The OrderApp validate an order. When it's done, an event is emmited.

The ElasticIndexingApp receive the event and do nothing.

But the MailApp want to notify customer the his order is validated. Then, he handle the event and send the mail.

Here is a small Scheme to explain the process :