Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Working prototype - baseline for writing exercises for attendees #1

Merged
merged 38 commits into from
Aug 18, 2022

Conversation

Ocramius
Copy link
Owner

@Ocramius Ocramius commented Jul 31, 2022

TODO:

  • run CI on github - this project must be maintained long-term
    • configure renovate (post-merge)
    • configure CI
    • add a Makefile for easy usage
  • provide example setup

Ocramius added 8 commits July 31, 2022 18:19
…` dependencies

Also included `doctrine/migrations` (we will use it to start the dev environment),
as well as `doctrine/coding-standard` (CS rules will help us finding undocumented types)
and `qossmic/deptrac` (shim version - useful to enforce dependencies)
@Ocramius Ocramius added the enhancement New feature or request label Jul 31, 2022
@Ocramius Ocramius self-assigned this Jul 31, 2022
@icanhazstring
Copy link

Can't wait for the finished product.

Would like to compare it to patchlevel/event-sourcing (I am using currently). Which is a very simplistic way of using event-sourcing. (Also has some symfony integration)

Includes:

 * tests
 * example domain and docs for it
 * full static analysis pass
 * good coverage

Required adding some more dependencies:

 * `symfony/console` (used in `doctrine/migrations` underlying components)
 * `php-standard-library/psalm-plugin` for better type inference

As this stands, this still needs to go through CS checks, but that
will happen in a separate commit, to avoid breaking the current
achieved stability.
The idea is that the same `Dockerfile` used for CI can be used for
running the workshop, so we roll with that.

That means a less nice CI pipeline, but good enough for our purposes.

Note how CI does **NOT** push the docker image: since this is a public
repository, we cannot really perform docker registry pushes consistently,
since the pipeline would always fail due to missing secrets.

Also, we had to revert the SQLite JSON access syntax: not yet available
for PHP + Ubuntu 22.04.
…s and exercises

Also changed the license to `proprietary` for now: this is not really charity work,
and I plan to use it for my own purposes, for now.
@Ocramius Ocramius mentioned this pull request Aug 18, 2022
11 tasks
**Note:** in this workshop, we store the events in a relational database, but you can pick any storage
technology that guarantees durable, atomic persistence of events.

**Note:**: This is like blockchain, minus the bullshit.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

@Ocramius Ocramius changed the title WIP: Working prototype Working prototype - baseline for writing exercises for attendees Aug 18, 2022
@Ocramius Ocramius merged commit 4b1f6b9 into main Aug 18, 2022
@Ocramius Ocramius deleted the feature/working-prototype branch August 18, 2022 20:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants