RSS LinkedIn Twitter

Archive for November, 2007

I came away from our lab 4 design session with a couple wrong impressions regarding the schema, and got them clarified by Sam yesterday. Here’s a less ambiguous version of the message format we’re supposed to use (would have updated it on the lab page but I’m not on campus at the moment). <idea guid=””> […]

Tuesday, November 13th, 2007 at 20:42 0 comments

To get the queue length, as well as the visibility timeout, you make a request using the GetQueueAttributes action. The PHP library I’m using to make my calls to SQS doesn’t support this call (must have been written before the 2007-05-01 release of SQS) so my options are to find a new library, or to […]

Saturday, November 10th, 2007 at 15:20 0 comments

I’m just about finished with my approval client, the things I need to do are: A) figure out how to get a count of the number of items in the queue (my library doesn’t support that function) B) Make my SOAP calls to the WHOIS service (is there a specific service we’re supposed to be […]

Saturday, November 10th, 2007 at 09:50 0 comments

Once again, I got my best advice at the end of the lab. I’ll share it with you– use a library when trying to interact with the SQS. The first approach I tried that failed was using cURL to send the PUT request. You can see the code I used for that in my previous […]

Thursday, November 8th, 2007 at 19:55 0 comments

As is the case with any framework, I started running into Cairngorm’s limitations almost immediately after I started using it. Although Cairngorm makes effective use of several design patterns, the ViewLocator/ViewHelper model has never set well in my stomach. One limitation that is a show stopper for MDI applications is the fact that you can’t […]

Wednesday, November 7th, 2007 at 11:51 0 comments

My Flex 2 training brought me up on using Java web services running on JBoss for my RPC needs. This solution works great, so great in fact that I went through the trouble of connecting JBoss to IIS 6.0 on one of my home servers (a blog about this is in the works). However, this […]

Wednesday, November 7th, 2007 at 11:51 0 comments

The simplest way by far to do a GET in PHP (if you just want the return contents and don’t care about the headers) is to use the file_get_contents. It’s useful for getting the contents of a file quickly, or the contents of a web page. Here’s an example where I’m retrieving a JSON encoded […]

Tuesday, November 6th, 2007 at 20:46 0 comments

Using Amazon’s standard EC2 images as the base image to your servers probably means you’re going to be running Fedora Core 4, with outdated versions of PHP and MySQL. In my case PHP 5.0.4– and I’ve run into several problems with this, as I’ve wanted to use some of PHP’s advanced functionality. Functionality that is […]

Friday, November 2nd, 2007 at 09:49 2 comments

I got off to an early start on lab 3, and had most of my code working in a couple hours. The thing that hung me up for two weeks was trying to figure out how the step “Register with the SSLB” fit into this lab. I finally asked Sam about it and he told […]

Thursday, November 1st, 2007 at 20:58 1 comment