Archive for November, 2008

Garmin GPSmap 60CSx and Ubuntu

Saturday, November 29th, 2008

I have had the Garmin GPSmap 60CSx for awhile and have always used the Garmin software on my windows box to get my waypoints off the Garmin handset and onto my computer. Truth be told, I barely use my GPS, but that is starting to change. To use it more, means I need to be […]

Zend_Acl, jQuery and HTTP Status Codes

Wednesday, November 26th, 2008

In my controllers, I use Zend_Acl to check whether or not a user is allowed to perform an action (i.e. should the code in the method be executed). I also have to check permissions once in a method, as someone might be trying to access an object that does not belong to them - i.e. […]

Throw Exceptions

Tuesday, November 25th, 2008

I pushed some changes out from my development server to my production server and ran into an issue with uploading/moving/resizing photos. It only took about 15 to 20 minutes to track down the issue, but it would have been a lot quicker if I hadn’t been sloppy with my code. In using the Zend Framework […]

Zend Controller Error Plugin and 404’s

Friday, November 21st, 2008

The Zend Framework provides a nice plugin to handle errors that bubble up in your controllers. It will automatically route Exceptions to the Error Controller, assuming you have flagged the Front Controller to not display exceptions (which should be the case in a production site). I implemented code for handling the Error Controller that was […]

Amazon CloudFront CDN

Wednesday, November 19th, 2008

Amazon has released their CDN offering, CloudFront. Some interesting notes:

Eight POPs in the US, four in Europe and two in Asia.
Pricing is different across regions - i.e. Asia is more expensive than the US - and charged by GB’s delivered and GET requests.
Origin must be S3, although the way the documentation reads and is structured, […]