How to independently use single Zend Framework component like XML-RPC or REST?(如何独立使用单个 Zend Framework 组件,如 XML-RPC 或 REST?)
问题描述
Zend 框架以松散耦合的组件而闻名.
Zend framework is well known for loosely coupled components.
我想使用 Zend 框架中的 XML-RPC,XML-RPC 有任何依赖吗?就像我从 Zend 框架库中取出 XML-RPC 文件夹并尝试实例化 RPC 对象一样,它会抛出错误吗?
I would like to use XML-RPC from zend framework, is there any dependency for XML-RPC? Like if I had taken out XML-RPC folder off Zend Framework Library and try to instantiate RPC object, would it throw error?
在哪里可以找到将组件与框架分离的正确方法?
Where can I find the proper way of separating component from the framework?
谢谢
推荐答案
我编写了一个工具,该工具可以获取 ZF 组件及其依赖项,因此您可以轻松地从 ZF 获取一个(或多个)组件.
I wrote a tool which takes ZF components and their dependencies so you can easily take just one (or several) component from ZF.
http://epic.codeutopia.net/pack/
它没有最新的 ZF 版本 1.11(因为我很懒),但 1.10.6 应该可以正常工作.
It doesn't have the latest ZF release 1.11 (because I'm lazy), but 1.10.6 should work just fine.
这篇关于如何独立使用单个 Zend Framework 组件,如 XML-RPC 或 REST?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何独立使用单个 Zend Framework 组件,如 XML-RPC 或 REST?
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
