There seems to be much interest lately in input filtering in PHP, especially in cross site scripting prevention. I’ve always preferred input validation to input filtering, but I am giving filtering a new examination. My problem with filtering is with usability. The comments to this post are a good example. There [...]
The Usability of Input Filtering
March 31st, 2005WordPress Search Engine Spam
March 31st, 2005In light of the reports of WordPress search engine spamming, I have removed my link to the WordPress web site. The default WordPress theme has a “is proudly powered by WordPress” tag line with a link. I thought proudly was overkill in the first place and certainly not true now, so I have [...]
Knocked off the internet, a story of Windows and Macintosh
March 15th, 2005This weekend the internal modem in my Mac died. Living in a rural area, I am a dialup user. Let me say that getting unexpectedly disconnected from the internet is very traumatic.
I’ve been following an iterative development cycle where I deploy to my client’s site every Friday. (My old ERP colleagues would [...]
Microbenchmarks of single and double qouting.
March 8th, 2005I wrote earlier about flawed microbenchmarks. Today on sitepoint, there was a post on the performance of single versus double quotes in PHP based on a microbenchmark:
The reasoning behind this speedup is that when the PHP compiler encounters a string constant beginning with a double quote, the string itself must be parsed and special [...]
PEAR Channels
March 7th, 2005I am very interested in the new PEAR channels. I like where this is going. I especially like the idea of web application installers (versus library installers).
Zend Core for IBM technical roadmap
March 4th, 2005IBM has an interesting article up: Zend Core for IBM technical roadmap. I have high hopes for this relationship.
The article talks about web services support, XML support, and database support while briefly mentioning security. I think its safe to say that these are the things that enterprise users are interested in.
While the object [...]
Shipping Software is fun
March 3rd, 2005Mark Lucovsky blogs about why he left Microsoft for Google (via John Lim). He talks about how code at Microsoft has to rot in a CVS repository for years before shipping, while web based companies such as Google and Amazon can deploy almost instantly.
I have to agree with the sentiment. I quit my [...]
Writing an XPath expression evaluator
March 3rd, 2005I’ve been interested in XPath lately. I am investigating using XPath to query ‘Sloppy’ HTML documents instead of XML documents for the purpose of writing web tests. I’ve been using a CSS like syntax cobbled together with nasty regular expressions that don’t work in all cases. For example:
$this->assertTextInElement(’div.Status’, ‘The Category has been added [...]
rsync to remote server via ssh
March 1st, 2005If you ever need to repeatedly upload to a remote server, here is the command line of the day:
rsync -zrptL –delete-after -e "ssh" –include=core –include=tags –exclude=.DS_Store –cvs-exclude /local/dir user@host:/remote/dir/
rsync sends only the files that have changed. I just tried rsync today for the first time and I’m impressed. Its far faster than [...]