首页
开发手册
应用中心
工具
用户中心
Develop your own FoundPHP module
开发自己的 FoundPHP 模块
English
中文简体
English
上一篇
下一篇
### Develop your own FoundPHP module FoundPHP The development module is very simple and provides 2 ways. #### Method 1 Open the plugin directory to find the model and create a php file in the directory. The default.php file is default. Here we create a test file found.php, the system will associate the view, and the found.htm template file is created in the default directory under the view directory. **Demo Code:** plugin/model/found.php ```PHP ``` plugin/view/default/found.htm ```HTML {my} ``` The default in the view is used for multiple styles. The default style of the system is default, and different names can be set for the styles set by yourself. #### Method 2 You can enter the name of the new model in the browser, and the system will enter the automation address. At this time, the required project structure files can be automatically generated, and the data and template content can be set according to requirements Similarly, just enter the following content under the browser project address: index.php?a=found The corresponding guided operation can appear, just fill in according to the operation content.