Where to put plugins in a Zend Framework website(在 Zend Framework 网站中放置插件的位置)
问题描述
问题很简单:我有一个用于 Zend Framework 的控制器插件.
The question is quite simple : I have a controller plugin for Zend Framework.
我应该把它放在library/Plugin"文件夹中,还是放在application/plugins"中.
Should I put it in the "library/Plugin" folder, or in "application/plugins".
(顺便说一句,现在它在库/插件中,但这适用于 Linux 和 Mac Os X,但不适用于 Windows,所以我想这可能不是正确的地方)
(btw for now it is in library/Plugin but this works on Linux and Mac Os X, but not Windows so i figured maybe that is not the right place)
谢谢
推荐答案
如果是 控制器插件 它位于应用程序/插件"中.
如果它是通用插件(即实用程序类等),则它位于/library/* 中,其中 * 跟在 Zend Loader 规则.
If its a controller plugin it goes in "application/plugins".
If it's a general purpose plugin (ie Utility Classes and such) it goes in /library/*, where * follows the Zend Loader rules.
这篇关于在 Zend Framework 网站中放置插件的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Zend Framework 网站中放置插件的位置


- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01