dqtm8504 2012-06-25 10:07
浏览 74

使用socket io是否意味着放弃PHP和apache? [关闭]

So I've started working a little with Node JS and socket io for building fast and stable real time web applications (I'm pretty newbie to those). The thing is that up until now I've been using LAMP and I don't think I am ready to abandon apache and php for developing a website completely with node js.

Can anyone please tell me what is the standard structure of integrating socket io with apache?

  • 写回答

2条回答 默认 最新

  • dougouqin0763 2012-06-25 10:10
    关注

    For any Socket.IO web app you still need:

    1. an HTTP server
    2. a Socket.IO server

    Node.js can do both those, but can't serve PHP content.

    Apache can only do the HTTP / PHP parts.

    It's perfectly possible to mix and match, but it's down to you do decide whether it's appropriate.

    评论

报告相同问题?

悬赏问题

  • ¥15 python中合并修改日期相同的CSV文件并按照修改日期的名字命名文件
  • ¥15 有赏,i卡绘世画不出
  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题
  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员