All entries of my technical and business blog.

DateTime: My new best friend

I have a new love affair… PHP’s DateTime object. I’m not sure when it started, but it’s going on strong now. If you haven’t taken a look at it, I invite you to run over there now and just look at the methods. If that isn’t enough, let me give you a bit of example code… see if this makes you really want to do it: (more…)

php

Create your application with "overtake user"

A couple years ago, I developed this concept I call “Overtake User.” Basically, in every application I build, I build in the ability for the currently logged-in support specialist or admin to become someone else. Now, this is different than just viewing the user’s information and records. This actually let’s the current user become the other user. This is helpful also for scenarios where the user is “seeing something strange” but you can’t see it.... (more…)

Testing Error 500 Pages in Zend Framework

For the most part, ZF can capture any of your hard errors. It will generate an error 500. You’ve seen them, don’t lie… I’ve seen them way too many times. However, in my production application, I capture these with a specific controller. And because I love Unit Testing, I want to make sure that I test my implementation of my omg-this-is-broken setup. (more…)

Site profile: whatscloseto.me

Goal: Clever named site that shows local establishments close to your location. Was based on Google Ip location services. The thought was just for people to think ‘whats close to me’ and type that up. (more…)

⬅ Newer | Older ➡
Page 20 of 50
or use RSS