<?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>Thu, 21 Aug 2008 18:32:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: PHPSpec Reporting Gets A Needed Boost]]></title>
      <guid>http://www.phpdeveloper.org/news/9042</guid>
      <link>http://www.phpdeveloper.org/news/9042</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/318-PHPSpec-Reporting-Gets-A-Needed-Boost.html">made a few updates</a> to the PHPSpec software he's developed in preparation for the first stable release - additions to the reporting functionality to give as much information as possible.
</p>
<blockquote>
PHPSpec is closing in on its first stable release, so the time had finally come to spruce up its output! No more the simple reporting of failed specs - now you get a few more details in a readable format, exceptions and errors even come with traces. In addition, I've implemented specdoc output as an option (using "-s") so you can get a list of specs in their plain text form.
</blockquote>
<p>
He's also included an example of the new output in the post as well, showing the results of both successful and errored responses. You can check out the actual spec files on the <a href="http://phpmock.googlecode.com/svn/branches/padraic/specs/">googlecode repository</a> for the project and get more details on the project itself (including the latest development snapshots) on the <a href="http://dev.phpspec.org/">project's website</a>.
</p>]]></description>
      <pubDate>Wed, 14 Nov 2007 14:25:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Security Tip of the Week]]></title>
      <guid>http://www.phpdeveloper.org/news/7385</guid>
      <link>http://www.phpdeveloper.org/news/7385</link>
      <description><![CDATA[<p>
The Zend Developer Zone has starting up their own contribution to the security side of the PHP community - a "Security Tip of the Week" starting with the first three new ones posted just recently:
<ul>
<li>
<a href="http://devzone.zend.com/node/view/id/1741">Tip number one</a> involves a good recommendation - keeping your PHP version up to date. Many security issues and exploits have come around because of older versions and the issues they hold.
<li><a href="http://devzone.zend.com/node/view/id/1745">Tip number two</a> focuses on the errors that your site gives to the viewing public and the information they can betray (file locations, etc)
<li><a href="http://devzone.zend.com/node/view/id/1754">Tip number three</a> talks about using other applications to help you find issues in your code that you might not even know were there - such as <a href="https://chorizo-scanner.com/">Chorizo</a> and the <a href="http://phpsec.org/projects/phpsecinfo/">PHPSecInfo</a> reporting tool.
</ul>
Stay tuned for even more security goodness from <i>Cal</i> and the Zend Developer Zone over the coming weeks...
</p>]]></description>
      <pubDate>Mon, 05 Mar 2007 14:23:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Am Introduction to PHP Security]]></title>
      <guid>http://www.phpdeveloper.org/news/7282</guid>
      <link>http://www.phpdeveloper.org/news/7282</link>
      <description><![CDATA[<p>
Devshed has <a href="http://www.devshed.com/c/a/Security/An-Introduction-to-PHP-Security/">posted a new article</a> covering one of the hottest topics in the PHP community right now - security.
</p>
<blockquote>
Security in a scripting language such as PHP is more developer-dependent than language-dependent. In other words, although the language offers you the tools to create secure code, it cannot prevent insecure code. Thus, the degree to which code is secure almost entirely depends on how security conscious a developer is.
</blockquote>
<p>
<a href="http://www.devshed.com/c/a/Security/An-Introduction-to-PHP-Security/">The article</a> looks at three security-related topics:
<ul>
<li>Register globals
<li>error reporting
<li>code exposure
</ul>
and for each provides explanation and code where needed to help the reader understand the issues and possible problems with them.
</p>]]></description>
      <pubDate>Thu, 15 Feb 2007 06:50:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Performance tunning with PEAR::DB]]></title>
      <guid>http://www.phpdeveloper.org/news/7108</guid>
      <link>http://www.phpdeveloper.org/news/7108</link>
      <description><![CDATA[<p>
<i>Stoyan Stefanov</i> has <a href="http://www.phpied.com/performance-tunning-with-peardb/">posted some of his tips</a> to his blog today. Specifically, they deal with the PEAR::DB class, demonstrating some of the optimization of the package he's discovered in his coding experience.
</p>
<blockquote>
If you use <a href="http://pear.php.net/package/MDB2/">PEAR::MDB2</a>, you can set a custom debug handler and collect all the queries you execute for debugging and performance tunning purposes, <a href="http://www.phpied.com/performance-tuning-with-mdb2/">as shown before</a>. But what if you're using <a href="http://pear.php.net/package/DB/">PEAR::DB</a>? Well, since PEAR::DB doesn't allow you such a functionality out of the box, you can hack it a bit to get similar results.
</blockquote>
<p>
He <a href="http://www.phpied.com/performance-tunning-with-peardb/">creates a simple app</a> to help with the illustration - a number of select queries to grab zipcode information from the database. As it stands, the PEAR::DB package doesn't handle the debugging well, so he adds in a few more lines to buffer the connection and some reporting code to check the resulting output (as well as some of his sample reports).
</p>]]></description>
      <pubDate>Wed, 17 Jan 2007 09:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Actuate and Zend Collaborate to Deliver Reporting for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6846</guid>
      <link>http://www.phpdeveloper.org/news/6846</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/node/view/id/1342">a press review</a> with some good news for PHP developers all over - Zend and Acutate are collaborating to provide reporting (BIRT) to PHP.
