How to use node.js and socket.io in zend framework

2019-02-10 19:42发布

I have built a zend framework application. I want to use node.js and socket.io in this application but don't know where to start. I have used a simple node and socket.io application by making a single index.html file and read this file using fsReadSync but how to connect my zend framework pages to node.js and socket.io.

Please help anybody. Thanks.

1条回答
啃猪蹄的小仙女
2楼-- · 2019-02-10 20:34

I think you have to walk through some levels

level 1: create zend application up and running

level 2: create node.js up and running

level 3: create node.js and socket.io

if you are familiar with 3 levels i think you can understand the so so simple chat app that using node.js and socket.io in zend framework

you can download it and flow read me file to run the app based on php and node js

here

I hope that help you

查看更多
登录 后发表回答