sam keen's corner of the web

Category Archives: PHP

Using Unicode To Increase Information Density in Tweets

Quite a while back I grabbed the twitter handle @pdxweather with plans to broadcast the local weather over it.
I first thought I would send out a daily broadcast for today’s weather and tomorrow.  Being Portland, Oregon, I’m centering around the “Chance of Rain” for those days at least as a starting point. This has proven [...]

10 Minutes to a Leaner LAMP stack

For this quick article I am only going to quickly cover the A and the M of the LAMP stack.
The Setup
Assumptions: You have root on the server in question or you at least have enough server access to effect the configuration of Apache and MySQL.
The test server setup:

A Virtual Private server running on Rackspace cloud
Ubuntu 9.04 [...]

Your First PHP Development Environment

I’m teaching a PHP/MySQL course at the local community college this fall.  First order of business is to get everyone set up with a PHP development environment.  I decided to go ahead and post the strategy for the course as a post here in case it may be helpful others just starting out in PHP [...]

Portland Restaurant Health Map

Inspired by Toby Segaran’s creation of a heat map of restaurant health inspection scores for San Francisco, I set out to do the same for Portland, Oregon.  I was able to scrape establishment records from the existing Multnomah County Food Establishment Inspections Search.  Then I got lat/longs for those addresses using Google’s geocode API.  Using [...]

Augmenting Web Services with SMS and XMPP

This talk was centered around adding channels of communication such as SMS and XMPP to existing HTTP web services.A project called Extapi, is a small web app that manages this coordination between multiple channels and services.here are the slides for my presentation given on November 14th 2008 at PHP|Works

AT PHP Works

In Atlanta for the php|works conference.Listening to the Keynote from Kevin Dangoor (founder of turbo gears). He’s discussing successfully fostering open source projects.Looking forward to meeting new folks with PHP and/or Python backgrounds

Speaking at this years PHPWorks in Atlanta

Very excited that the talk I submitted to php|works was accepted. I’ll be speaking at the Atlanta conference on my continuing work with combining XMPP and SMS with existing web API’s

Shizzow’s public announcment

One of my side projects has turned into a full blown startup. Shizzow.com will be officially announced at today’s Lunch 2.0 at cube space. It’s been a pleasure working with the other fine folks on this project and I’m looking forward to the future.Thanks to Silicon Florist for all the press

Accessing Trimet Arrival Times with SMS

I discovered the Portland Trimet API about a month ago and was very inspired by the amount of real-time information available and the ease of accessing it through their web service. One feature of the service is that for a given stop id you can get the arrival times for the buses/trains for [...]

Book Review: PHP In Action

Authors: Dagfinn Reiersol, Marcus Baker, Chris Shiflett2007 Manning Publications525 pages
This book is geared toward the intermediate PHP developer who wants to bring in aspects of OOP, Testing and Refactoring to help improve the quality of the code they write. It is split into four parts; Basic Tools and Concepts, Testing and Refactoring, Building the Web [...]