<?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, 08 Jul 2008 22:55:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Fill patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/10069</guid>
      <link>http://www.phpdeveloper.org/news/10069</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=102">a quick post</a> today showing how to use PHP and Imagick to create an image of text filled with another image layer behind it:
</p>
<blockquote>
The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc).
</blockquote>
<p>
<a href="http://valokuva.org/?p=102">His example</a> is pretty simple (with a "Hello World!" output) that pulls in the background image, creates the composite layer over it, adds the text to it and sets the fill to the background image's layer. The whole this is wrapped up and output as <a href="http://valokuva.org/wp-content/uploads/2008/04/patternphp1.png">a PNG file</a>.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 15:24:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ILoveJackDaniels.com: Regular Expressions Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/6282</guid>
      <link>http://www.phpdeveloper.org/news/6282</link>
      <description><![CDATA[<p>
One of the more elusive concepts of programming can be working with regular expressions. Now, there's lots of places to learn them and to get a handle on what they can do (such as <a href="http://www.oreilly.com/catalog/regex3/index.html">this book</a>), but what if you don't need the full-blown reference and just want a quick and dirty reference source? ILoveJackDaniels.com is happy to be of service with <a href="http://www.ilovejackdaniels.com/cheat-sheets/regular-expressions-cheat-sheet/">their latest cheat sheet</a> divided up into the different formats (anchors, character classes, assertions, escape characters, etc).
</p>
<blockquote>
The Regular Expressions cheat sheet is designed to be printed on an A4 sheet of paper and live by a designer or developer's desk, to make life a bit easier. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size Regular Expressions cheat sheet.
</blockquote>
<p>
This time, they've posted it in a few different formats, including <a href="http://www.ilovejackdaniels.com/regular_expressions_cheat_sheet.torrent">a torrent file</a> to make for faster/easier download. They still have <a href="http://www.ilovejackdaniels.com/cheat-sheets/regular-expressions-cheat-sheet/">the usual methods</a> (PDF and PNG) but you'll need to visit the page for those links - it's been requested not to directly link to them.
</p>]]></description>
      <pubDate>Fri, 15 Sep 2006 07:46:23 -0500</pubDate>
    </item>
  </channel>
</rss>
