<?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, 15 May 2008 23:37:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Setting Up a Web-Based Image Gallery]]></title>
      <guid>http://www.phpdeveloper.org/news/10130</guid>
      <link>http://www.phpdeveloper.org/news/10130</link>
      <description><![CDATA[<p>
DevShed has started a new series off today with <a href="http://www.devshed.com/c/a/PHP/Setting-Up-a-WebBased-Image-Gallery/">this new tutorial</a>, a look at a few image galleries written in PHP and how to get them up and working on your site.
</p>
<blockquote>
In this article, we are going to tackle this subject and present some real-world applicable solutions.First of all, this article presumes that you either have a web server of your own or one that you pay for (as a web space) with the necessary server-side services already running and configured appropriately (PHP, MySQL, Apache, etc.). Second, we are going to consider free options for the applications we'll present throughout this article.
</blockquote>
<p>
The two pieces of software they look at are <a href="http://www.4homepages.de/">4images Gallery</a> and the <a href="http://coppermine-gallery.net/">Coppermine Gallery</a>. Simple installation instructions are included (more can be found in the project's documentation, though) and screenshots show some of the end results.
</p>]]></description>
      <pubDate>Wed, 07 May 2008 09:31:45 -0500</pubDate>
    </item>
    <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[DevShed: Building a Complete Web Searching Class with Yahoo Web Services and PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9671</guid>
      <link>http://www.phpdeveloper.org/news/9671</link>
      <description><![CDATA[<p>
DevShed finishes up their series looking at making a search engine with the Yahoo! web services in PHP5 in <a href="http://www.devshed.com/c/a/PHP/Building-a-Complete-Web-Searching-Class-with-Yahoo-Web-Services-and-PHP-5/">this last look</a> at using the functionality they've created so far to make a more improved search.
</p>
<blockquote>
This last installment of the series will be entirely focused on demonstrating how Inheritance can be used in a helpful way to build a set of child classes that will come in handy for consuming a specific Yahoo! Search Service.
</blockquote>
<p>
They show how to use their current image search functionality and, with <a href="http://www.devshed.com/c/a/PHP/Building-a-Complete-Web-Searching-Class-with-Yahoo-Web-Services-and-PHP-5/2/">a few modifications</a>, make a base class that can be used to support ech of the other search types (web, image, video) with common functionality and settings.
</p>]]></description>
      <pubDate>Wed, 20 Feb 2008 12:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Seam carving]]></title>
      <guid>http://www.phpdeveloper.org/news/9627</guid>
      <link>http://www.phpdeveloper.org/news/9627</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has posted <a href="http://valokuva.org/?p=99">another quick hit</a> ImageMagick hint to his blog - this time it deal with "seam carving", a process for cropping and resampling of an image to make a different composite picture.
</p>
<blockquote>
Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. "Add support for liquid rescaling". I rushed to check the MagickWand API docs and there it was: MagickLiquidRescaleImage! After about ten minutes of hacking the Imagick support was done. Needless to say; I was excited
</blockquote>
<p>
You'll need to have the <a href="http://liblqr.wikidot.com/">libqr library</a> compiled into the ImageMagick installation, but the actual use of the functionality is simple - about three or four lines do the work for you. He includes <a href="http://valokuva.org/wp-content/uploads/2008/02/landscape_orig.jpg">the original image</a> and <a href="http://valokuva.org/wp-content/uploads/2008/02/landscape.jpg">the result</a> from his test (as well as <a href="http://valokuva.org/wp-content/uploads/2008/02/300x300_result.jpg">another example</a> of the same result image scaled down automatically.
</p>]]></description>
      <pubDate>Wed, 13 Feb 2008 17:10:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Defining Some Custom PHP Functions with Yahoo Web Services]]></title>
      <guid>http://www.phpdeveloper.org/news/9570</guid>
      <link>http://www.phpdeveloper.org/news/9570</link>
      <description><![CDATA[<p>
DevShed continues their series looking at connecting a PHP5 script to the powerful Yahoo! search backend with <a href="http://www.devshed.com/c/a/PHP/Defining-Some-Custom-PHP-Functions-with-Yahoo-Web-Services/">part four</a> of the series today. This part focuses on reworking some of the previous examples to make them more modular using custom defined functions.
</p>
<blockquote>
Logically, these examples can be really useful for learning the basic concepts surrounding the use of these search services, but undoubtedly, it's necessary to modify and improve their source code to make it more compact and completely reusable.
</blockquote>
<p>
They start the overhaul with the <a href="http://www.devshed.com/c/a/PHP/Defining-Some-Custom-PHP-Functions-with-Yahoo-Web-Services/1/">web search</a> (complete with example results) then push on to the <a href="http://www.devshed.com/c/a/PHP/Defining-Some-Custom-PHP-Functions-with-Yahoo-Web-Services/2/">video</a> and <a href="http://www.devshed.com/c/a/PHP/Defining-Some-Custom-PHP-Functions-with-Yahoo-Web-Services/3/">image</a> searches and work them over the same way.
</p>]]></description>
      <pubDate>Tue, 05 Feb 2008 11:18:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Implementing Yahoo Image Search Web Service with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9519</guid>
      <link>http://www.phpdeveloper.org/news/9519</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Implementing-Yahoo-Image-Search-Web-Service-with-PHP-5/">the third part</a> of their series looking at accessing the Yahoo! web services via PHP5 scripts. This time it's a focus on using the image search capabilities.
</p>
<blockquote>
In this third chapter of the series, I'm going to continue exploring in detail other helpful web services offered by Yahoo!, such as those focusing on searching images and videos. Also, I will demonstrate how they can be queried directly from a basic PHP 5 application and process the corresponding search results by utilizing the same group of array handling functions that you saw in the previous article of the series.
</blockquote>
<p>
Just like in previous articles of the series, they make a simple class that connect to the <a href="http://developer.yahoo.com/">Yahoo! web services</a> and request search details back about their queries (like "Madonna").
</p>]]></description>
      <pubDate>Tue, 29 Jan 2008 13:05:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPWACT.org: Handling UTF-8 with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9483</guid>
      <link>http://www.phpdeveloper.org/news/9483</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i> has pointed out a handy resource for those trying to cope with using the UTF-8 support included in several of PHP's functions - <a href="http://www.phpwact.org/php/i18n/utf-8">this page</a> on the Web Application Component Toolkit wiki.
</p>
<blockquote>
This page is intended as a reference for functionality PHP provides which can either help with handling UTF-8 or should be regarded as a risk when used in conjunction with UTF-8 encoded strings. Further information can be found on the <a href="http://www.phpwact.org/php/i18n">Internationalization (I18N)</a> and <a href="http://www.phpwact.org/php/i18n/charsets">Character Sets / Character Encoding Issues</a> pages.
</blockquote>
<p>
It talks about the "dangerous" functionality PHP has (issues that the language has in current functions) when using things like the PCRE extension, the string extension, the array methods, handling variables, the XML extensions (DOM and SAX), image manipulation, and URL parsing functionality.
</p>]]></description>
      <pubDate>Thu, 24 Jan 2008 07:51: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>
  </channel>
</rss>
