开发者

What is the difference between plugins, modules, add-ons etc in PHP?

I ha开发者_Python百科ve a little question I want to know what is the difference between Plugins/Modules/Add-ons in PHP?


I agree with Pekka, the terms are meaningless.

If you are looking to build on your CMS, then you can take Joomla path.

It is explained in http://www.opensourcevarsity.com/joomlaadmin/l3diffbtncompplugmod and http://forum.joomla.org/viewtopic.php?p=1485432

In summary: Components = A Mini Application. It adds new functionality. Example are: newsletter, forum, etc. Modules = A boxed section on a webpage presenting information. It extends functionality of existing system. Plugin = A script triggered by an event. It manipulates data before being presented to the user.


There is no defined concept for neither of the three in PHP.

The only defined term is extension which describes a compiled library that is loaded into PHP - either through php.ini, or more rarely using dl() - and provides additional functions and classes that can be called from within the PHP script. Extensions are usually written in C (In fact, I don't know to what extent it's possible to write them in other languages) You can find a list of PHP extensions here.

Many frameworks and applications implement different kinds of add-ons and plug-ins, usually in the form of a framework that includes PHP source files. It is impossible to tell more without knowing more about the context you came across these terms.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