Giter Site home page Giter Site logo

Comments (2)

jorge07 avatar jorge07 commented on May 23, 2024

Hey @inkuber

1 - You're totally right. I use to develop very small services and for those this layered structure just works. For bigger ones I flip the structure the same way: BoundedContext/Layers. On the other hand Identity and access management use to be a supporting subdomain inside a bigger one like Customer/Members.
2 - This really depends of your business model, what works for you may not work for others. An specification pattern allows you to define different rules decoupling the implementation. Sometimes works, sometimes it's just too much for the task. So IMO here, it depends.
3 -Yes, not all your business must implemented as ES, but probably the opposite. On the other hand usually User it's core business and this boilerplate illustrate with this example how to implement it. Nothing stops you from CRUD your business here.

I really appreciate your feedback. Seriously thinking about flip the layered structure so you don't have to when projects grow.

from symfony-6-es-cqrs-boilerplate.

jorge07 avatar jorge07 commented on May 23, 2024

After upgrade to PHP 8 yesterday I finally decided to go and switch to bounded context first structure. WIP

from symfony-6-es-cqrs-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.