<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 08 Aug 2008 15:54:28 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Local.ch Blog: Debug php in emacs with geben]]></title>
      <guid>http://www.phpdeveloper.org/news/10792</guid>
      <link>http://www.phpdeveloper.org/news/10792</link>
      <description><![CDATA[<p>
On the local.ch blog today, there's <a href="http://blog.local.ch/archive/2008/08/08/debug-php-in-emacs-with-geben.html">this new post</a> (from <i>Philipp Kelle</i>) showing how to, with the help of <a href="http://trac.sakura.ne.jp/geben/">geben</a>, easily debug your applications from emacs.
</p>
<blockquote>
While PHP-developing it sometimes is just too tedious to do those 'add a echo here and there, then reload and search the echoed strings on the screen'-loops. So I searched for a debugger for my favourite editor emacs. After a lengthy install procedure I finally got it running: With geben on emacs you can debug PHP (step through and evaluate expressions).
</blockquote>
<p>
The <a href="http://blog.local.ch/archive/2008/08/08/debug-php-in-emacs-with-geben.html">post</a> steps you through the installation - adding in xdebug, changing the PHP configuration, and getting and installing geben (along with other required packages).
</p>]]></description>
      <pubDate>Fri, 08 Aug 2008 11:18:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Debugging PHP with Firebug and FirePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10648</guid>
      <link>http://www.phpdeveloper.org/news/10648</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has a <a href="http://www.developertutorials.com/blog/php/debugging-php-with-firebug-and-firephp-365/">new post</a> covering a very helpful tool when it comes to debugging your sever-side scripts with something light and client-side (but powerful) - the <a href="http://www.firephp.org/">FirePHP</a> project combined with <a href="https://addons.mozilla.org/en-US/firefox/addon/6149">Firebug</a>.
