Monthly Archives: September 2009

Simple PHP Rest Client

A couple folks here at the UW Seattle campus and I created a SimpleRestClient class to help PHP devs programmatically consume RESTFul X.509 protected web services using PHP cURL. We feel that there is a small hurdle in developing against X.509 certificate protected web service resources so quickly created something to help PHP devs jump over that hurdle in addition to other challenges.

You can download the PhpRestClient and associated SampleApp from GitHub. BTW Github is the source control repository that we are using to host our UW Web Services Registry code. (click on the download button)

You can simply untar the files into the same directory and run the sample app from any webserver with a current version of PHP on it.

Since this code was contributed by developers at multiple UW departments we consider this an UW Community Source project. Yea I just made up the term right now but think it has a nice ring to it. If you want to help contribute to the project just let me know and I can get you added as a GIT contributor.

This is just a first iteration of it and its possible that someone will add additional features like supporting all the HTTP methods (vs just GET and POST) and allowing for Basic/Digest HTTP authentication. Stay tuned for something similar to help .NET devs.

The code is not officially supported but we are happy to answer any questions you may have.


Dan Boren – Computer Science and Engineering

Tony Chang – Office of Information Management

Paul Hanisko – College of Education

One developer’s perspective on the SWS’s course search resource

The Office of the University Registrar (OUR) recently posted an entry on its blog about an improvement to the course catalog search, aptly titled “Course catalog search, at your (web) service.” That entry discusses the improvements in the catalog search in terms of features and usefulness to students. It mentions the UW’s Student Web Services (SWS), but doesn’t go into detail, as that blog’s audience likely isn’t interested.

You, dear On the ROA reader, are. Let’s dive in.

Continue reading