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.
Topics: Web Services |
Tags: api, google docs, maps, Unit Testing, Web Services
Posted in Web Services |
Episode Discussion
April 9th, 2009
This video covers a web service that I’ve been using lately called Bits on the Run. The service has fantastic support (with even the famous JW from the JW Player offering assistance if needed) and good documentation. If you want to build a web 2.0 app with video and aren’t interested in managing the encoding of multiple formats, BotR is for you.
I look at searching and getting detailed information from the bits on the run web service. If you’re planning on using Bits on the Run for live video uploads, I would encourage using the flash uploader on their downloads page.
Instead of JSON, the web service is XML based, so there’s some references to using SimpleXML as well.
If you took the time to look at the last video on web services, this will all be pretty familiar, except that instead of working with a web service that I’ve created, I’ll take advantage of a commercial web service. If you’re planning on integrating video into your web application and find this video helpful, please consider following this affiliate link as a way of supporting zendcasts.
This video wraps up a series on RESTful web services. I’ll be moving onto Zend_Db and then Doctrine integration in the following weeks.
If all the jumping around is getting to you, grab the source code from google code and follow along.
Topics: Web Services |
Tags: bits on the run, rest, search, video, Web Services, xml
Posted in Web Services |
1 Comment »
April 2nd, 2009
so here’s my makeup video for last week’s absence. It’s a little on the long end (nearing 40 mintues), however in my defense, I’m trying to cover a lot of ground. The video covers how you can build a very basic JSON web service with some private key authentication. I think that I muddled through the description, so I invite you to look at the Wikipedia entry on private / public key cryptography.
I start by producing a simple Business Object for countries, which then becomes a web service. With some credentials for authentication stored in Zend_Config_Ini, I go through the motions of writing a wrapper around Zend_HttpClient for handling requests with our home-grown country list web service. This approach was adapted from a web service I’ve been working on for a client recently, that I’ve found light and easy to write for RESTful calls. Following along with the source code might also be helpful. Grab yourself a copy of the source code here.
Topics: Zend |
Tags: json, rest, Web Services, Zend_Config_Ini, zend_http_client
Posted in Zend |
34 Comments »
March 18th, 2009
This podcast is a two-parter: Zend_Config_Ini and Zend_Http_Client(). While the two classes aren’t married together in the video, anyone serious about writing an API to their web application will need to access the API differently in development, staging and production environments.
We also take 10 minutes and 4 lines of code to work with the Twitter API. Jump to around the 15 minute mark if you’re already up to speed on Zend_Config_*.
I’m trying to cover the basic classes required to write a web service in the video next week. I’ve gotten a couple emails about covering Zend_Db. Since this podcast has covered Zend_Controller_* and Zend_View_* classes, the Zend_Db_* are starting to appear as the odd class out. I’m hoping to introduce Zend_Db by mid April.
View / download the source on Google Code
Topics: Web Services |
Tags: rest, Web Services, zend_config, zend_http_client
Posted in Web Services |
6 Comments »