</p>
<blockquote>
FirePHP is a plugin for Firebug, the web development plugin for Firefox, that allows PHP scripts to talk to a Firebug panel. FirePHP installs alongside Firebug, and provides a simple PHP library to bridge the two. FirePHP provides a window of insight into your PHP applications, with a simple debugging interface that won't interfere with your page content. If you already use Firebug on PHP-powered applications, FirePHP is definitely worth a look.
</blockquote>
<p>
The <a href="http://www.firephp.org/">FirePHP</a> library installs onto your server and is included, via PHP, into your application. Passing errors back is as simple as using the fb() method to send information out to the Firebug instance waiting on your browser.
</p>]]></description>
      <pubDate>Mon, 21 Jul 2008 12:58:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: CakePHP Debug Styles]]></title>
      <guid>http://www.phpdeveloper.org/news/10588</guid>
      <link>http://www.phpdeveloper.org/news/10588</link>
      <description><![CDATA[<p>
<i>Jonathan Snook</i> <a href="http://snook.ca/archives/cakephp/debug_styles/">hands off</a> a handy tip for the CakePHP developers out there concerning the debugging information that can be displayed at the bottom of your application's pages.
</p>
<blockquote>
I just wanted to document this somewhere but whenever I work on a CakePHP project, there's always the debug info that sits at the bottom of the page. It's big and bulky and once I'm off the default CakePHP styles, it's usually pretty ugly. I've done <a href="http://snook.ca/archives/cakephp/debug_css_cakephp/">various stylings</a> but I finally took a moment to implement a really simple idea: Fixed position the table and then use hover styles to toggle the visibility.
</blockquote>
<p>
He includes the simple four style entries that can be used to tame this debugging information down into something a bit more useful (and less intrusive).
</p>]]></description>
      <pubDate>Fri, 11 Jul 2008 09:33:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Bernat's Blog: Installing Xdebug - Best Decision You Will Ever Make]]></title>
      <guid>http://www.phpdeveloper.org/news/10547</guid>
      <link>http://www.phpdeveloper.org/news/10547</link>
      <description><![CDATA[<p>
<i>Mike Bernat</i> is a big fan of XDebug and has <a href="http://mikebernat.com/blog/Installing_Xdebug_-_Best_Decision_You_Will_Ever_Make">posted about</a> why he thinks installing it is the best decision you'll ever make.
</p>
<blockquote>
I finally got around to installing <a href="http://www.xdebug.org/index.php">Xdebug</a> on my development environment and have decided it is the best thing since sliced bread. Installation was a breeze and the information it provides when something has gone wrong is incredibly helpful during debugging.
</blockquote>
<p>
He <a href="http://mikebernat.com/blog/Installing_Xdebug_-_Best_Decision_You_Will_Ever_Make">explains</a> what the software does, how it can help you and your development - even how to get it up and running on your PHP install (seriously, it's drop dead easy...why haven't you installed it yet?). He also points to <a href="http://devzone.zend.com/article/2803-Introducing-xdebug">the tutorial</a> on the Zend Developer Zone introducing the powerful tool.
</p>]]></description>
      <pubDate>Fri, 04 Jul 2008 10:26:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Debugging PHP using Eclipse and PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/10435</guid>
      <link>http://www.phpdeveloper.org/news/10435</link>
      <description><![CDATA[<p>
The IBM developerWorks website has a <a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-eclipse-pdt-debug.html?S_TACT=105AGX59&S_CMP=GRsite-btw01&ca=dgr-btw01EclipsePDTDebug">new tutorial</a> (login required) showing how to use the Eclipse PDT functionality to debug scripts your PHP development.
</p>
<blockquote>
The PHP Development Tools (PDT) plug-in, when installed with Eclipse Europa, gives you that ability to quickly write and debug PHP scripts and pages. PDT supports two debugging tools: XDebug and the Zend Debugger. Learn how to configure PDT for debugging PHP scripts and discover which perspectives you use when taking closer looks at your scripts. 
</blockquote>
<p>
You'll need to have a machine with PHP, Eclipse, Apache and the PHP Development Tools already installed to follow along (as well as a trial version of the Zend Studio Web Debugger). They also include the methods for setting up <a href="http://www.xdebug.de">XDebug</a> as the debugger.
</p>]]></description>
      <pubDate>Wed, 18 Jun 2008 11:17:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: Debugging: A Beginner's guide]]></title>
      <guid>http://www.phpdeveloper.org/news/10374</guid>
      <link>http://www.phpdeveloper.org/news/10374</link>
      <description><![CDATA[<p>
On PHPFreaks.com there's a <a href="http://www.phpfreaks.com/tutorial/debugging-a-beginners-guide">new tutorial</a> providing a beginner's guide to debugging in PHP (with the built in functionality PHP has, not external software).
</p>
<blockquote>
Everyday the forums see probably hundreds of topics posted where the problem is a fairly simple error. [...] As a beginner, it can be difficult to find and solve these errors. By tackling each of these in turn, I hope to teach you some methods of finding and solving them.
</blockquote>
<p>
They look at the different sorts of errors - syntax errors, fatal errors, warnings, notices - as well as some of the ones a bit harder to track down like database problems and logical errors.
</p>]]></description>
      <pubDate>Tue, 10 Jun 2008 07:59:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Debugging CakePHP applications in Zend Studio for Eclipse]]></title>
      <guid>http://www.phpdeveloper.org/news/10320</guid>
      <link>http://www.phpdeveloper.org/news/10320</link>
      <description><![CDATA[<p>
On the Developer Tutorials website <i>Akash Mehta</i> has <a href="http://www.developertutorials.com/blog/php/debugging-cakephp-applications-in-zend-studio-for-eclipse-213/">posted a tutorial</a> showing how to debug your <a href="http://www.caekphp.org">CakePHP</a> applications with the help of the Zend Studio for Eclipse software from <a href="http://www.zend.com">Zend</a>.
</p>
<blockquote>
After I recently upgraded to Zend Studio for Eclipse, I noticed one troubling feature of my setup - I couldn't debug applications with "pretty urls". [...] In this tutorial, I'll show you how to make use of that power and debug your Cake applications with Zend Studio for Eclipse.
</blockquote>
<p>
His is a <a href="http://www.developertutorials.com/blog/php/debugging-cakephp-applications-in-zend-studio-for-eclipse-213/">four step method</a> of simple things to get the connection working:
</p>
<ul>
<li>Disable all .htaccess files
<li>Add "index.php" to pretty URLs
<li>Set a breakpoint to debug
<li>Debug your application using /index.php/ URLs
</ul>]]></description>
      <pubDate>Mon, 02 Jun 2008 12:54:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Debugging PHP (Spectator)]]></title>
      <guid>http://www.phpdeveloper.org/news/10318</guid>
      <link>http://www.phpdeveloper.org/news/10318</link>
      <description><![CDATA[<p>
In a <a href="http://www.sitepoint.com/blogs/2008/06/02/debugging-php/">new post</a> to the SitePoint PHP blog <i>Troels Knak-Nielsen</i> gives a <a href="http://www.sitepoint.com/blogs/2008/06/02/debugging-php/">check up</a> for a project he's worked some on - an interface he came up with to talk, via the dbgp-protocol, to a XUL frontend.
</p>
<blockquote>
Spectator is a XUL application, which should make it cross platform. I have tinkered a bit with XUL before, but not a full application. [...] So what can spectator do? Mind that this is a first version and I really just meant it as a proof of concept. I think I got a bit further than that, but it probably still has a few bugs. Still, with the current version, you can step through a program, set breakpoints and inspect the stack. Really all you would expect from a debugger.
</blockquote>
<p>
You can grab the latest version from the <a href="http://code.google.com/p/spectator/source/checkout">subversion repository</a> on the Google Code website.
</p>]]></description>
      <pubDate>Mon, 02 Jun 2008 11:16:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Guy Harpaz's Blog:  PHP IDE Debug Protocol]]></title>
      <guid>http://www.phpdeveloper.org/news/10208</guid>
      <link>http://www.phpdeveloper.org/news/10208</link>
      <description><![CDATA[<p>
In a <a href="http://guyharpaz.blogspot.com/2006/05/php-ide-debug-protocol.html">new post</a> on his blog, <i>Guy Harpaz</i> answers a few questions people have been having about the debugger protocol that the PHP IDE project uses.
</p>
<blockquote>
Debugging a PHP application or a PHP web server requires connectivity between an IDE and a Debugger engine (a PHP module which is installed on the web server). The debug protocol defines this connection. [...] When the Eclipse Foundation approved the PHP IDE project, Zend Studio's debug protocol was opened source and was chosen to be the debug protocol of the PHP IDE project.
</blockquote>
<p>
He <a href="http://guyharpaz.blogspot.com/2006/05/php-ide-debug-protocol.html">goes through</a> why they made the choice, touches a bit on the security aspect of the two debugging protocols he mentioned (<a href="http://www.xdebug.org/docs-dbgp.php">DBGp</a> and <a href="http://www.zend.com/products/zend_studio">Zend Studio</a>'s) as well as their common methods for output.
</p>]]></description>
      <pubDate>Mon, 19 May 2008 07:57:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Useful in-browser development tools for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10172</guid>
      <link>http://www.phpdeveloper.org/news/10172</link>
      <description><![CDATA[<p>
<a href="http://www.sitepoint.com/blogs/2008/05/13/useful-in-browser-development-tools-for-php/">This new post</a> from <i>Troels Knak-Nielsen</i> on the SitePoint PHP blog shares a few helpful in-browser development tools that could come in handy in your day to day coding.
</p>
<blockquote>
While debuggers exists, there isn't much of a tradition for using them in PHP. People have largely come to rely on injecting debugging code directly into the program, for inspecting program scope.
</blockquote>
<p>
Tools mentioned include traceers and error handlers (like XDebug), some debugging parts of the popular PHP frameworks and the set of *cachegrind tools to help you parse the output of XDebug for profiling your application.
</p>]]></description>
      <pubDate>Tue, 13 May 2008 11:14:48 -0500</pubDate>
    </item>
  </channel>
</rss>
