The new blog

Posted on 8th November, 2010 | Tagged:

This is the 3rd blog application I've written in three years for three different personal homepages.

This one is influenced by Wordpress. Technically lifewas made easier by Doctrine's sfDoctrineActAsTaggable and Sluggable behaviors (the first is a Symfony plugin, the later a core behavior.

The blog also uses the PHP Markdown markdown parser. Which makes writing blog posts far less tedious.

For the comments I tried some existing plugins but they offered too much, for example the good but rather hefty vjCommentPlugin. In the end I managed to write a comment system from scratch in about 30 minutes complete with an admin panel (thanks to the admin generator and form framework).

Whilst as was at it I also optimized my feed aggregator (the list of items on the left) to use the Symfony cache system. The aggregator was pulling down the RSS feed from my travel site for each page request, and as my server is sometimes very slow the page took a long time to load. By caching the component that displays the sidebar I cut-out the expensive external call and also some less-expensive DB calls for the tag cloud.

Comments

And do comments work?

Posted by Dan Leech, 8th Nov 2010
If this text appears, then I would say "yes"

Post new comment


type "i hate spam" in UPPER CASE

Tags

10 Latest Items