Caching, YQL, and Regular Expressions

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 YQL to query Twitter’s search API for a list of tweets which contain the string, “nettuts.” Finally, we’ll experiment with PHP’s regular expressions capabilities, and will turn all Twitter usernames and urls into clickable links. Ready…set…


Full Screencast


Tags:

Comments

Related Articles