viczam / makeen-hapi

MIT License
8 stars 2 forks source link

Provide a simpler solution to register services, events and entities #41

Closed viczam closed 7 years ago

viczam commented 7 years ago

Done. You can register ServiceContainers, which are classes that group together services. There's no point in triggering events (as I see it now), mainly because we use messages for that. You need to notify the outer world that something happened? Just publish a message for that. There are no entities anymore, I call them Repositories. It makes more sense and it correlates better with the well-known design patterns.