问题描述
Zend框架以松散耦合的组件而闻名.
Zend framework is well known for loosely coupled components.
我想从zend框架中使用XML-RPC,XML-RPC是否有任何依赖关系?就像我从Zend Framework Library中取出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)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!