jkphl / clear-architecture

Pragmatic & opinionated implementation of the Clean Architecture with a fixed base layout and simple-to-follow rules and conventions
MIT License
105 stars 14 forks source link

I'm struggling with migrating my existing project #2

Open JunaidQadirB opened 6 years ago

JunaidQadirB commented 6 years ago

I'm working solo on a bit mid-sized project. I have come to a realization that my project is a Laravel app than An Application because I had started with a CRUD mind-set then I felt things are not right and went back to re-read Software Engineering theories that we once studied in the CS class.

Please check my repo I followed the hexagon architecture.

https://github.com/JeyKeu/ddd-php

I follow this directory structure. src | |Common | | |Contracts | | | |Command | | |Infrastructure | | | |CommandBus | |Post | | |Domain | | | |Exception | | |Infrastructure | | | |Persistence | | |Application | | | |Command | |User | | |Domain | | | |Exception | | |Infrastructure | | | |Persistence | | |Application | | | |Command

I'm also struggling with theory as well been reading a lot and watching a lot on the architecture pattern.

jkphl commented 6 years ago

@JeyKeu First of all sorry for the late reply and thanks for your comment. However, I don't really understand what your question or issue is. Maybe you could elaborate a bit clearer? Unfortunately, due to general overload, I won't be able to dive into and comment on your particular project structure — that would be way beyond my capacity at them moment. Thanks for your understanding!