<?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>Tue, 21 May 2013 21:50:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Henry Hayes' Blog: Firebug Console.Log for PHP using Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/16474</guid>
      <link>http://www.phpdeveloper.org/news/16474</link>
      <description><![CDATA[<p>
<i>Henry Hayes</i> has written up a handy post to his blog looking at <a href="http://www.websitefactors.co.uk/zend-framework/2011/05/firebug-console-log-for-php-using-zend-framework/">using FirePHP and Zend_Log_Writer_Firebug to log messages</a> directly to your Firefox's Firebug console.
</p>
<blockquote>
Due to sloppy programming in the past many PHP error logs can become very clogged up and, unless you use some fancy grep technique, unusable. [...] A project has been around for some time now called <a href="http://www.firephp.org/">FirePHP</a>. This enables us to log messages of various levels of severity to the Firebug console! - Awesome. Just imagine if you are developing an ajax app, you could have all your debug messaging in one place.
</blockquote>
<p>
He walks you through the steps needed to get the logging up and running - setting up FireBug (if you don't have it already) and FirePHP, editing your Zend Framework bootstrap file to add an _initLogging() method and using it for logging, both in the backend script and on the frontend <a href="http://www.websitefactors.co.uk/wp-content/uploads/2011/05/SimpleFirePHPConsole.png">in the console</a>. He also includes a quick update to the logging method that only logs to the Firebug console if the environment is not production. 
</p>]]></description>
      <pubDate>Wed, 15 Jun 2011 12:49:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[phpRiot: Zend Framework 101: Zend_Log]]></title>
      <guid>http://www.phpdeveloper.org/news/12326</guid>
      <link>http://www.phpdeveloper.org/news/12326</link>
      <description><![CDATA[<p>
Next up in the phpRiot "Zend Framework 101" series is <a href="http://www.phpriot.com/articles/zend-log">this new look</a> at the logging component of the Zend Framework - Zend_Log.
</p>
<blockquote>
This article shows you how to use Zend_Log, the logging component of the Zend Framework. It allows you to record messages from your application however you please. In this article I will show you how to record messages to a log file. Additionally, if you use the Firebug and FirePHP plug-ins for Firefox, Zend_Log can be extremely useful for application development and debugging. I will also show you how to achieve this.
</blockquote>
<p>
They walk you through the creation of a <a href="http://www.phpriot.com/articles/zend-log/2">simple logger</a> and putting it to use by recording just the events you want (via error levels). There's also an extra section on integrating it with the Firebug/FirePHP extensions for Firefox and push your messages directly to the browser.
</p>]]></description>
      <pubDate>Mon, 13 Apr 2009 08:46:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Reading and Writing Spreadsheets with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9902</guid>
      <link>http://www.phpdeveloper.org/news/9902</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>Vikram Vaswani</i> has <a href="http://devzone.zend.com/article/3336-Reading-and-Writing-Spreadsheets-with-PHP">posted a tutorial</a> that shows hos to "break the language barrier" between PHP and Microsoft's Excel to allow for the reading and writing of spreadsheet data directly from one to the other.
</p>
<blockquote>
When it comes to playing nice with data in different formats, PHP's pedigree is hard to beat. Not only does the language make it a breeze to deal with SQL result sets and XML files, but it comes with extensions to deal with formats as diverse as Ogg/Vorbis audio files, ZIP archives and EXIF headers. So it should come as no surprise that PHP can also read and write Microsoft Excel spreadsheets, albeit with a little help from PEAR.
</blockquote>
<p>
After grabbing the different parts needed (the <a href="http://sourceforge.net/projects/phpexcelreader/">PHP-ExcelReader package</a> and the <a href="http://pear.php.net/package/Spreadsheet_Excel_Writer">Spreadsheet_Excel_Writer PEAR package</a>, he shows how to create a simple spreadsheet with just numeric information in it. For something a bit more interesting, he goes the other way and shows spreadsheet data as an HTML table.
</p>
<p>
Other examples included <a href="http://devzone.zend.com/article/3336-Reading-and-Writing-Spreadsheets-with-PHP">as well</a> are things like: pushing spreadsheet data into a database, working with formulas and styling it to your liking.
</p>]]></description>
      <pubDate>Thu, 03 Apr 2008 08:49:19 -0500</pubDate>
    </item>
  </channel>
</rss>
