Matthew Bull

web development

IWMW 2008 - day 2

Wednesday, July 23rd, 2008

So, we're into day 2 of the IWMW 2008 conference at Aberdeen. Day 1 passed with much alcohol, dancing, Aberdonian 'furry boots', oh and some web stuff too. I think the highlight was an excellent opening talk by Derrick McClure from the Centre for Linguistic Research at Aberdeen. It was a ...

symfony 1.1 and 1.2

Sunday, July 20th, 2008

symfony 1.1 went live just a month or so ago, and in the relatively short history of symfony is somewhat of a revolution. In fact, the shift in a minor version number belies the effort and heartache that seems to have gone into the newer version, and one wonders at the ...

symfony’s sfGuard plugin and LDAP

Sunday, June 29th, 2008

A while ago I needed to hook up symfony's excellent sfGuard plugin to some LDAP functionality. There are a couple of issues with the plugin and the readme which I think need fixing. In particular, there is no support for checking both LDAP and standard sfGuard passwords. This is absolutely essential ...

mini symfony

Monday, June 2nd, 2008

I recently read this post by Francois Zaninotto (recently an ex-core symfony developer) about modifying symfony to make it lightweight enough for ajax calls. As he puts it: That's when the idea of a "small symfony" comes. Wouldn't it be great if you could get access to the model layer, the configuration, ...

Zaninotto

Sunday, May 18th, 2008

Looks like Francois Zaninotto, one of the core symfony developers, has quit the team. He was largely responsible for the documentation, and co-authored the excellent symfony book, published by Apress. One of the key successes behind symfony was the documentation. The fact that there was human-readable documentation, and not just an ...

symfony admin generator

Monday, May 12th, 2008

The symfony admin generator is one of the best features of the framework. With just a couple of commands and a few changes to a config file, you can have something pretty close to a database access interface. There's a simple built in security module, and sfGuard is fairly simple ...

symfony redirect vs forward

Sunday, May 11th, 2008

I've found the distinction between redirect() and forward() a little tricky to draw. It always seems to sound obvious until you need to use them. I found a nice article here http://firebird84vn.wordpress.com/category/symfony/. To quote: The choice between a redirect or a forward is sometimes tricky. To choose the best solution, keep in ...

symfony and LDAP

Thursday, May 1st, 2008

I've recently been looking at the essential (ie why isn't it included in the core?) symfony plugin sfGuard. It offers are really nice, simple way of building a simple user, role, and permissions system into your symfony app. The great thing is that with a little tweaking (documentation not great) you ...

symfony routes

Monday, April 28th, 2008

Routing rules in symfony are a way of getting simple url's looking the way you want. So rather than ugly things that show everyone how your system works like: matthewbull.net/index.php?id=3&detail=false&category=true&year=2008 you can have things like: matthewbull.net/id/3/detail/false/category/true/year/2008 Even better than that, using symfony's routing system allows you to completely decouple a url from your code. ...

symfony

Wednesday, April 23rd, 2008

I've recently been deploying some symfony (http://www.symfony-project.org/) applications at The University of Kent. I'm pleased with the results. Symfony is an MVC framework, along the lines of Ruby on Rails, but based on PHP5. It is widely used, including yahoo bookmarks: http://www.ysearchblog.com/archives/000376.html and the beta of the new version of del.icio.us: http://www.symfony-project.org/blog/2007/10/02/delicious-preview-built-with-symfony Why? So why did I ...