duanchi8836 2010-08-19 02:57
浏览 51
已采纳

用什么来构建PHP中的服务层?

I come from a MS / C# / .Net background, and am accustomed to everything that the .Net Framework has to offer, including WCF. When building a service tier in .Net, the choice of what framework to use is easy: WCF. WCF gives you the ability to write something once, and the flexibility to expose that functionality in multiple ways and in a variety of serialization tactics using only a configuration change.

As a newcomer to PHP, I'm trying to determine what libraries / APIs / frameworks in PHP can rival what WCF has to offer. What is the best library / API / framework / approach to use when beginning to construct a service tier in PHP? Is there anything that can do what WCF does in PHP?

  • 写回答

1条回答 默认 最新

  • douxue4242 2010-08-19 03:23
    关注

    This is rather broad and I am not sure if there is a direct translation from Windows to PHP. However, you can try looking at some web services frameworks like this one: http://wso2.com/products/web-services-framework/php/

    In addition there are some MVC frameworks who may provide some of the similar approaches such as http://cakephp.org/.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记