FirePHP with CodeIgniter

Recently I have add a new entry to my company wiki about using FirePHP with CodeIgniter framework. I was very excited to find out that FirePHP Core Library now available in PHP4 and by referencing to an old entry Fire Ignition, I quickly create a CI wrapper that allows developer to embed FirePHP codes in their existing CI projects.

Although this page provide detail coverage on FirePHP, it mainly focus on integrating with Code Igniter, PHP4 MVC framework used for Central2. All setup and examples usage are also in PHP4.

FirePHP is an addon for FireBug, which is an extension for Firefox browser. It enables you to log to your Firebug Console using a simple PHP method call. All data is sent via response headers and will not interfere with the content on your page.

FirePHP is ideally suited for AJAX development where clean JSON and XML responses are required.

Continue reading