开发者

php plugin based script

开发者 https://www.devze.com 2023-02-16 18:21 出处:网络
I\'m thinking of 开发者_StackOverflow中文版building a plugin based application. At the moment, I am not sure what type of plugins will be used so I don\'t have a requirement.

I'm thinking of 开发者_StackOverflow中文版building a plugin based application. At the moment, I am not sure what type of plugins will be used so I don't have a requirement.

I wish to know how such applications are designed so I can start my application around that.

Does anyone have any experience with this? I don't mind what sort of system it is or what your plugins do. What I want are some ideas on how others have achieved this so I can formulate and make my own.

Thanks.


I use this for all of my plugins: http://failover.co.za/2010/10/20/writing-a-pluggable-php-application-part-1/

If the plugins are going to be built by people who won't be editing the script, then you can just include the file for the plugin.


I think it's better for you to work with MVC Framework and then create an application core (modules and all apps need and require this), then think global and create other apps and modules.

Also I suggest you look at an Open Source CMS like Wordpress, Drupal, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消