Ian P. Christian's Personal Blog Random witterings from pookey

12Nov/091

Embedded forms using Javascript with sfForm

I wanted to create a form that allowed me to dynamically add sub-forms via JS, without round-trips to the server. I had a bit of a google, but failed to find much of use - so I wrote my own. This article contains my code for a proof of concept, and a brief description of what it does. It is proof of concept, and done as an example, so code isn't done perhaps as I might do in a real configuration, but I hope it provides help to others.

Continue reading
Filed under: geek, symfony Continue reading
10Oct/0912

The BeBook Mini

I've recently got a BeBook Mini, and thought I'd take a little time to upload some pictures and write a few words.

Continue reading
Filed under: bebook, geek Continue reading
18Aug/095

PHP workflows – ezComponents

Workflows are a useful tool to help manage business processes. In this post I take a look at the workflow engine of eZ components, which was developed by Sebastian Bergmann. In this post, I introduce the basics of the workflow engine, and will expand on it's usage in future posts.

Continue reading
Filed under: geek, php Continue reading
15May/090

Filtering Postini tagged mail with Sieve

The headers Postini's anti-spam system adds to emails are quite hard to filter on, as you need to compare part of one header to part of another. Here's a little snipped that works with dovecot 1.2's sieve implementation. I don't actually use this myself anymore, but I'm posting it here for anyone else struggling with the problem.

Continue reading
31Mar/093

sfServiceDefinition – a brief introduction

Fabien has already introduced the symfony service container, and will be shortly releasing a post covering more of it. I was keen to get my hands dirty, so I've dived into the code and got a quick example working.

Continue reading
Filed under: php, symfony Continue reading
30Mar/091

YAML in PHP – fun with sfYaml

In a recent post about Symfony components - Fabien wrote about how the Symfony project (yes, that's right - a capital S now!) will be releasing more and more components. In this post I introduce sfYaml, a YAML parser for PHP - building on my previous blog post about routing.

Continue reading
Filed under: php, symfony Continue reading
29Mar/094

Playing with symfony routing – without symfony

symfony 1.2 was quite an improvement over 1.0, one of the most important changes was improved decoupling between components. In this article we're going to put this to the test and have some fun with sfRouting.

Continue reading
Filed under: geek, php, symfony Continue reading
26Mar/092

Rate Limiting SOAP client in PHP

I've recently had the requirement to rate limit SOAP calls to a remote API, so having done the work I though I'd document it here.

Continue reading
Filed under: geek, php Continue reading
23Mar/091

Using the ‘classmap’ with SOAP in PHP

I've recently done a little bit of SOAP work whilst spec'ing out a project for work - and I noticed that the PHP manual page for SOAP a mention of the 'classmap', which isn't documented so well. I thought I'd put an example here to show it's usage.

Continue reading
Filed under: geek, php Continue reading
23Mar/090

Pirate Duck Update

As you should be aware from my previous blog post - Bring Back Pirate Duck - one of my ducks is missing. This morning upon returning I found a small padded envelope addressed to 'Mr Ian P Christian - Duck Master".

Continue reading