<?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>Fri, 08 Aug 2008 16:21:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Getting Graphic with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10538</guid>
      <link>http://www.phpdeveloper.org/news/10538</link>
      <description><![CDATA[<p>
The IBM developerWorks site has a <a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-graphic.html?ca=drs-tp2708">new tutorial</a> posted (registration/login required) talking about image creating in PHP using the GD library.
</p>
<blockquote>
The purpose of this tutorial is to show you how to get started with the GD library and to provide a variety of techniques you can apply to your Web-page coding. The tutorial doesn't cover every GD function, but it teaches you the basics. The Resources section provides Web sites where you can learn more about using the GD library.
</blockquote>
<p>
They <a href="https://www6.software.ibm.com/developerworks/education/os-php-graphic/index.html">go through</a> the creation of sample images, working with gradients and lines, adding text, saving the image data out to a file and how to work with existing graphics to modify them.
</p>]]></description>
      <pubDate>Thu, 03 Jul 2008 10:20:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: Turn text files into pull down menus]]></title>
      <guid>http://www.phpdeveloper.org/news/9710</guid>
      <link>http://www.phpdeveloper.org/news/9710</link>
      <description><![CDATA[<p>
<i>Tiffany Brown</i> shares <a href="http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/">a quick function</a> she whipped up to create dropdown menus from the contents of a newline separated text file (or files).
</p>
<blockquote>
I developed this PHP function for a project I'm working on. I'm posting it here in case I need it again, or in case you find it handy.
</blockquote>
<p>
The <a href="http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/">function</a> turns each line into an option tag making defining custom menus based on the contents of dynamically-given text files easy.
</p>
<p>
This could also be easily adapted to create navigations menus at the top of your pages with a few modifications to the HTML tags being used and some CSS to change the look of the list.
</p>]]></description>
      <pubDate>Wed, 27 Feb 2008 09:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/9437</guid>
      <link>http://www.phpdeveloper.org/news/9437</link>
      <description><![CDATA[<p>
<i>Cory Borrow</i> has <a href="http://www.coryborrow.com/2008/01/11/creating-thumbs-from-textfiles-with-php-and-gd/">posted a tutorial</a> he's created to show how to harness the power of PHP and GD to create thumbnail images out of the contents of a text file.
</p>
<blockquote>
Today, I'll give a little info on how to achieve the process of creating a thumbnail using PHP, GD and the text from a text file. It is really pretty simple, so lets get started.
</blockquote>
<p>
The trick behind the translation is in reading in the contents of the (plain) text file and pushing it into a string value of a newly created GD-generated image. He includes the code to make using it in your own app simple (a cut and paste version) - his method FileToThumb.
</p>]]></description>
      <pubDate>Wed, 16 Jan 2008 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kore Nordmann's Blog: Published article "Image creation with PHP"]]></title>
      <guid>http://www.phpdeveloper.org/news/9218</guid>
      <link>http://www.phpdeveloper.org/news/9218</link>
      <description><![CDATA[<p>
<i>Kore Nordmann</i> has <a href="http://kore-nordmann.de/blog/published_article_image_creation_with_php.html">posted a new article series</a> (to the "Articles" section of his site) with six different pieces talking about different aspects of image creation with PHP:
</p>
<ul>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_tools.html"> Image creation with PHP - Image Tools</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_texts.html"> Image creation with PHP - Text rendering</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_bitmaps.html"> Image creation with PHP - Integrating bitmaps</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_gradients.html"> Image creation with PHP - Gradient rendering</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_shapes.html"> Image creation with PHP - A first shape</a>
<li><a href="http://kore-nordmann.de/blog/image_creation_with_php_formats.html"> Image creation with PHP - Formats & Libraries</a>
</ul>
<p>
Each of them can be read separately, but they're all part of a series and make more sense when read together.
</p>]]></description>
      <pubDate>Tue, 11 Dec 2007 11:11:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tilllate Blog: Caching of Dynamic Data Sets]]></title>
      <guid>http://www.phpdeveloper.org/news/9178</guid>
      <link>http://www.phpdeveloper.org/news/9178</link>
      <description><![CDATA[<p>
On the Tilllate Blog, there's a <a href="http://techblog.tilllate.com/2007/11/30/caching-of-dynamic-data-sets/">new post</a> discussing the use of caching in applications, specifically for dynamic data.
</p>
<blockquote>
Consider you have a set of data that is changing dynamically for each page request and you need to cache that data the fastest way possible. You can't cache dynamic and unpredictable data as a whole, can you? Hence, we would put each data entry into cache separately to be able to fetch it separately and dynamically. But this means bombing your cache infrastructure with with requests.
</blockquote>
<p>
They break it up into a few different topics - caching text elements on the page, two-tiered caching (grouping cached items), incremental caching and cache versioning. They don't share an example of their code unfortunately, but they do mention something about a possible contribution to the <a href="http://framework.zend.com/manual/en/zend.cache.html">Zend_Cache</a> component of the Zend Framework.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 10:29:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Drawing Basic Rectangles in PDF Documents with PHP 5 ]]></title>
      <guid>http://www.phpdeveloper.org/news/9082</guid>
      <link>http://www.phpdeveloper.org/news/9082</link>
      <description><![CDATA[<p>
DevShed has continued their look at working with PDFs in a PHP5 application with <a href="http://www.devshed.com/c/a/PHP/Drawing-Basic-Rectangles-in-PDF-Documents-with-PHP-5/">this new part</a>, part four, focusing on making a PDF with basic rectangles drawn in it. 
</p>
<blockquote>
All right, now that you know how to include basic blocks of text into a simple PDF file, in addition to incorporating some images, the question that comes up here is: what's the next step to take? Well, in this fourth part of the series I'm going to show you how to draw a few basic shapes, once a PDF document has been opened, like empty and filled rectangles, which can be useful if you want to decorate the document with these kinds of forms.
</blockquote>
<p>
The tutorial walks you through the creation of another sample PDF file (with text and an image) and shows the process for adding rectangles via the rect() function call on their PDFLib class.
</p>]]></description>
      <pubDate>Tue, 20 Nov 2007 12:56:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Working with Images and Text Flows in PDF Files with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9037</guid>
      <link>http://www.phpdeveloper.org/news/9037</link>
      <description><![CDATA[<p>
DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/Working-with-Images-and-Text-Flows-in-PDF-Files-with-PHP-5/">next article</a> in their tutorial series dealing with PDF generation in PHP5. Previously, they've discussed the creation of the file and the addition of text, this time they take it further with new functionality - images.
</p>
<blockquote>
At this point, you hopefully recall how to use the previous methods to display multiple lines of text in a concrete PDF file, so it's time to learn a few more method bundled with the library. As you'll see in the next few lines, these methods can be quite helpful for performing other tasks, like including images and blocks of texts into the PDF file in question.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Working-with-Images-and-Text-Flows-in-PDF-Files-with-PHP-5/1/">list out the complete source</a> so far to provide a refresher before starting, then move on to the new functionality - adding a basic image and positioning it and creating and adding a text field to your sample PDF.
</p>]]></description>
      <pubDate>Wed, 14 Nov 2007 10:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Constructing Multi-Line PDF Documents with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8994</guid>
      <link>http://www.phpdeveloper.org/news/8994</link>
      <description><![CDATA[<p>
DevShed continues their series looking at working with PDF files in PHP with <a href="http://www.devshed.com/c/a/PHP/Constructing-MultiLine-PDF-Documents-with-PHP-5/">this second part</a> of the series, taking things to the next level - making multi-line PDF documents in PHP5.
</p>
<blockquote>
In this second part of the series I'll provide you with some examples that illustrate how to build PDF files that contain multiple lines of text; remember,  in the preceding article I worked only with single-line strings. Additionally, I'll teach you how to position these texts on a given PDF page.
</blockquote>
<p>
The tutorial walks you through a quick review of making a PDF file from scratch before moving on to the new stuff - creating a PDF with multiple lines of text in it and an example of positioning the text with the set_text_pos function in PHP.
</p>]]></description>
      <pubDate>Wed, 07 Nov 2007 13:08:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen: Requested examples: Animating GIF Images]]></title>
      <guid>http://www.phpdeveloper.org/news/8816</guid>
      <link>http://www.phpdeveloper.org/news/8816</link>
      <description><![CDATA[<p>
At the request of another developer, <i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=46">written up a post</a> for his blog today showing how to create animated GIFs in PHP with Imagick.
</p>
<blockquote>
Today's example was requested by a user called Devo. This example illustrates making an animated GIF image by creating the frames from scratch. It's been so long since I've really drawn anything so I decided to use text as the base for this animation.
</blockquote>
<p>
<a href="http://valokuva.org/?p=46">His example</a> ends up as a string ("Hello World") that's animated to show one more letter at a time as each frame loads.
</p>]]></description>
      <pubDate>Wed, 10 Oct 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action Blog: Running PHP tests inside Vim]]></title>
      <guid>http://www.phpdeveloper.org/news/8251</guid>
      <link>http://www.phpdeveloper.org/news/8251</link>
      <description><![CDATA[<p>
From the PHP in Action blog today, there's a <a href="http://www.reiersol.com/blog/index.php?op=ViewArticle&articleId=21&blogId=1">new post</a> that (briefly) shows how to run your tests directly from a popular unix text editor - vim.
</p>
<blockquote>
I created my own test runner to run tests inside Vim, I can't remember how long ago. Must be a year or two. I never shared it with the world. It was too primitive for anyone else to use. Then, recently, I decided to try re-implementing it in a more serious way.
</blockquote>
<p>
The "more serious way" meant using Vim script to its full potential, including the ability to work with objects and already has its own testing framework. He <a href="http://www.reiersol.com/blog/gallery/1/previews-med/2-vimtestrun.jpeg">includes a screenshot</a> but no download just yet. It looks promising and makes running tests as simple as hitting F11 and watching it go.
</p>]]></description>
      <pubDate>Mon, 16 Jul 2007 12:07:00 -0500</pubDate>
    </item>
  </channel>
</rss>
