Writing

Everything I've written here, newest first, going back to 2000.

Filter by:
All Categories
All Tags

Symfony and AJAX

· Development

I've been playing with the AJAX support in Symfony this weekend and I'm blown away by how easy it is. Today I put together a detailed/summary view switcher for a list of items coming from a database …

Subversion repository creation shell script

· Dev-Sys

I've updated my svn repository creation script, it now copies and imports the code. Works for me, etc. Earlier: Creating a Subversion repository. #!/bin/sh # Darren Beale - siftware.co.uk # …

SEO considerations for a Flash website

· Dev-Sys

In 1997/8 (whenever it was) I got really excited by Flash 3 coming out; I even went to a do at the Islington Design centre (UK/London) where Macromedia pimped it (showing eye4U and Gabocorp, remember …

Remote PHP debugging

· Development, Php

After 8 or so years of being a professional web developer I today finally cracked using a debugger with PHP. I've been a long suffering PHPEdit user from since it was open source and into having to …

My PHP application directory structure

· Development

Rob Allen, who is on PHPWM and who I met at the recent PHPWM meeting in Worcester posted something on his blog detailing his prefered directory structure recently. Here's mine, seemingly nicked …

Excluding folders when creating a tarball

· Dev-Sys

When creating a tarball, to exclude folders one simply uses the --exclude= flag: For example to tar up the contents of /var/log but to exclude /var/log/apache & /var/log/mail/ tar -jcvf …

Nightmare MySQL migration

· Dev-Sys

I've been migrating a large number of websites over from one server to another, always an enjoyable task. So I get to the last one, copy the database over and do the normal mysql import along the …

Perl MySQL backup script.

· Dev-Sys

I'm in the middle of migrating a lot of websites from one server to another. Here's a small script I knocked up to take a dump of all the MySQL databases on that machine: [perl]#!/usr/bin/perl -w use …

Emulating PHP's substr() with Smarty [sort of]

· Development, Php

Today I had a requirement to strip off the first 9 digits from a string from within a Smarty template. The system using Smarty is totally locked down so no access to plugins or using …

RSS to Email

· Dev-Sys

I can't be arsed with RSS feeds; they are too high maintenance and I just don't have the time to read them any more, especially so since I became a freelance web developer again and all my time is …