Advertisement

Caching, YQL, and Regular Expressions

by
Student iconAre you a student? Get a yearly Tuts+ subscription for $45 →

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