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

10 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 […]

2 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 […]

6 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 […]

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

No Comments | 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 […]

3 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 […]

2 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 […]

2 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 […]

8 Comments | Read the full post »

  • You are currently browsing the Professional PHP weblog archives for March, 2005.
  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Subscribe with Google feed reader
  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (93)
    • Software Design (27)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Delphi for PHP  27
      GNtdTFJVFOSmiLLje, JackSfe, ZIB_NIMER [...]
    • PHP Coding Standards  6
      3123, Jack Johnson, Ignatius [...]
    • Expert and Novice Programmers  13
      Ben W, flj, chris web developer [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  83
      e-okul, Luis Oscar Cruz, xentek [...]
    • How to Transfer Mac OS X Application Data between Computers  34
      Khaled bin Alwaleed, Oscar, TeeJay [...]
    • Sarah Snow Stever  23
      Snowcore, ennah, Philippine Website Developers [...]
    • PHP Development From Java Architects Eye  9
      Bobrila, FelhoBacsi, Angsuman Chakraborty [...]
    • Improved Error Messages in PHP 5  9
      ennah, Khumaer, retry [...]
    • The value of MVC  7
      Vulchak, อะไหล่แอร์, Derek Scruggs [...]
    • Why PHP is easier to learn than Java  13
      , , WTF [...]
    • goto in PHP  38
      Goldilocks, , SFM [...]
  • Pages

    • Tags
  • Archives

    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Login