Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.

The Usability of Input Filtering

March 31st, 2005

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 [...]

43 Comments | Read the full post »

WordPress Search Engine Spam

March 31st, 2005

In 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 [...]

7 Comments | Read the full post »

Knocked off the internet, a story of Windows and Macintosh

March 15th, 2005

This 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 [...]

8 Comments | Read the full post »

Microbenchmarks of single and double qouting.

March 8th, 2005

I 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 [...]

28 Comments | Read the full post »

PEAR Channels

March 7th, 2005

I 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).

1 Comment | Read the full post »

Zend Core for IBM technical roadmap

March 4th, 2005

IBM 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 [...]

6 Comments | Read the full post »

Shipping Software is fun

March 3rd, 2005

Mark 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 [...]

5 Comments | Read the full post »

Writing an XPath expression evaluator

March 3rd, 2005

I’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 [...]

10 Comments | Read the full post »

rsync to remote server via ssh

March 1st, 2005

If 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 [...]

38 Comments | Read the full post »

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • You are currently browsing the Professional PHP weblog archives for March, 2005.
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  258
      Tuan Lal, Lavagem de estofados, Edward L. Kind [...]
    • php | tek 2008  36
      how to mend ice machine, Akademija Debelih, Odbacena [...]
    • goto in PHP  59
      kasor, Thomas Valdivieso, Murray Ziadie [...]
    • Firefox Extensions for Web Developers  33
      kasor, Website Design Toronto, mobila bistrita [...]
    • Why PHP is easier to learn than Java  68
      kasor, Justina Calvery, Guy Lipton [...]
    • Meta Tag Refresh Faux Paux  43
      html email templates, E-Juice Reviews, image [...]
    • Improved Error Messages in PHP 5  49
      Carroll Tina, Przeprowadzka, Emery Harari [...]
    • Benchmarking PHP's Magic Methods  33
      kayu oyunlar?,dora,oyun,oyna, Benjamin Bejjani, paypal website [...]
    • Microbenchmarks of single and double qouting.  24
      kefir grains minneapolis, sexshop dildo, tuim688 [...]
    • PEAR Templates  17
      Kandice Sansing, car insurance estimates for teenagers, Dale Brence [...]
  • Site

    • Archives
    • Log in
  • Search