Archive for October, 2007

« Previous

FIEO with PHP 5 Interceptors

Tuesday, October 30th, 2007

Note: Before getting into this, it may be easier to just download the file, run the code, then read this post.
Thanks to the efforts of Chris Shiflett and other PHP security experts, Filter Input/Escape Output (FIEO) is now a commonplace technique to increase web application security.
The idea itself is simple. When data comes into your […]

Posted in Code, Design Patterns, PHP | 7 Comments

The Abstract Collection

Tuesday, October 23rd, 2007

I discovered something cool the other day while playing around with a PHP class that was designed to hold a bunch of items of a certain type. Essentially it is a way to get around PHP’s lack of strict type enforcement of class members. The class itself was abstract so the implementation would most likely […]

Posted in Code, Design Patterns, PHP | No Comments

Introducing Planet JavaScript

Wednesday, October 17th, 2007

Planets are nothing new. No no, not planets like in the solar system; planets like news aggregating sites. I’ve been reading some for quite a while now as a low-fat alternative to full-on feed readers like Google Reader or Bloglines. My current favorites include Planet PHP, Planet Python, and as of about a week ago, […]

Posted in Code, JavaScript | No Comments

Learning Python

Sunday, October 7th, 2007

No need to fear, I still love PHP way more.
I’m working on a command-line application and decided to use Python because it seems to be a little easier to work with for CLI purposes. I needed to teach myself some key things about Python by building a useless toy that does the following:

Incrementally repeat […]

Posted in Code, Python | No Comments

« Previous

Site Stuff

Pages

Projects

Archives

Categories