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 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建