Getting started with Glassfish using Maven
In this post I detail simple instructions for installing Glassfish v3 onto Ubuntu (although it will work just as well with Redhat, debian, and anything else). I also show how to create and deploy a simple WAR using Maven.
Continue readingTimico OSS Site Launched, Containing Symfony Plugins
I've launched http://oss.timico.net/ - which is an open source site for Timico. I've added a couple of plugins for symfony already.
-
http://oss.timico.net/svn/oss/symfony/TimicoMarkdownExtraPlugin/
- Includes Markdown Extra and a helper -
http://oss.timico.net/svn/oss/symfony/TimicoSwfChartPlugin/
- A helper for SWF Charts -
http://oss.timico.net/svn/oss/symfony/TimicoWikiPlugin/
- A wiki plugin allowing for custom storage backends (doctrine/propel/xml etc) and swappable renderers. This plugin is very unstable currently, as it is under development. -
http://oss.timico.net/svn/oss/symfony/TimicoServiceContainerPlugin/
- a simple wrapper around sfServiceContainer
Hopefully we'll be mirroring a few projects in need of public mirrors soon, and perhaps adding more of our own code.
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 readingEmbedded 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 readingThe 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 readingPHP 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 readingFiltering 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 readingsfServiceDefinition – 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