jorge07 / ddd-playground Goto Github PK
View Code? Open in Web Editor NEWDomain-Driven Design in a PHP project using Symfony
Domain-Driven Design in a PHP project using Symfony
Authentication is required to view Nelmio's Documentation @ api/doc
:
{
code: 401,
message: "JWT Token not found"
}
Even though a api:doc:dump
is being made by the build.xml
it would be a good idea to allow access to the the docs without authentication.
The [Identifier]
serializer group not being used for User.
In fact AggregatedRootId
is also not using it:
Leos\Domain\Common\ValueObject\AggregateRootId:
properties:
uuid:
expose: true
groups: [Basic]
It is being used by the transition id
, but the user is not using that ;)
Learn and use the document
Replace build steps for moby/moby#31257 when docker release it.
docker-compose -f etc/infrastructure/dev/docker-compose.yml exec fpm bin/console rabbitmq:multiple-consumer events
ERROR: .IOError: [Errno 2] No such file or directory: u'.\\etc/infrastructure/dev/docker-compose.yml'
I noticed that User domain model has aggregation with Doctrine Array Collections, does not it violates DDD principles? We should create interface for collection in domain common bundle and the adapter for ArrayCollection in infrastrucutre layer, should not we?
The User's Auth Role
s are not persisted.
To fix that, we should add:
Infrastructure/SecurityBundle/Resources/config/persistence/ValueObject/AuthUser.orm.yml
roles:
type: json_array
nullable: false
The UI/Controller tests check for an array in the role
attribute response but do not check the content.
The Domain/User/testGetters doesn't test it at all, but testing it there will always pass, as it is set in the User entity.
Maybe it could be tested on the Infrastructure/Persistence level?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.