Want to ask you, PHP in the mainstream CMS online module and online plug-in installation of the implementation principle, type in the Phpcms module online installation, server and API interface is how to design. There is no reference to the case and the source can share the exchange, thank you!
Reply content:
Want to ask you, PHP in the mainstream CMS online module and online plug-in installation of the implementation principle, type in the Phpcms module online installation, server and API interface is how to design. There is no reference to the case and the source can share the exchange, thank you!
1. Module online installation is actually the installation of the database table, you install the time will give you automatically generate module template, template is a set of mechanisms, has the basic function of crud (PHPCMS I remember is inherited content.php will have)
2. PHPCMS has a crud API.
3. API interface is simpler than teaching, you can route it yourself (or find a route resolution tool on GitHub) to implement the RESTful API