Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

To help onboard new users it would be useful to describe the main building blocks required to start using Commanded and configure an event store.

  • Commanded.Application - explain what it is, and that it differs from an OTP application.
  • Event store - adapter configuration and event store definition (e.g. define EventStore module).
You must be logged in to vote

Replies: 2 comments

Comment options

Related to the first point, I think it might be appropriate to establish a convention for the file in which to use Commanded.Application. The current Application documentation uses MyApp.Application, but almost every Elixir application already has such a file that configures it's OTP application.

Some real-world examples are Bonfire uses Bonfire.EventApp and @vasspilka's Bank example creates a Bank.Core namespace with the Commanded application at Bank.Core.Application.

You must be logged in to vote
0 replies
Comment options

As a brand new user, this was definitely something that confused me. Upvote for some clarifying "best practice" documentation about how to structure Commanded Applications in both fresh projects (ala mix new --sup) and within phoenix projects.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #350 on September 29, 2024 14:23.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.