Reputation: 21
Actually, I'm trying to make a web application for the hospital in PHP. Which approach would be good?. And also, I heard about Clean Architecture. Is this possible to implement in PHP? What could be directory structure? Thank you.
Upvotes: 0
Views: 435
Reputation: 3573
The Clean Architecture is an "architecture pattern" which is independent from specific frameworks or programming languages. I successfully used it in C# and F# projects. You can apply it to PHP projects as well. You should probably start reading about the details in Uncle Bobs article: https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html
The Clean Architecture is not very specific about a project structure - as long as u respect the dependency rule. Nevertheless most projects I saw separate the circles into separate projects.
If you want to read about a more detailed example how you could organize your project pls have a look at my blog post: https://plainionist.github.io/Implementing-Clean-Architecture-Scream/. Other aspects of the CLean architecture are discussed in the series as well.
Upvotes: 0