Yes, there are two projects now. I want to display some data in the second project in the first project; for example, I want to display the to-do files and the number of to-do files in the second project; the How to achieve this?
One thing that comes to mind is CI
Multiple databases can be configured in the framework and the databases can be operated, but there are too many data tables to be used and the operation is too cumbersome
The second point is, can I use itcurl
Get the method in the controller in the second project and let it return the data?
Hope you can give me some advice
That’s it, now there are two projects. I want to display some data in the second project in the first project; for example, I want to display the to-do files and the number of to-do files in the second project; the How to achieve this?
One thing that comes to mind isCI
Multiple databases can be configured in the framework and the databases can be operated, but there are too many data tables to be used and the operation is too cumbersome
The second point is, can I use itcurl
Get the method in the controller in the second project and let it return the data?
Hope you can give me some advice
You can use two projects on the same machine to understand your second project as third-party support for the first project, open a restful interface in the second project, and provide it for the first project to call
Provide external interface or Soap protocol
The second project just needs to write the API interface for the first project to call