What architectural concept would you recommend for a PHP project. The main task of the…
Jump to turn (14)
- 1What architectural concept would you recommend for a PHP project. The main task
- 2I think MVC is not flexible enough for this range of tasks in its basic form. I'
- 3Now we have started talking in a more appropriate direction. Tell me, where woul
- 4continue. you interrupted
- 5MVC doesn't exactly suit my implementation. Let's focus on DDD. How do you look
- 6Could you give an example of converting specification to sql
- 7Cool! but could you use one programming language in one chain of examples. PHP w
- 8The point is clear. Where in this case we will store the SQL construction code i
- 9Now combine the concept of the Repository with the Specification. I think we wil
- 10Great job! Now let's abstract even further using the Storage abstraction. Let th
- 11You were close. But I think we need to move the compilation of the sql query to
- 12This is what I wanted. But what to do when the data is aggregated from several s
- 13You are a smart, but we forgot one moment. We need to save the changed entity da
- 14Now imagine that the data from the two repositories are connected. An entity, le
- User
What architectural concept would you recommend for a PHP project. The main task of the backend in this case:
- Receiving data from several ba
- Data preparation.
- Passing to the front as json
There are also some logical tasks with calculations and aggregation
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.