Category Archive: FirePHP
April 1, 2009

I recently discovered Zend Server and the free Community Edition which I think is a great development. We finally have a standard platform to code against. Not so much in terms of the bundled install of PHP and apache which has been offered for a while; but rather in terms of a standard directory structure, configuration and web-based administration system. More on that later.

Better yet this PHP environment bundle is backed by Zend which means it will stay maintained and likely make it into many corporate environments. It also ships with Zend Framework and PEAR which means it has full native FirePHP support right from the start! If you need another reason it also installs nicely alongside your existing Apache/PHP install without any conflict out of the box. There is really no reason why you cannot run Zend Server in parallel to your existing setup.

I am going to walk you through how you can get FirePHP setup for ZendServer with the help of some glue code. The glue is available from the FirePHP PEAR channel and will be maintained along with FirePHP going forward. At the end of this tutorial you will have FirePHP available automatically for any Apache vhost you configure on your Zend Server.

Continue reading »

February 20, 2009

I recently discovered a new Mozilla Labs project called Bespin. From the release announcement:

Just as Mozilla enables massive innovation by making Firefox open on many levels, we hope to do the same with Bespin by developing an extensible framework for Open Web development. We’re particularly excited by the prospect of empowering Web developers to hack on the editor itself and make it their own.

I encourage you to check out this project. It’s in a very early stage of development, so don’t expect to switch IDE’s any time soon, but based on the amount of interest it has already generated the project is going to evolve quickly.

Continue reading »

November 29, 2008

The November issue of php|architect is finally out. Why is this exiting for me? Because I had something to do with it:

/etc: FirePHP for Ajax Development

Firebug is without doubt the most popular development tool among Firefox plugins. Christoph Dorn thought it would be nice to have PHP integration for it.

by Christoph Dorn

Continue reading »

October 22, 2008

I have released a new version of FirePHP. You can download it here. It will also be available on the Mozilla Add-ons site in a few days.

The release includes 27 bug fixes and feature enhancements. The scope of this release was primarily focused on improving the current feature set in terms of usability, reliability and support for logging complex objects. You can find the changelog here.

Continue reading »

October 14, 2008

Eran Galperin has written a great post on profiling MySQL queries with Zend_Db and optimizing them by hand.

He explains how to use Zend_Db_Profiler to analyze all SQL queries on a page and how to improve the performance of the queries by adding indexes.

Here is a quick modification to his example that will send the profiling information to firebug instead of printing it to the page.

Continue reading »

September 2, 2008

The long awaited day has arrived. Zend Framework 1.6 just shipped and with it native support for FirePHP!

This means that if you use Zend Framework (ZF) you can now log to your Firebug Console via FirePHP without needing to download any other PHP files such as the FirePHPCore library.

There are two primary components available at this time. One is the Zend_Log_Writer_Firebug and the other the Zend_Db_Profiler_Firebug.
Continue reading »

August 30, 2008

I stumbled across this post during one of my “firephp” google searches.

I find it great for inherited websites where I need to troubleshoot problems on live servers, as I can have all the debug/variable dump/etc crap dump to the FirePHP console so it doesn’t show up on the website while I’m trying to track down a problem and the budget is not there to make a dev copy of the system[they need an in and out fix, 4 hours tops]

It illustrates a great use case. Many times you need to maintain legacy code that you don’t have a development environment for. FirePHP enables you to do ad-hock debugging on a live site without affecting site visitors as long as you are careful not to cause any parser errors. Maybe not a great idea on a high-traffic site, but chances are if the site runs on more than one server or has a lot of traffic the owners will be able to afford a development environment for you.

It may also be a great tool for helping you convert PHP4 applications to PHP5.