</p>
<blockquote>
he collaboration between Zend and Actuate has resulted in new capabilities in the 3.0 version of the Zend Platform, which is available today for download as a pre-release version at www.zend.com. Zend Platform 3.0 allows PHP developers to quickly integrate reporting capabilities, including charting, to web applications by calling Actuate BIRT reports via the Zend Java Bridge.
</blockquote>
<p>New functionality included in <a href="http://devzone.zend.com/node/view/id/1342">this collaboration</a> includes flexibility when generating the reports (output formats/export options), an easy-to-use visual environment, and an integrated charting system including various graphing formats (like pie, chart, area, scatter, and stock).
</p>
<p>
Check out <a href="http://devzone.zend.com/node/view/id/1342">the full press release</a> for the full story on this collaboration.
</p>]]></description>
      <pubDate>Thu, 07 Dec 2006 13:37:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jamie Wong's Blog: Effective bugfixing techniques for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6838</guid>
      <link>http://www.phpdeveloper.org/news/6838</link>
      <description><![CDATA[<p>
In his travels as a PHP developer, <i>Jamie Wong</i> has gathered some helpful debugging tips that are shared in <a href="http://adc.jgwong.org/index.php/2006/11/23/effective-bugfixing-techniques-for-php/">this latest post</a> to his blog.
</p>
<blockquote>
Here are some bugfixing rules and tips I've learned working all these years with PHP. I emphasize mostly on fixing bugs than preventing them, which is another subject worth of its own article. I've moved to Rails, but I wanted to finish this post as a farewell and thanks to every article and documentation that was useful to me. Hope this is useful to you too.
</blockquote>
<p>
Topics covered include:
<ul>
<li>Assume nothing
<li>Turn Error Reporting to show all errors
<li>Read the error message
<li>Understand the bug
<li>"Scooby-Bug, where are you?"
<li>Get as much information as possible
</ul>
Each has some explanation below it and, in some places, a bit of code to clarify the point.
</p>]]></description>
      <pubDate>Wed, 06 Dec 2006 13:46:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Pimpin Harry's pretty bluescreen]]></title>
      <guid>http://www.phpdeveloper.org/news/6013</guid>
      <link>http://www.phpdeveloper.org/news/6013</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today, <i>Maarten Manders</i> <a href="http://www.sitepoint.com/blogs/2006/08/12/pimpin-harrys-pretty-bluescreen/">talks about</a> some updates he made to the "<a href="http://www.phpdeveloper.org/news/5110">pretty blue screen</a>" created originally by <i>Harry Fuecks</i> to handle more error types.
