Spaghetti Bolognese Recipe
Everytime I go to make a ragu for bolognese I spend ages looking for recipes, and there's so many different ones out there. When I do find one I like, I fail to bookmark it - so this time, I've made my own recipe based off many others, and decided to write it down. I'm doing this mostly for myself, but I thought I'd do it on my blog so that others might find ways to improve it for me. A little disclaimer - I don't know if this is a 'correct' ragu recipe, or if I'm doing things a chef would cry at, I just know I like this recipe - and I hope someone else might too!
Continue readingExtending sfFileCache with Hashed Directory support
Unfortunately, sfFileCache doesn't scale well on certain file systems as it puts all of it's cached files in one location. This simple class adds support for hashing the directory name based on a the name of the item being cached. It wasn't worth a plugin, so I'm pasting it here.
Continue readingSending multipart email from a Task in symfony 1.4
I recently needed to send the result of an action in symfony via email daily. E-mail has changed slightly in symfony 1.3/1.4 - here's how I did it. I really don't like my solution at all, the use of get_partial() from within a Task seems very wrong to me - but I'm in a rush so it will do for now, I'd love to hear feedback
Continue reading