<?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 18:59:06 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mike Naberezny's Blog: PHP Temporary Streams]]></title>
      <guid>http://www.phpdeveloper.org/news/11243</guid>
      <link>http://www.phpdeveloper.org/news/11243</link>
      <description><![CDATA[<p>
Following up on <A href="http://www.sklar.com/blog/archives/116-Let-a-thousand-string-concatenations-bloom.html">this post</a> from <i>David Sklar</i>, <i>Mike Naberezny</i> has come up with a <a href="http://mikenaberezny.com/2008/10/17/php-temporary-streams/">few methods of his own</a> to come up with his "thousand string concatenations".
</p>
<blockquote>
It's been a while since David Sklar <a href="http://www.sklar.com/blog/archives/116-Let-a-thousand-string-concatenations-bloom.html">called out</a> to let a thousand string concatenations bloom. That discussion produced some entertaining suggestions for putting strings together such as using preg_replace and calling out to MySQL with SELECT CONCAT. 
</blockquote>
<p>
<i>Mike</i> goes with a bit different media of choice - the filesystem functions and streams. One example opens a file, writes to the file then rewinds back to the beginning of the stream. He modified this to make it slightly more useful (writing to memory not the file system) and shows how it could be used to make a temporary stream for testing purposes.
</p>]]></description>
      <pubDate>Mon, 20 Oct 2008 07:52:59 -0500</pubDate>
    </item>
    <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[KillerPHP.com: Zend Framework Components - Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/9255</guid>
      <link>http://www.phpdeveloper.org/news/9255</link>
      <description><![CDATA[<p>
On the KillerPHP.com website, there's <a href="http://www.killerphp.com/articles/zend-framework-components-part-1/">this new post</a> starting off a new series (by <i>Jonathan Lebensold</i>) talking about the different components of the <a href="http://framework.zend.com">Zend Framework</a>.
</p>
<blockquote>
When Stefan asked me to write about the Zend Framework, I decided I would avoid copy-able code, simply because it doesn't re-enforce good software design. [...] The following is a brief summary of 4 components in the Zend Framework: Zend_Loader, Zend_Log, Zend_Config and Zend_Registry.
</blockquote>
<p>
For each of the four components, he looks at how they can be used (reason why), some good and bad things about them and he includes some pseudocode to show the format for its use.
</p>]]></description>
      <pubDate>Mon, 17 Dec 2007 12:01:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Travis Swicegood's Blog:  Quick review of Zend_Log]]></title>
      <guid>http://www.phpdeveloper.org/news/8662</guid>
      <link>http://www.phpdeveloper.org/news/8662</link>
      <description><![CDATA[<p>
<i>Travis Swicegood</i>, after having been asked to do a review of the <a href="http://framework.zend.com/manual/en/zend.log.html">Zend_Log</a> component of the Zend Framework, wrote up his report and has <a href="http://www.travisswicegood.com/index.php/2007/09/14/quick_review_of_zend_log">also posted it</a> to his blog.
</p>
<blockquote>
The short answer to is Zend_Log good (enough): yes; the long answer, no. First off, it does what it needs to do without too much fuss [...] but... It has a few fatal flaws in my opinion.
</blockquote>
<p>
While he found the simplicity of the component nice, the flaws seemed to outweigh the good. Problems like code redundancy and a simple thing like writing out to the log file isn't handled well (can't be accessed directly, only through the interface - slower in the long run?). He's included <a href="http://plumb.domain51.com/sandbox/callback/callback.phps">some tests</a> to check out the difference.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Turning a Zend_Log log file into a RSS feed]]></title>
      <guid>http://www.phpdeveloper.org/news/8123</guid>
      <link>http://www.phpdeveloper.org/news/8123</link>
      <description><![CDATA[<p>
In a <a href="http://raphaelstolt.blogspot.com/2007/06/turning-zendlog-log-file-into-rss-feed.html">new post</a> to his blog today, <i>Raphael Stolt</i> shows how to take the output from the Zend_Log component of the Zend Framework and, with a bit of custom coding, make it output an RSS feed.
</p>
<blockquote>
Whilst touring the web I found an interesting <a href="http://www.simonecarletti.com/code/apachelog2feed/">project</a> for turning Apache Web Server log files into RSS feeds. This approach can be adjusted to monitor the maintenance needs of a web application deployed on an assumed productive system. Therefor a XML capable <a href="http://framework.zend.com/manual/en/zend.log.html">Zend_Log</a> instance will be set up and the resulting log file will be transformed into a RSS feed via a custom <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html">Action Helper</a> wrapping a XSLT transfomation.
</blockquote>
<p>
He sets up the XML logger first, using the Zend_Log, Zend_Log_Writer_Stream and Zend_Log_Formatter_Xml to create the XML output from the logging. Then, with the help of the custom helper - Recordshelf_Controller_Action_Helper_Xslt - he reformats the XML output into an RSS feed ready for public consumption. (There's even <A href="http://farm2.static.flickr.com/1245/626281306_4d13890519_o.png">a screenshot</a> of what it might look like in a feed reader).
</p>]]></description>
      <pubDate>Tue, 26 Jun 2007 08:33:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Two Zend_Log Posts]]></title>
      <guid>http://www.phpdeveloper.org/news/7609</guid>
      <link>http://www.phpdeveloper.org/news/7609</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has two new Zend_Log related posts on his blog today - one dealing with the creation of a simple Zend_Log_Filter and the other looking at what's new in the latest release of the Framework.
</p>
<p>
The <a href="http://raphaelstolt.blogspot.com/2007/04/developing-simple-zendlogfilter.html">first post</a> provides two bits of code to show the creation of the filter, one to create the interface and the other to show it in action. He uses it to log the visitors IP address and hostname along with a custom message and a priority for the message.
</p>
<p>
In the <a href="http://raphaelstolt.blogspot.com/2007/04/zendlog-revisited.html">second post</a> he steps back and takes a more overall view of the component. He looks at how it works, features it offers and, of course, how to create a custom filter and use it in your application. He logs the same information as mentioned above and stores it out in an XML-based format.
</p>]]></description>
      <pubDate>Thu, 12 Apr 2007 07:54:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend Framework Beta 0.9.2 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/7584</guid>
      <link>http://www.phpdeveloper.org/news/7584</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/node/view/id/1906">posted an announcement</a> about the release of the latest version of their framework - version 0.9.2 of the <a href="http://framework.zend.com/">Zend Framework</a>.
</p>
<blockquote>
<p>
This is an update to the Zend Framework Beta Release. The Zend Framework developers have been working very hard to improve the quality every week, and this Beta Refresh release includes their efforts so far. There have been 81 issues fixes since the 0.9.1 release.
</p>
<p>
There will be at least one more Beta Release, scheduled about April 20. We will continue to have Beta Releases until we feel the product is ready for a 1.0 Release Candidate. 
</p>
</blockquote>
<p>
The <a href="http://framework.zend.com/changelog">Changelog</a> has a complete list of the issues fixed and items updated but two of the notables listed are a "significant update" to the Zend_Log component to make it more object-oriented and a move for Zend_Memory to the Core of the framework.
</p>]]></description>
      <pubDate>Mon, 09 Apr 2007 11:36:00 -0500</pubDate>
    </item>
  </channel>
</rss>
