Skip to main content

PHP Dashboard Widget

*blows the dust off his blog*

Hi everybody!

I've (yet again) let my blog become stagnant. I just can't seem to find the time/ambition to update it, regularly.

Brief news: I switched to a Mac, a few weeks ago (more on this below), php|tek was awesome, and the latest podcast is up (thanks Sara).

As I mentioned, I made the switch to Mac, a few weeks ago. It was relatively painless for me. There were a few things I needed to do to make it functional (set up pseudo-virtual-desktops, for example). I've been tinkering with all-things-Mac for a while, now, which leads to this post.

I've created a dashboard widget that I find really useful, and I figured I might as well share it.

Here's the link, but more after the jump: http://www.phpdoc.info/widgets/php.wdgt.zipI found myself using php -r on the command line to test some simple code snippets, and it occurred to me that this isn't "The Mac Way."

So, following the excellent documentation at Apple, I managed to come up with something pretty useful in an afternoon.

Note: you'll need to flip the widget over and set the proper PHP path, if it doesn't work out of the box.

Let me know if you run into any trouble, and I'll attempt to fix it.

Hope this helps someone. I find myself using it all the time.