如何独立使用单个 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.
相关文章