Skip to content

Blog

Page 62 of 72 - keep going...

Don't Forget About Class Constants!

Constants can be great. They can stand for things like web services keys, integers, flags, etc. Basically, anything that you aren’t going to be changing in your script - and most likely things that don’t change much outside of the script either. However, I’ve seen people use them in the global name space far too many times. A great alternative is the class constant. Let’s check out some examples:

Aug 23, 2008 1 min read #php

Adobe Air Log File Watcher

One of the biggest pet peeves I have is when errors are generated on PHP files between redirects using the header() function. Especially if they’re not a fatal error, you never get to see them! Also, missing files that hit the apache logs usually are not found later until you review the logs as well. I thought: wouldn’t it be great if there was a tool that would watch these log files for me? (yes, a while ago, I talked about the perl “tail” script that I used in my eclipse to watch these… but… this is even better). Well there is a solution! My first Adobe Air application: Log File Watcher!

Aug 9, 2008 2 min read #programming

Programming without E_Notice

Well, my boss at #superdev - who can only be compared to a more energetic version of the squirrel from hoodwinked asked me to start putting together some thoughts here and there on some proper PHP coding. I thought I’d start out the series with this article, Programming without E_NOTICE.

Jul 17, 2008 4 min read #php

JEMGames Launched

JEMGames has finally joined the 102 Degrees network. JEMGames is an experiment comparing the “successfulness” of a custom programed websites versus off the shelf open source PHP scripts.

Jun 6, 2008 1 min read #news

No More "The Triangle"

Well, I’ve officially resigned from “The Triangle.” Don’t worry, I’ve got a new place to keep bring experience to this blog. I look forward to my new opportunities.

Jun 6, 2008 1 min read #misc-web