Three Ways to Learn the WordPress Transients API (With Pippin Williamson)
If you’ve been meaning to learn WordPress’s Transients API, today is your lucky day! Soon you’ll be just rolling in cache. (If you didn’t get that joke, you should definitely continue reading.)
We’re releasing a WordPress learning package in one week, called Up and Running: A Practical Guide to WordPress Development. It’s a multimedia package: a full e-book, over 50 screencasts, and interviews and code walkthroughs with 13 of the world’s best WordPress developers.
We thought we could show you why we like the multimedia approach, by showing you how Up and Running tackles a fairly advanced topic in WordPress development: the Transients API.
Below are three resources:
1. Book Chapter
Here’s the chapter we wrote on transients: Getting to Know the WordPress Transients API.
- A full-length chapter on the nature, purpose, and uses of the Transients API, with a fully functioning plugin example.
- “Key Takeaways” at the top that summarize the chapter’s intuitive points.
- A Transients-related limerick at the bottom! For fun, and to help the basics of transients “stick” in a memorable way.
- A Quiz section to test your knowledge, with detailed explanations of each quiz answer.
Every chapter of Up and Running is laid out similarly.
2. Code Walkthrough with Pippin Williamson
Part of every Up and Running interview is a code walkthrough: top-tier WordPress developers walking us through their own code. Pippin’s code happened to be for his plugin, Transients Manager.
(Note: Make sure you watch at 720P to see Pippin’s code. The raw file we’ll serve in Up and Running is higher-quality than this YouTube upload.)
3. Screencast from Plugin Development Series
David did a screencast series of 17 videos on plugin development. (We also did around 40 others on the principles of web languages, and child and parent theme development.) His plugin pulls information from GitHub’s APIs, so he needs to use transients to cache the data. This video covers how he did it.
Now You Get Transients!
(…We hope! If not, keep reading and watching, or comment below.)
More than that, we hope you’re a fraction as excited as we are that we’ll be able to offer a multimedia WordPress learning experience to the world. Up and Running ships June 16; to learn more and get a 20% discount on preorder, visit upandrunningwp.com.