Currently, ThinkPHP framework is used, including Web and micro-websites, and interfaces for cooperation with third parties. How does the ThinkPHP framework support multiple applications to share a set of business logic code? Or other solutions. Is there any PHP framework that can directly support the ThinkPHP framework currently used in this architecture, including Web, micro-websites, and interfaces for cooperation with third parties.
How does the ThinkPHP framework support multiple applications to share a set of business logic code? Or other solutions.
Is there any PHP framework that can directly support such an architecture?
Reply content:
Currently, ThinkPHP framework is used, including Web and micro-websites, and interfaces for cooperation with third parties.
How does the ThinkPHP framework support multiple applications to share a set of business logic code? Or other solutions.
Is there any PHP framework that can directly support such an architecture?
You can take a look at ThinkPHP's multi-layer MVC or RPC.
This is an architecture issue and is not part of the web framework.
Services are encapsulated into interfaces. All the places where data is to be displayed call the interface.