<?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, 06 Jan 2009 09:19:04 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: Scanning Folders with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11403</guid>
      <link>http://www.phpdeveloper.org/news/11403</link>
      <description><![CDATA[<p>
The NETTUTS.com site has posted <a href="http://nettuts.com/videos/screencasts/scanning-folders-with-php/">a new PHP-related screencast</a> that covers a simple script to scan over the contents of folders in PHP. To illustrate, they create an image gallery script that mirrors the filesystem structure.
</p>
<blockquote>
Let's imagine that you want to build a page that will display snapshots of your latest work. [...] In such instances, the best solution is to make PHP scan your "portfolio" folder and dynamically create the code for you. If you want to update your page with a new snapshot, all that you need to do is drag the image, and its respective thumbnail, into the appropriate folders - and PHP will do the rest. Let's build it now! 
</blockquote>
<p>
The screencast comes complete with <a href="http://nettuts.s3.amazonaws.com/120_screencast/scanFolders.zip">the entire source</a> and a <a href="http://nettuts.com/demos/018_screencast/featured.php">link to a demo</a> to show the end result.
</p>]]></description>
      <pubDate>Thu, 13 Nov 2008 14:18:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Naberezny's Blog: PHP Temporary Streams]]></title>
      <guid>http://www.phpdeveloper.org/news/11243</guid>
      <link>http://www.phpdeveloper.org/news/11243</link>
      <description><![CDATA[<p>
Following up on <A href="http://www.sklar.com/blog/archives/116-Let-a-thousand-string-concatenations-bloom.html">this post</a> from <i>David Sklar</i>, <i>Mike Naberezny</i> has come up with a <a href="http://mikenaberezny.com/2008/10/17/php-temporary-streams/">few methods of his own</a> to come up with his "thousand string concatenations".
</p>
<blockquote>
It's been a while since David Sklar <a href="http://www.sklar.com/blog/archives/116-Let-a-thousand-string-concatenations-bloom.html">called out</a> to let a thousand string concatenations bloom. That discussion produced some entertaining suggestions for putting strings together such as using preg_replace and calling out to MySQL with SELECT CONCAT. 
</blockquote>
<p>
<i>Mike</i> goes with a bit different media of choice - the filesystem functions and streams. One example opens a file, writes to the file then rewinds back to the beginning of the stream. He modified this to make it slightly more useful (writing to memory not the file system) and shows how it could be used to make a temporary stream for testing purposes.
</p>]]></description>
      <pubDate>Mon, 20 Oct 2008 07:52:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: PHP Streams Rock my World!]]></title>
      <guid>http://www.phpdeveloper.org/news/8641</guid>
      <link>http://www.phpdeveloper.org/news/8641</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has gotten <a href="http://pixelated-dreams.com/archives/319-PHP-Streams-Rock-my-World!.html">more than a little excited</a> by the streams functionality in his latest blog post:
</p>
<blockquote>
PHP streams are absolutely amazing. As mentioned by Elizabeth Smith (a great read if you don't know how to use streams) PHP streams are super powerful. Streams is something that is (to my knowledge) unique to PHP. The closest thing I've seen to it, is Linux's FUSE "user space" (i.e. not kernel module) file systems.
</blockquote>
<p>
He <a href="http://pixelated-dreams.com/archives/319-PHP-Streams-Rock-my-World!.html">shows an example</a> of a stream in action and suggests an interface he'd like to see - an automatic connection to the Amazon S3 storage.
</p>]]></description>
      <pubDate>Wed, 12 Sep 2007 14:14:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[RoofTopSolutions.nl: Caching in PHP using the filesystem, APC, and Memecached]]></title>
      <guid>http://www.phpdeveloper.org/news/6623</guid>
      <link>http://www.phpdeveloper.org/news/6623</link>
      <description><![CDATA[<p>
In <a href="http://www.rooftopsolutions.nl/article/107">this new blog post</a>, <i>Evert Pot</i> talks about getting the most out of your web-based applications through some simple caching types - filesystem, APC, and Memcached.
</p>
<blockquote>
Caching is very important and really pays off in big internet applications. When you cache the data you're fetching from the database, in a lot of cases the load on your servers can be reduced enormously.
</blockquote>
<p>
For each of the three caching types, they <a href="http://www.rooftopsolutions.nl/article/107">provide some code</a> and include some discussion around it (like the strategies surrounding using it, problems with its use, and why it would even be used at all). Installations are included where needed (like for the memcached stuff) to get you up and running quickly. 
</p>
<p>
It's not really a comparison so much as just stating what's out there, but it's a good place to start if you're new to caching in your applications.
</p>]]></description>
      <pubDate>Wed, 01 Nov 2006 12:34:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPit.net: A beginners introduction to PHP's file functions]]></title>
      <guid>http://www.phpdeveloper.org/news/4838</guid>
      <link>http://www.phpdeveloper.org/news/4838</link>
      <description><![CDATA[PHPit.net has another beginner-level tutorial <a href="http://www.phpit.net/article/beginners-introduction-php-file-functions/">posted on its site</a> today - this time, with a low level look at some of the file functions that PHP has to offer.
<p>
<quote>
<i>
Welcome to this beginner's introduction to PHP's file functions. In this article I will take you through all the inbuilt filesystem functions, and explain them. This article is mainly geared towards beginners, but it could still be useful to more advanced developers as a simple refresher.
<p>
This article will show you how to do the following things: reading files (using several different methods), writing files, copying files, deleting files, getting file properties (like last modified time, last access time, etc), checking file permissions, reading directories, and more!
</i>
</quote>
<p>
The <a href="http://www.phpit.net/article/beginners-introduction-php-file-functions/">article</a> touches on all of the major ones including explainations all along the way. There's plenty of code examples that are simple and to the point as well...]]></description>
      <pubDate>Mon, 13 Feb 2006 07:33:11 -0600</pubDate>
    </item>
  </channel>
</rss>
