Welcome to jrgns.net
Latest from my Blog
Decorator Pattern Implemented Properly In PHP
While working on Backend-PHP I needed to do a proper implementation of the Decorator Pattern in PHP. Just googling PHP decorator pattern will come up with a number of simple solutions, but none of them are usable in a general, robust way that a framework requires. So I extended and tweaked the implementations a bit.…
Popular Blog Entries
Redirect All Requests To Index.php Using .htaccess
In one of my pet projects, I redirect all requests to index.php, which then decides what to do with it:…
Getting Started with node.js
Looking for a new challenge, I started a small project in node.js. Here's a few simple tips on how to get going quickly.…
Parse Http Accept Header
I want to generate CSS on the fly for a personal project. I'm doing this by redirect all requests for files that does not exist to index.php, and then, if the request is for a stylesheet, index.php generates it.…
Firefox requests a page twice?
I'm busy creating a site for a client who wants to know when certain internal links get clicked. Not a problem, I just insert a record into a table every time the links they want to know about get accesesd. Only problem is, when I check the table, I notice that every page impression gets logged twice.…
Twitter API Request Entity too large / HTTP 413 error
I've setup zacoders.net that it will automatically tweet new RFC's. A while back this functionality stopped working. Today I investigated a bit further, and here's what I found.…





