Zend Screencasts: Video Tutorials about the Zend PHP Framework  (iphone)

Using Zend_Cache to speed up Web Service calls

09.15.2009 - By Produced by Jon LebensoldPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

A short video showing how you can test and implement Zend_Cache on a class that makes a really slow request (like a web service call).

This is part 4 in a four part series on Google Docs and Google maps. While this example shows how to cache a Class to a file, you could easily modify the code to work with other caching backends such as a memory-based caching engine or something like Zend Optimizer or APC.

Previous Parts

Part 1 – Introduction to the Google Docs API

Part 2 – Geotargetting with the Google Maps API

Part 3 – Using Google Maps with Zend_GData

Show Synopsis

0:00 – What is caching

4:15 – preparing our bootstrap (for later on)

6:25 – Reviewing the class we want to unit test

10:25 – writing our first iteration of the Zend_Cache

13:22 – front options and back options

15:00 – looking at what Zend_Cache is caching

18:25 – Moving caching into the bootstrap

More episodes from Zend Screencasts: Video Tutorials about the Zend PHP Framework (iphone)