<?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, 21 May 2013 14:10:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: Caching, YQL, and Regular Expressions]]></title>
      <guid>http://www.phpdeveloper.org/news/15409</guid>
      <link>http://www.phpdeveloper.org/news/15409</link>
      <description><![CDATA[<p>
On NETTUTS.com today there's <a href="http://net.tutsplus.com/tutorials/php/caching-yql-and-regular-expressions/">a new tutorial</a> showing you how to work with <a href="http://developer.yahoo.com/yql/console">YQL</a> for pulling information from remote feeds and PHP (with regular expressions) to handle filtering and caching.
</p>
<blockquote>
In today's tutorial, we're going to mix a handful of technologies. First, we'll review how to implement a simple form of text file caching with PHP. To illustrate this technique, we'll use the wonderful <a href="http://developer.yahoo.com/yql/console">YQL</a> to query Twitter's search API for a list of tweets which contain the string, "nettuts." Finally, we'll experiment with PHP's regular expression capabilities, and will turn all Twitter usernames and urls into clickable links. 
</blockquote>
<p>
They show you (with the help of a few screenshots) how to get the YQL system to work with your PHP scripts and how you can fun a simple query against it. They use a simple file-based caching technique and a regular expression (not the simplest thing, mind you) to extract usernames and links from the results.
</p>]]></description>
      <pubDate>Wed, 10 Nov 2010 10:07:14 -0600</pubDate>
    </item>
  </channel>
</rss>
