62.1. Zend_Wildfire

Zend_Wildfire is a component that facilitates communication between PHP code and Wildfire client components.

The purpose of the Wildfire Project is to develop standardized communication channels between a large variety of components and a dynamic and scriptable plugin architecture. At this time the primary focus is to provide a system to allow server-side PHP code to inject logging messages into the Firebug Console.

For the purpose of logging to Firebug the Zend_Log_Writer_Firebug component is provided and a communication protocol has been developed that uses HTTP request and response headers to send data between the server and client components. It is great for logging intelligence data, generated during script execution, to the browser without interfering with the page content. Debugging AJAX requests that require clean JSON and XML responses is possible with this approach.

There is also a Zend_Db_Profiler_Firebug component to log database profiling information to Firebug.

blog comments powered by Disqus