se7enxweb/owsimpleoperator
Composer 安装命令:
composer require se7enxweb/owsimpleoperator
包简介
eZ Publish extension which provides function based custom template operator support to generate complex template logic increadibly simply. Provides for simple template operator implementation guide that is needed quite often, yet missing in eZ Publish. Great for smart developers!
关键字:
README 文档
README
Template operators of eZ Publish are really powerful!
But sometimes you want to create some simples template operators, which don't need power.
In this case, you can use OWSimpleOperator. You will save time and you will have more readable and maintainable operators.
This extension was made by Open Wide
Install
For installation instructions please read the doc/INSTALL.md
Features
The OWSimpleOperator provides also a lot of utility methods for your PHP code :
-
Call any PHP Function as a template operator
-
String manipulation
-
eZ Object Attribute Manipulation
-
Object type Control
-
Output manipulation
Constraints
If an operator argument is optional, you have to set the default value to null.
If you want more than 10 arguments for your operator, you have to override the $max_operator_parameter attribute.
If you want to use a PHP Function as a template operator it must be enabled within owsimpleoperator.ini.append.php:[PHPFunctions] PermittedFunctionList[]
If you want to use a PHP Class Method as a template operator it must be enabled within owsimpleoperator.ini.append.php:[ClassOperators] PermittedClassOperatorList[]
Copyright
OW Simple Operator is copyright 2011 - 2014 OPEN WIDE and 1999 - 2014 Brookins Consulting
See: doc/COPYRIGHT.md for more information on the terms of the copyright and license
License
OW Simple Operator is licensed under the GNU General Public License.
The complete license agreement is included in the doc/LICENSE file.
OW Simple Operator is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
OW Simple Operator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The GNU GPL gives you the right to use, modify and redistribute OW Simple Operator under certain conditions. The GNU GPL license is distributed with the software, see the file doc/LICENSE.
It is also available at http://www.gnu.org/licenses/gpl.txt
You should have received a copy of the GNU General Public License along with OW Simple Operator in doc/LICENSE. If not, see http://www.gnu.org/licenses/.
Using OW Simple Operator under the terms of the GNU GPL is free (as in freedom).
Troubleshooting
Remember template results are cached
Warning! Remember to use cache-block tags to ensure operator and function results are not cached incorrectly.
Please read doc/INSTALL.md for more detailed information and example solutions.
Read the doc/INSTALL.md
Some problems are more common than others.
The most common ones are listed in the the doc/INSTALL.md
se7enxweb/owsimpleoperator 适用场景与选型建议
se7enxweb/owsimpleoperator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 493 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 01 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「template」 「operator」 「extension」 「ez publish」 「eZ Publish Legacy」 「eZ Publish Platform」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 se7enxweb/owsimpleoperator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 se7enxweb/owsimpleoperator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 se7enxweb/owsimpleoperator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.
FullTextSearchQueryLike is a PHP class which transforms search strings into clever SQL conditions with the LIKE operator
A custom URL rule class for Yii 2 which allows to create translated URL rules
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
统计信息
- 总下载量: 493
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-01-07