Gregphoto - gregphoto.net - Graphics by Greg
General Information:
Latest News:
ObservableTrait – Experiment with PHP 5.4 4 Mar 2012 | 08:41 am
PHP 5.4 was released this week, and one of the biggest new capabilities from a language perspective is traits, called mixins in some other languages. Traits are basically a way of creating a set of re...
InputValidator – Simple Input Validation for PHP 27 Dec 2011 | 02:24 pm
I recently needed a library for validating form input and everything seemed either verbose or required a huge number of files and libraries to be included. Here’s what I was looking for: Easy to incl...
RecursiveFileExtensionFilteredIterator 10 Jun 2011 | 05:28 pm
RecursiveFileExtensionFilteredIterator – rolls right off the tongue, right? Recently I had the need to find all of the files in a fairly big directory structure that were web pages – in my case, file...
PasswordHelper: PHP library for password hashing and more 20 Jan 2011 | 04:24 pm
Only two years since my last post I was fixing up an old website I had built to improve the security and as part of that I wanted to improve the way in which passwords were stored, created, and verif...
Review: Balsamiq Mockups 23 Apr 2009 | 06:51 pm
In my job as a product manager one of my key responsibilities is designing high-productivity software that is easy to use and powerful. We work in a complex domain that involves massive amount of data...
Playing mp3s with SoundManager 2 24 Nov 2008 | 02:10 pm
My friend Michael Ross is a musician and he sent me an email with a couple of the songs he recorded recently. I asked him if he would like me to put together a simple web page for his songs so that he...
A walk on the beach 20 Oct 2008 | 11:36 am
Its been a long time since I’ve written anything here…mostly due to a very busy year which included Yenari and me getting married in June. I’ll try my best to be more active (i.e. more than one post a...
Yelp for the iPhone 4 Dec 2007 | 06:51 pm
I just put together my first simple website for my new toy – my iPhone. It is a simple iPhone-specific interface for Yelp, my favorite source for restaurant and other local reviews. They have a ton of...
PHP5 Defensio Class 25 Nov 2007 | 12:46 pm
Looooong time since I’ve written anything here – about 9 months! This time around I’ve put together a simple PHP5 class for communicating with the Defensio web service. Defensio has an example PHP cla...
Photos from South Korea, India, and Singapore 11 Jun 2007 | 12:57 pm
I just got back from 20 days of traveling to South Korea, India, and Singapore. I went to South Korea with Yenari to see her family and friends for about a week. After this I headed to Bangalore (Indi...