Everyone else probably already knows this, but $project is/was doing two queries on the MySQL database every time the end user typed in something to search on to get the data between a set range (SELECT x,y….. LIMIT n, OFFSET m or whatever) and another to get the total count of records (SELECT count(field) ….).… Continue reading Late to the performance party
Grumpy man, back from battling with some legacy code, has a rant.
I’ve had cron’ed unit tests running for ages which happily spam me when stuff breaks – and likewise adding e.g. phpdoc generation and so on into the mix wouldn’t be too hard. Anyway, for want of something better to do with my time I thought I’d look into CI in a bit more depth for… Continue reading Adventures in Continuous Integration (PHP, Xinc, Phing etc)
Random Brain dump – Trac 0.11 with Git on Debian Lenny; this worked for me … We’ll use /var/git/ as the location where our git repositories live – e.g. /var/git/repository1, /var/git/repository2 etc. So, assuming you have git-core installed, create the Git repository: mkdir -p /var/git/repository cd /var/git/repository git init –bare Next, install the trac-git extension… Continue reading Trac and Git on Debian Lenny
Sam made some changes to a SOAP service one customer has – and suddenly our automated tests kept failing. “WTF?” we thought. We persistently got the same error (e.g. Fatal error: SOAP-ERROR: Encoding: object hasn’t ‘SortResults’ property in ….) yet the generated WSDL file (when viewed through a web browser etc) no longer has SortResults in… Continue reading Silly SoapClient
Random php development musing