Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Morgan's Blog:
Howto Log Directly to Your OS X Terminal using Zend Framework and NodeJS
Feb 19, 2010 @ 11:14:02

In an interesting post to his blog Rob Morgan shows how you can log in to a terminal from a Zend Framework application (on OS X) with the help of NodeJS.

NodeJS is a tool designed to provide an easy way to build scalable network programs. By using the I/O capabilities of NodeJS, I have built a simple TCP server that writes log messages to the OS X terminal (via STDOUT).

He shows how to take his example script and run NodeJS as a server on a local port (like 8003). You can then use his log writer plugin in your Zend Framework app to write directly to the waiting NodeJS server.

tagged: zendframework nodejs terminal osx tutorial

Link: