September 10, 2008

I have more domplate goodness for you. First of all keep in mind that domplate only works in Firefox right now. I will be making it cross-browser soon! Also, it requires some plumbing code if used outside of Firebug that I will be removing as well.

This post is about the variable substitution and variable formatter functionality in domplate. I will start by showing you what you can do with the domplate implementation that is shipped with Firebug and then tell you about a little enhancement I made on my own copy.

Continue reading »

September 7, 2008

I have been working on trying to understand the magic behind domplate, the template system that is shipped with Firebug. Apparently nobody knows much about it and there is no documentation.

As part of my domplate project that is aimed at making the template system available for general use in the browser (and yes there will be documentation) I have begun by adding some debug logging capabilities.

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.

August 30, 2008

Google has banned my google groups account. No notice, no explanation and no way for me to contact them. Looks like I am not the only one, (2). I am getting the same screens as this guy.

I don’t think it is too much to ask to at least send an automated email when you ban an account as to the reason. Should group owners not get a bit more consideration and service? If it is a system glitch then I would expect a notice with a way to have your ban reviewed.

I may have to consider moving my groups elsewhere. Not a fun thing to do. I am sure I will lose a lot of subscribers along the way.

UPDATE – Sep 05, 2008: FirePHP now has a New Community Forum hosted by Nabble2.

UPDATE – Oct 14, 2008: My google groups account is still blocked. The worst part is that I cannot even unsubscribe from groups!

UPDATE – Oct 7, 2010: After two years google has finally reviewed my account and reinstated my access.

August 30, 2008

I cannot resist to start my own blog anymore. So here it is. Most of my entries will focus on PHP and related technologies hence the name “All around PHP”.