64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).
Advertisement

Caching, YQL, and Regular Expressions

by
Gift

Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)

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


Advertisement