</p>
<blockquote>
<p>
I modified it to handle errors as well and added some features which make it useful in productive systems as well: Error logging, Error Mailing, and Configuration.
</p>
<p>
The script logs or mails unique errors only once to prevent your log file or mailbox to be spammed with the same error again and again. It also takes care of the error level including <a href="http://www.php.net/manual/en/language.operators.errorcontrol.php">shutup operator</a>. It's a little bit hacky but did well on our dev servers (where errors tend to happen) in the past few weeks.
</p>
</blockquote>
<p>
The link to grab this latest version of a handy bit of functionality is <a href="http://svn.students.ch/bluescreen-public/trunk/">here</a> - two different files, one for the error handler and one for the exception handler. He also includes a sample code snippet of how to use it.
</p>]]></description>
      <pubDate>Fri, 11 Aug 2006 14:13:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Even More Work on Reporting in PHPUnit 3]]></title>
      <guid>http://www.phpdeveloper.org/news/5589</guid>
      <link>http://www.phpdeveloper.org/news/5589</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has a <a href="http://www.sebastian-bergmann.de/blog/archives/604-Even-More-Work-on-Reporting-in-PHPUnit-3.html">new post</a> on his blog today with even more details on the reporting that's to come with the next version of PHPUnit, version 3.
</p>
<blockquote>
<p>
When I moved to Norway just over a month ago, the Code Coverage Reporting of PHPUnit 3 needed almost six hours to run the test suite and generate a Code Coverage report for the eZ components.
</p>
<p>
Then Derick Rethans committed a patch to [...] reduce the time spent on running the tests dramatically. It now took only two hours to run the test suite and generate the report.
</p>
<p>
Over the past couple of days, Michael Lively Jr., Jan Kneschke, and myself optimized some hot spots in PHPUnit3 moving the initial six hours have been reduced to eight minutes.
</p>
</blockquote>
<p>
Many congrats to <i>Sebastian</i> and <a href="http://www.sebastian-bergmann.de/blog/archives/604-Even-More-Work-on-Reporting-in-PHPUnit-3.html">the crew that helped</a> make such a dramatic change in the code coverage report creation! He also notes there's a logger to come to manage the information gathered via the tests (into a SQLite database).
</p>]]></description>
      <pubDate>Wed, 14 Jun 2006 19:34:06 -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[Matthew Weir O'Phinney's Blog: PHP error reporting for Perl users]]></title>
      <guid>http://www.phpdeveloper.org/news/5056</guid>
      <link>http://www.phpdeveloper.org/news/5056</link>
      <description><![CDATA[When you're working with error reporting, every little bit helps. If you're a Perl user coming into a PHP world, then <a href="http://weierophinney.net/matthew/archives/105-PHP-error-reporting-for-Perl-users.html">this new post</a> from <i>Matthew Weir O'Phinney</i> might provide a valuable tip.
<p>
<quote>
<i>
On <a href="http://www.perlmonks.org/">perlmonks</a> today, a user was needing to maintain a PHP app, and wanted to know what the PHP equivalent of "perl -wc script.pl" was -- specifically, they wanted to know how to run a PHP script from the commandline and have it display any warnings (ala perl's strict and warnings pragmas).
<p>
Unfortunately, there's not as simple a way to do this in PHP as in perl.
</i>
</quote>
<p>
He suggets two ways to do it - one involving the display_errors setting and a change to the error_reporting level, and the other an automatically prepended file that does the same (just simpler to use). He <a href="http://weierophinney.net/matthew/archives/105-PHP-error-reporting-for-Perl-users.html">also mentions</a> a side note, a question the user had about running a PHP script on the command line.]]></description>
      <pubDate>Tue, 28 Mar 2006 06:52:40 -0600</pubDate>
    </item>
  </channel>
</rss>
