<?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, 20 Nov 2008 08:04:41 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Tony Bibbs' Blog: Cutting Use of Zend_Log in Half]]></title>
      <guid>http://www.phpdeveloper.org/news/10310</guid>
      <link>http://www.phpdeveloper.org/news/10310</link>
      <description><![CDATA[<p>
<i>Tony Bibbs</i> has posted a <a href="http://www.tonybibbs.com/article.php/Cutting-Use-of-Zend_Log-in-Half">mini-case study</a> about how, at his work, they cut their use of the Zend_Log component of the <a href="http://framework.zend.com">Zend Framework</a> in half:
</p>
<blockquote>
As part of the framework we use at work, we borrow what we feel are the best components out there and logging is a key part of that. Logging should be simple to setup, easy to use and should minimize work on the developer. After all, you are going to do a lot of logging, right?
</blockquote>
<p>
He shows how, with a few changes to how they log (creation of a custom logger), it reduces the number of calls to load a Zend_Registry object each time something needs to be recorded. His code is <a href="http://www.tonybibbs.com/article.php/Cutting-Use-of-Zend_Log-in-Half">included</a> in the post along with examples of it in action.
</p>]]></description>
      <pubDate>Fri, 30 May 2008 15:24:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Marshall's Blog: Log memory usage using declare and ticks in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10202</guid>
      <link>http://www.phpdeveloper.org/news/10202</link>
      <description><![CDATA[<p>
Posted to his blog, <i>Dave Marshall</i> has <a href="http://www.davedevelopment.co.uk/2008/05/12/log-memory-usage-using-declare-and-ticks-in-php/">a tip</a> that uses declare and a trick or two to check out the memory usage of your scripts.
</p>
<blockquote>
As far as I know, there isn't any memory footprint profiling in Xdebug, I think there was at some point but they removed it because it was a little flaky. I like to monitor the memory usage within my scripts, and I've found this simple snippet can help.
</blockquote>
<p>
The script defines a log_memory function that pushes the memory and time information into a session value. The register_tick_function method is used to add log_memory to the handler and its called over and over from inside his for loop.
</p>
]]></description>
      <pubDate>Fri, 16 May 2008 12:05:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Wide Finder in...errr...PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8948</guid>
      <link>http://www.phpdeveloper.org/news/8948</link>
      <description><![CDATA[<p>
In a <a href="http://www.sitepoint.com/blogs/2007/11/01/wide-finder-in-errr-php/">new post</a> on the SitePoint PHP blog today, <i>Harry Fuecks</i> has created a "wide finder" based on <a href="http://www.tbray.org/ongoing/When/200x/2007/09/20/Wide-Finder">a project</a> put together by <i>Tim Bray</i>.
</p>
<blockquote>
Tim set a simple, but very much real-world challenge; write an app that determines the top 10 most popular blogs from his Apache access log. It should be fast and readable, with a subtext of illustrating how "language X" copes in terms of parallel processing and utilizing "wider" (many processor) systems.
</blockquote>
<p>
Since PHP natively doesn't support multi-threading (well), <i>Harry</i> opted to go with an approach using <a href="http://www.php.net/manual/en/function.curl-multi-exec.php">curl_multi_exec</a> instead. There's two pieces to the puzzle - the mapper to grab the information and extract the data and the reducer that makes the calls to grab the information from the log files.
</p>]]></description>
      <pubDate>Thu, 01 Nov 2007 08:24:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Log Analysis and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8580</guid>
      <link>http://www.phpdeveloper.org/news/8580</link>
      <description><![CDATA[<p>
In a <a href="http://ishouldbecoding.com/2007/09/03/log-analysis-and-php/">new post</a>, <i>Matthew Turland</i> looks at one thing that he feels is missing from a lot of the PHP functionality currently available in the community today - log analysis features.
</p>
<blockquote>
Log analysis is a fairly common task in the field of web development, most often analysis of web server traffic logs or what Wikipedia refers to as <a href="http://en.wikipedia.org/wiki/Web_analytics">web analytics</a>. PHP has no officially supported extensions designed specifically for log analysis. There are no related extensions in PECL. The only remotely related extension in PEAR is <a href="http://pear.php.net/package/Log">PEAR_Log</a>, which for generating logs rather than parsing or analyzing them. In short, there is no common solution here.
</blockquote>
<p>
He looks at the options that developers do have - make their own solution or go with a third party option. <a href="http://ishouldbecoding.com/2007/09/03/log-analysis-and-php/">He believes</a>, though, that a PECL extension would be more the way to go, integrating with PHP more closely and allow for easier parsing and manipulating of the data in their own log files.
</p>]]></description>
      <pubDate>Mon, 03 Sep 2007 21:41:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: Stubbles 0.1.0 released]]></title>
      <guid>http://www.phpdeveloper.org/news/7735</guid>
      <link>http://www.phpdeveloper.org/news/7735</link>
      <description><![CDATA[<p>
The Stubbles framework team has <a href="http://www.stubbles.org/archives/17-Stubbles-0.1.0-released.html">released the latest version</a> of their framework today - Stubbles 0.1.0:
</p>
<blockquote>
The Stubbles team is proud to announce the release of Stubbles 0.1.0. This release is a first alpha version and contains the basic features of Stubbles like the <a href="http://stubbles.net/wiki/Docs/Reflection">Extended Reflection API</a>, XML handling with <a href="http://stubbles.net/wiki/Docs/XMLStreamWriter">XMLStreamWriter</a> and <a href="http://stubbles.net/wiki/Docs/XMLSerializer">XMLSerializer</a>, <a href="http://stubbles.net/wiki/Docs/Logging">Logging</a>, <a href="http://stubbles.net/wiki/Docs/EventHandling">Event handling</a>, <a href="http://stubbles.net/wiki/Docs/Validators">support for filtering and validating user input</a> and <a href="http://stubbles.net/wiki/Docs/Session">session handling</a>. The release additionally contains parts of packages that we announced to be in the next milestone 0.2.0. 
</blockquote>
<p>
The <a href="http://stubbles.net/">Stubbles framework</a> is one that seeks to "combine your favorite features from other programming languages and frameworks" and is flexible enough to allow for easy interfacing with other frameworks/components like <a href="http://pear.php.net">PEAR</a> or the <a href="http://framework.zend.com">Zend Framework</a>.
</p>]]></description>
      <pubDate>Mon, 30 Apr 2007 13:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Coallier's Blog: SVN log-per-user parser using SimpleXML]]></title>
      <guid>http://www.phpdeveloper.org/news/7510</guid>
      <link>http://www.phpdeveloper.org/news/7510</link>
      <description><![CDATA[<p>
<i>David Coallier</i> has a <a href="http://blog.agoraproduction.com/index.php?/archives/32-SVN-log-per-user-parser-using-SimpleXML.html">quick hit post</a> today on his blog. In it, he shows how, with a little bit of SimpleXML magic, to parse the log files from your Subversion installation.
</p>
<blockquote>
<p>
Yesterday I was struggling trying to get svn log to display the results for a certain user and this was very annoying.. then I jumped on #svn on freenode, and someone mentionned svn log --xml
</p>
<p>
This apparently made my life much much easier with this simple script I have pulled in a couple minutes.
</p>
</blockquote>
<p>
He <a href="http://blog.agoraproduction.com/index.php?/archives/32-SVN-log-per-user-parser-using-SimpleXML.html">includes</a> <a href="http://dev.agoraproduction.com/svnLogParser.php">the script</a> and a brief set of instructions on how to use it in your installation.
</p>]]></description>
      <pubDate>Tue, 27 Mar 2007 08:33:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: IPM Poll Question: Which Is the Best Way to Do PHP Web Testing?]]></title>
      <guid>http://www.phpdeveloper.org/news/7188</guid>
      <link>http://www.phpdeveloper.org/news/7188</link>
      <description><![CDATA[<p>
The results of the latest <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26829,nodeid,5.html">International PHP Poll</a> are in for the question "Which is the best way to do PHP web testing?" Options included "Use SimpleTest Web tester", "Use element IDs or names to test links, forms and fields", and "Log HTTP requests in the application".
</p>
<p>
Coming out on top with 22.6 percent of the votes was the first item, though - "Use SimpleTest Web tester". Second was a close race with "All" and "None" only about 1 percent different ("None" being the higher).
</p>
<p>
Be sure to get your vote in for <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26830,nodeid,5.html">this week's poll question</a> - "What Is the Top Mistake That PHP Coders Commit?" Options for this poll include "Not escaping entities and SQL input", "Syntax errors", and "Not using a Framework".
</p>]]></description>
      <pubDate>Tue, 30 Jan 2007 10:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Thinktank Blog: New Discussions (IRC Talks Series)]]></title>
      <guid>http://www.phpdeveloper.org/news/7136</guid>
      <link>http://www.phpdeveloper.org/news/7136</link>
      <description><![CDATA[<p>
The PHP Thinktank Blog <a href="http://phpthinktank.com/archives/62-New-Discussions.html">has posted</a> two new IRC logs of talks give over in their IRC channel on the <a href="http://freenode.net/">Freenode</a> network.
</p>
<blockquote>
Now that all the yearly holiday chaos is out of the way, we bring you new logs of two recent IRC discussions. As usual, they are available on the <a href="http://groups-beta.google.com/group/php-thinktank">google group</a>.
</blockquote>
<p>
The two talks were:
<ul>
<li><a href="http://php-thinktank.googlegroups.com/web/injection-with-bige.log">a look at Injection</a> from <i>BigE</i>
<li>a discussion of <a href="http://php-thinktank.googlegroups.com/web/web-scraping-with-elazar.log">web scraping</a> with <i>Elzar</i>.
</ul>

</p>]]></description>
      <pubDate>Mon, 22 Jan 2007 07:49:00 -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[PHP Thinktank Blog: SPL and php.NET (phalanger) IRC logs]]></title>
      <guid>http://www.phpdeveloper.org/news/6769</guid>
      <link>http://www.phpdeveloper.org/news/6769</link>
      <description><![CDATA[<p>
The #php.thinktank channel on the Freenode IRC network has started their <a href="http://www.phpdeveloper.org/news/6719">talk series</a> with two new topics, the logs for which have been posted <a href="http://phpthinktank.com/archives/57-SPL-and-php.NET-phalanger-IRC-logs.html">to the thinktank website</a>.
</p>
<p>
The two topics so far have been:
<ul>
<li><a href="http://dragons-lair.org/repository/IRC-logs/php-thinktank/spl-with-davey.log">SLP by Davey Shafik</a>
<li><a href="http://dragons-lair.org/repository/IRC-logs/php-thinktank/php.net-phalanger-with-zaemis.log">php.NET (phalanger) by zaemis</a>
</ul>
You can also grab these over on <a href="http://groups-beta.google.com/group/php-thinktank">the Google group</a> for the thinktank.
</p>]]></description>
      <pubDate>Mon, 27 Nov 2006 08:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
