I think you need to go through several levels
Level 1: creating and running the zend application
Level 2: create node.js and run
level 3: create node.js and socket.io
if you are familiar with 3 levels, I think you can understand so simple chat application that using node.js and socket.io within zend
you can download it and transfer read me file to run the application based on php and node js
here
I hope that helps you
source share