Devlog - devlog.info

General Information:

Latest News:

Quickie: Restoring a deleted MySQL root user 13 Oct 2010 | 09:00 am

I accidentally deleted my MySQL root user today on one of my dev servers. I thought I'd write a quickie about how I restored it. The basic information I gathered from the MySQL manual, but of course ...

Cross-domain AJAX with JSONP 11 Mar 2010 | 12:42 pm

Anyone who develops Javascript long enough undoubtedly runs into difficulties involving the various security features all browser vendors implement. These security features are a good thing -- they pr...

Creating daemons in PHP 8 Mar 2010 | 10:42 am

Today I want to talk about daemonizing PHP scripts on Linux servers -- creating scripts that are meant to run in the background for long periods of time. After we've covered that, I'll explain how I l...

Why PHP’s $_REQUEST is dangerous 4 Feb 2010 | 08:54 pm

PHP offers a convenience superglobal called $_REQUEST that coalesces input from a number of sources into one easy to use array. A common thought amongst PHP developers is that you should avoid the use...

8 Features of Badly Designed Software 17 Sep 2009 | 02:18 pm

I've compiled a list of 8 features that are inherent to all badly designed software. This list is in regards to code design -- it's about architecture. 1. High Coupling All software you write depend...

About Timestamps 12 Feb 2009 | 02:50 pm

A friend of mine who is rather new to PHP was getting super confused about timestamps and timezones. So I thought I'd post a quick thought about timestamps today to clear up some confusion. As you kn...

Stop using superglobals! 8 Feb 2009 | 10:47 am

Today I want to talk about best practices in regards to reading user input. And if you haven't already, I'm going to convince you why using PHP's superglobal arrays are bad. Best Practice: Cast to wh...

Overview: Creating Scalable Websites 28 Oct 2008 | 09:06 pm

Just a quick post today around the topic of scalability. This is really a broad topic, but I wanted to give sortof a "starting point" or overview of how to create very scalable websites. The newest of...

PHP Stream Wrappers 20 Oct 2008 | 08:24 am

If you talk to me regularly then you already know how much I love stream wrappers in PHP. The other day I was positively giddy with how easy it was to solve a particular problem by using stream wrappe...

PHP and Unicode with UTF-8 25 Aug 2008 | 03:35 pm

Now that I've already covered what Unicode is in another post, it's time to talk about actually using it. Today I'll talk about how to create PHP applications that correctly handle Unicode. Why use U...

Recently parsed news:

Recent searches: