<?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>Sun, 19 May 2013 04:34:53 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ZetaCode.com: PHP GTK tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/17149</guid>
      <link>http://www.phpdeveloper.org/news/17149</link>
      <description><![CDATA[<p>
<i>Jan Bodnar</i> has pointed out a <a href="http://zetcode.com/gui/phpgtktutorial/">great PHP-GTK tutorial</a> on ZetaCode.com that walks you through some of the major points of this graphical frontend for PHP:
</p>
<blockquote>
This tutorial will teach you the basics of GUI programming with the PHP GTK. The tutorial has 8 chapters which cover the first steps with the library, menus, toolbars, dialogs and various widgets. It has some examples for drawing with Cairo library. The final chapter presents a small computer game; <a href="http://zetcode.com/gui/phpgtktutorial/nibbles/">The Nibbles</a>.
</blockquote>
<p>
Each of the topics has sample code and screenshots of the resulting output for each. Also included is information on layouts and "painting" with Cairo - drawing shapes, rectangles, text, etc.
</p>]]></description>
      <pubDate>Fri, 18 Nov 2011 12:41:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Harun Yayli's Blog: memcache.php stats like apc.php]]></title>
      <guid>http://www.phpdeveloper.org/news/10247</guid>
      <link>http://www.phpdeveloper.org/news/10247</link>
      <description><![CDATA[<p>
Inspired by the nice web interface that the Alternative PHP Cache provides (apc), <i>Harun Yayli</i> decided to hack together <a href="http://livebookmark.net/journal/2008/05/21/memcachephp-stats-like-apcphp/">his own version</a> for the memcache caching software.
</p>
<blockquote>
For a long time I was looking for a nice web interface like the apc.php (comes with the apc's source) that displays whole nine yards of stats. [...] Anyways, I decided to <del>rip</del> write my own. Totally based on the original apc.php (I even recycled some functions) and apart from completeness, here is a memcache.php that you can get stats and dump from multiple memcache servers.
</blockquote>
<p>
<a href="http://livebookmark.net/journal/wp-content/uploads/2008/05/memcache.png">Here's the output</a> of his script and he's made <a href="http://livebookmark.net/memcachephp/memcache.phps">the source</a> for it available for download as well.
</p>]]></description>
      <pubDate>Thu, 22 May 2008 12:02:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Graphical Interfaces and Unit Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/6630</guid>
      <link>http://www.phpdeveloper.org/news/6630</link>
      <description><![CDATA[<p>
In the final part of their series looking at unit testing in PHP, DevShed has <a href="http://www.devshed.com/c/a/PHP/Graphical-Interfaces-and-Unit-Testing/">this new tutorial</a> that looks at using graphical interfaces with the unit tests you've already generated. It's another excerpt from the <i>George Schlossnage</i> book "Advanced PHP Programming".
</p>
<blockquote>
Because PHP is a Web-oriented language, you might want an HTML-based user interface for running your unit tests. PHPUnit comes bundled with this ability, using PHPUnit_WebUI_TestRunner::run(). This is in fact a nearly identical framework to TextUI; it simply uses its own listener to handle generate HTML-beautified output.
</blockquote>
<p>
He <a href="http://www.devshed.com/c/a/PHP/Graphical-Interfaces-and-Unit-Testing/">looks at</a> test driven design, a simple "Flesch Score Calculator" class, testing a "Word" class (with PHPUnit), and creating the Bug Report of the output of it all. Finally, he builds up a simple web interface to make running the tests and getting the reports nice and easy.
</p>]]></description>
      <pubDate>Thu, 02 Nov 2006 11:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Simulating Graphical Charts with XHTML/CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/6381</guid>
      <link>http://www.phpdeveloper.org/news/6381</link>
      <description><![CDATA[<p>
PHPBuilder has another <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060913.php3">excerpt posted</a> from the book "PHP 5 in Practice" from Sams Publishing. It takes a quick look at a method to simulate graphical charts with some XHTML and CSS tricks (and PHP's help).
</p>
<blockquote>
When you need to present data in a chart on a web page, it is often worthwhile to generate graphical charts. This method is covered later in Section 18.4, "Creating a Graph/Chart Library"; however, sometimes for a quick chart CSS can suffice. Listing 9.4.1 presents a function that creates a visual chart of data using CSS and XHTML only.
</blockquote>
<p>
You can find the code they're talking about for <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060913-1.txt">"Listing 9.4.1"</a>. They explain it briefly, but it's a quick "here's what it looks like" and less of a "here's the logic behind it" kind of post. Never the less, it's still quite useful.
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 14:55:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: More Work on Reporting in PHPUnit 3]]></title>
      <guid>http://www.phpdeveloper.org/news/5350</guid>
      <link>http://www.phpdeveloper.org/news/5350</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has posted <a href="http://www.sebastian-bergmann.de/blog/archives/599-More-Work-on-Reporting-in-PHPUnit-3.html">several new screenshots</a> of the new reporting feature of the upcoming PHPUnit 3 release, completed via a patch from <i>Michael Lively Jr.</i>
</p>
<quote>
<i>
<p>
Michael Lively Jr. sent me a <a href="http://news.php.net/php.pear.cvs/40068">patch</a> last night that implements most of the bits and pieces that were still missing from the new <a href="http://www.sebastian-bergmann.de/blog/archives/578-Code-Coverage-Reports-with-PHPUnit-3.html">reporting functionality</a> in <a href="http://www.sebastian-bergmann.de/blog/archives/553-PHPUnit-3.0.html">PHPUnit 3</a>.
</p>
<p>
When you compare the current version of the reporting to the <a href="http://www.sebastian-bergmann.de/blog/archives/578-Code-Coverage-Reports-with-PHPUnit-3.html">original version</a> you will notice that I changed the color scheme. It now uses colors from the <a href="http://tango-project.org/Tango_Icon_Theme_Guidelines">Tango Palette</a>.
</p>
</i>
</quote>
<p>
The <a href="http://www.sebastian-bergmann.de/blog/archives/599-More-Work-on-Reporting-in-PHPUnit-3.html">screenshots</a> include views of the summary page, a detail view of the same (and more) information, example test results output, and the code coverage for an internal class.
</p>]]></description>
      <pubDate>Thu, 11 May 2006 05:53:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Graphical Logging in PHPUnit 3]]></title>
      <guid>http://www.phpdeveloper.org/news/4781</guid>
      <link>http://www.phpdeveloper.org/news/4781</link>
      <description><![CDATA[On his blog today, <i>Sebastian Bergmann</i> has posted <a href="http://www.sebastian-bergmann.de/blog/archives/569-Graphical-Logging-in-PHPUnit-3.html">this quick entry</a> about a cool feature of the upcoming version of <a href="http://www.phpunit.de/">PHPUnit</a> - a graphical representation of the test execution.
<p>
<quote>
<i>
Another new feature of the next version of PHPUnit is the ability to generate a graphical visualization of the test execution using GraphViz.
<p>
This graph (SVG version), for example, shows the graphical visualization for the execution of the tests declared in the MoneyTest sample that comes with PHPUnit.
</i>
</quote>
<p>
The MoneyTest sample <a href="http://www.sebastian-bergmann.de/blog/archives/569-Graphical-Logging-in-PHPUnit-3.html">mentioned</a> comes with the PHPUnit download, but the code was altered to cause it to fail. You can see the result in <a href="http://www.sebastian-bergmann.de/blog/uploads/money_graphviz.png">this graphic</a>...]]></description>
      <pubDate>Thu, 02 Feb 2006 06:47:07 -0600</pubDate>
    </item>
  </channel>
</rss>
