Using Zend_Cache to speed up Web Service calls

September 14th, 2009

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

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
 

Using Google Maps with Zend_GData

September 1st, 2009

This episode will wrap up the google docs series. You can start with Part 1 and Part 2, or jump straight into this one. With our persistence layer (the Google Docs Spreadsheet) and unit tests around geo-targetting addresses completed, we’ll tackle the view and try and visualize our data using the Google Maps API. This video will also touch on Zend_View, Zend_Controller, Zend_Registry and bootstrapping with Zend_Config. All of this wouldn’t be possible without Zend_GData. Download the source code, browse it online and don’t be shy to ask questions in the forum.

Synopsis

  • review of current unit tests
  • 1:30 – review of the google docs spreadsheet
  • 3:30 – creating an API key
  • 5:00 – grabbing spreadsheet data
  • 8:30 – embedding google maps
  • 12:00 – embedding one marker
  • 23:00 – writing the javascript plotting code
  • 30:30 – moving configuration data into the application.ini file
 

Geotargetting with the Google Maps API

August 15th, 2009

This video will is part of a multi-part series on looking at how we can leverage some of Google’s API’s to build a fancy mapping tool that’s driven from a Google Docs Spreadsheet. If you haven’t worked with Google Docs or Zend_Gdata before, I suggest you take a look at the video introducing Zend_Gdata and the Google -Zend libraries. This video looks at how we can build our own very simple web service adapter for Google’s geocoding service. As with most zendcasts, I invite you to download the source code, browse it online and discuss the video in the forums.
 

Introduction to the Google Docs API

August 4th, 2009

This video is going to be first in a small series looking at how we can integrate a small handful of the many Google APIs into a Zend Application. We’ll look at using a google docs spreadsheet as a data store and have it talk to your zend application through a small collection of unit tests. In following videos, we’ll start using the maps API for geocoding and finally plotting people to places using the Google Maps embeddeble map. Browse the source code or download the project. Discuss this video on the forum.

 
Desktop RSS feed iPhone + iPod