phplivex 是扩展还是插件? [英] Is phplivex a extension or plugin?

查看:68
本文介绍了phplivex 是扩展还是插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

扩展和插件之间的实际区别是什么?

what is the actual difference between a extension and plugin?

例如.phplivex 是扩展还是插件?

eg. is phplivex a extension or plugin?

我必须知道我应该把它放在哪个文件夹中

i have to know in which folder i should put it in

推荐答案

据网站介绍,PHPLiveX 是一个 php ajax 库和框架,用于将 php 与 ajax 结合使用,因此它既不是扩展也不是一个插件.*

According to the website, PHPLiveX is a php ajax library and framework to use php with ajax, so it is neither an extension nor a plugin.*

扩展在 PHP 中是通常是 PHP 可以编译的 C 库,或者可以在 php.ini 中启用的提供特定功能的 C 库.例如,cURL 是一个允许您执行 HTTP 请求的扩展.

Extensions in PHP are usually C libraries that PHP can be compiled with or that can be enabled in php.ini that provide a certain functionality. For instance cURL is an extension that lets you do HTTP Request.

术语插件在PHP中没有明确的含义.可以通过插件增强现有的用户空间库和框架,为它们添加功能.例如,在 Zend Framework 中,您可以编写自定义的 用于 Zend_Controller 的插件 在运行时添加自定义行为.

The term Plugin has no definite meaning in PHP. Existing userland libraries and frameworks can be enhanced through plugins to add functionality to them. For instance, in Zend Framework, you can write custom plugins for Zend_Controller to add custom behavior at runtime.

这篇关于phplivex 是扩展还是插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