<?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, 23 May 2013 16:47:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: A form in your layout]]></title>
      <guid>http://www.phpdeveloper.org/news/15261</guid>
      <link>http://www.phpdeveloper.org/news/15261</link>
      <description><![CDATA[<p>
If you've ever wanted to have a form that stuck with every page of your Zend Framework application, <i>Rob Allen</i> might just <a href="http://akrabat.com/zend-framework/a-form-in-your-layout/">have your solution</a> in his latest blog post.
</p>
<blockquote>
I recently received an email asking for my advice about how to handle a form that appears on every page. I want to add a newsletter sign up box to layout.phtml so it will appear on every page. The layout->content() comes from several different action controllers... So how do I handle the newsletter sign up? I thought that the answer is long-winded enough to be worth writing a blog post about. One way to do this is to use a action helper, so let's build a simple application to show this solution.
</blockquote>
<p>
He walks you through the creation of the simplest part first - the form that will live inside of the view helper. He chose a signup type of form with a username, email and submit button. He helps you create an action helper and the view helpers to help inject the form into the layout of each page. Then, with a simple call to "$this->signupForm()" you can drop it in anywhere in the layout.
</p>]]></description>
      <pubDate>Mon, 11 Oct 2010 12:11:07 -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>
  </channel>
</rss>
