<?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>Mon, 20 May 2013 00:20:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Jones: Quick Debugging of PHP Scripts in Emacs with Geben and Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/19085</guid>
      <link>http://www.phpdeveloper.org/news/19085</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post showing how you can <a href="https://blogs.oracle.com/opal/entry/quick_debugging_of_php_scripts">use Emacs and Xdebug for debugging</a> with the help of the <a href="http://code.google.com/p/geben-on-emacs/">geben</a> plugin.
</p>
<blockquote>
When you want to test a PHP code snippet quickly, it's handy to do it within your day-to-day environment. For me, this environment is Emacs. The geben package for Emacs provides an interface to the DBGp protocol, such as used by Derick Rethans's standard Xdebug extension for PHP. With the combination of geben and Xdebug, I can quickly and efficiently step through execution of local files, examining code flow and data values.
</blockquote>
<p>
He includes a ten step process (step 11 is basically "use it") that walks you through the installation of the full stack - PHP, Xdebug and geben - and the configuration changes you'll need to make to get them all working together. Some basic usage instructions are included, but if you want more details on using geben, check out <a href="http://code.google.com/p/geben-on-emacs/">the project's site</a>.
</p>]]></description>
      <pubDate>Thu, 24 Jan 2013 11:19:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Weiske: PHP_CodeSniffer: notify-send report]]></title>
      <guid>http://www.phpdeveloper.org/news/18362</guid>
      <link>http://www.phpdeveloper.org/news/18362</link>
      <description><![CDATA[<p>
In a new post to his site <i>Christian Weiske</i> shares an update he contributed to the PHP_CodeSniffer functionality to make working with and checking the validity of local PHP code easier - a <a href="http://cweiske.de/tagebuch/phpcs-notify-send.htm">notifier for PHP_CodeSniffer</a> using the "notify-send" commonly installed in most Linux distributions.
</p>
<blockquote>
I use emacs as IDE, and wanted to have direct feedback about the validity of my .php files when writing them. The most easy way was to add a save hook that runs <a href="http://pear.php.net/package/PHP_CodeSniffer/">PHP_CodeSniffer</a> - but the results should be displayed in a nice, unobtrusive way. phpcs has <a href="http://pear.php.net/manual/en/package.php.php-codesniffer.reporting.php">multiple reporting modes</a> - xml, checkstyle, csv etc. - but nothing for the desktop. I thought that notify-send would be the right fit since it is able to display pretty popup messages without getting in the way.
</blockquote>
<p>
He also includes the details on his original objective - including it in a "on save" hook as well as providing it in a keystroke shortcut, making checking his code even easier.
</p>]]></description>
      <pubDate>Wed, 15 Aug 2012 09:54:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreak.dk: The quest for the holy... development environment?!]]></title>
      <guid>http://www.phpdeveloper.org/news/14412</guid>
      <link>http://www.phpdeveloper.org/news/14412</link>
      <description><![CDATA[<p>
On the PHPFreak.de blog there's a new post talking about the author's quest to find the <a href="http://phpfreak.dk/2010/04/the-quest-for-the-holy-development-environment/">"holy development environment"</a>, the one that would make a developer most productive and give them the best features to do their work.
</p>
<blockquote>
Over the last 8 years I've tried out a lot of different setups. I've always loved <a href="http://www.gnu.org/software/emacs/">Emacs</a>, and for many years my setup was very basic: Linux/FreeBSD desktop, <A href="http://fluxbox.org/">Fluxbox</a>, <a href="http://en.wikipedia.org/wiki/Xterm">Xterm</a>, Emacs and <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a> - simple and powerful, and I loved it but I want more. I want my environment to be a bit smarter and not just provide me with some (very, very nice) shortcuts for navigating my code. 
</blockquote>
<p>
He looks at a few other tools and how they compare to what he's used to - VIM, NetBeans, Eclipse PDT - and decides that there's not a clear winner between them and that really, it boils down to two things: what your preference is and what quirks you can deal with on a daily basis.
</p>]]></description>
      <pubDate>Mon, 26 Apr 2010 12:05:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: php-mode (PHP documentation integration for Emacs)]]></title>
      <guid>http://www.phpdeveloper.org/news/13735</guid>
      <link>http://www.phpdeveloper.org/news/13735</link>
      <description><![CDATA[<p>
<i>Roberto Aloi</i> has <a href="http://bitbucket.org/roberto.aloi/php-mode/wiki/Home">put together</a> a tool for Emacs that allows you to directly browse the PHP documentation without hopping out of the editor.
</p>
<blockquote>
php-mode is a set of tools to increase productivity in Emacs when programming PHP. It can be used in conjunction with any other pre-existing PHP mode for Emacs.
</blockquote>
<p>
You can see an example of it in action in <a href="http://aloiroberto.files.wordpress.com/2009/12/php2.jpg">this screenshot</a> and can install it via the five or six steps included in the page (that include downloading the latest "many HTML files" option from the PHP.net documentation page).
</p>]]></description>
      <pubDate>Mon, 28 Dec 2009 14:41:05 -0600</pubDate>
    </item>
    <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[SitePoint PHP Blog: Index of PHP tokens for Emacs and beyond]]></title>
      <guid>http://www.phpdeveloper.org/news/9074</guid>
      <link>http://www.phpdeveloper.org/news/9074</link>
      <description><![CDATA[<p>
<i>Troels Knak-Nielsen</i> has <a href="http://www.sitepoint.com/blogs/2007/11/18/index-of-php-tokens-for-emacs-and-beyond/">posted a script</a> that he's developed (for use in Emacs) to look through a PHP file and pull out all of the classes and functions found inside.
</p>
<blockquote>
As you probably know, PHP has a ridiculous amount of functions for all kinds of things, and as it happens, <a href="http://docs.php.net/manual/en/function.token-get-all.php">token_get_all</a> gives access to the Zend Engine tokenizer. In other words, the same chunk of code, which PHP itself uses, when reading a .php file. This provides an excellent base for writing a script, which can parse the socks off <a href="http://ctags.sourceforge.net/">ctags</a>.
</blockquote>
<p>
The emacs file to bind the editor and the PHP script together is also included, making it as simple to use as binding the function key of your choice to the "php-tokens" script.
</p>]]></description>
      <pubDate>Mon, 19 Nov 2007 14:38:00 -0600</pubDate>
    </item>
  </channel>
</rss>
