Providing a RSS or Atom feed based on a Database request on a table of Post requires more or less always the same code. The symfony framework writes this code for you, so that the development of a RSS feed in PHP takes only a couple minutes.
(Via GoodPHPTutorials.com RSS Feed.)