<?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>Wed, 15 Oct 2008 22:12:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Fancy Formatting]]></title>
      <guid>http://www.phpdeveloper.org/news/9298</guid>
      <link>http://www.phpdeveloper.org/news/9298</link>
      <description><![CDATA[<p>
<i>Stoyan Stefanov</i> has a <a href="http://www.phpied.com/fancy-formatting/">fun little post</a> showing an interesting formatting trick to make reading arrays/hashes easier:
</p>
<blockquote>
Writing readable code means proper indentation. Usually you'd tab (or use 2 or 4 or 3 spaces) after every curly bracket. [...] Same goes when you have a bigger hash/object sort of thing [...] But recently, inspired by Firebug's Net panel way of presenting header information, I tried aligning the keys to the right in addition to aligning the values to the left.
</blockquote>
<p>
Check out <a href="http://www.phpied.com/fancy-formatting/">the entry</a> for examples of each of these techniques and see which might fit your programming style the best. Personally, the align right style looks nice but could be more of a pain than it's worth to force my editor into.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2007 12:06:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Logan Buesching's Blog: Zend_Pdf_Cell]]></title>
      <guid>http://www.phpdeveloper.org/news/9181</guid>
      <link>http://www.phpdeveloper.org/news/9181</link>
      <description><![CDATA[<p>
<i>Logan Buesching</i> has <a href="http://agoln.net/archives/81">submitted a post</a> about an extension he's created for the <a href="http://framework.zend.com/manual/en/zend.pdf.html">Zend_Pdf</a> component of the Zend Framework to add one key feature - positioning.
</p>
<blockquote>
Needless to say, I was quite disappointed when I came to find out that Zend_Pdf doesn't currently have any type of text layout support except for the exact position to place it. I created a small extension to Zend_Pdf, and building off of an idea from <a href="http://www.fpdf.org/">FPDF</a>, I created Zend_Pdf_Cell.
</blockquote>
<p>
<a href="http://framework.zend.com/issues/browse/ZF-1254">His code</a> is not officially included into the Framework, but has been posted for anyone to use if they might need it. It includes features like: the ability to create a cell and put text inside, position a cell, specify the height/width and format it with different fonts. 
</p>
<p>
He also includes installation instructions (copy the file over, basically) and usage examples to get you started.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 12:58:00 -0600</pubDate>
    </item>
  </channel>
</rss>
