Fluid is the next generation templating engine, that will be used in TYPO3 v5 (Phoenix). It was backported to TYPO3 v4 so everyone can enjoy the advantages of a full templating engine. But what are those advantages?
First of all, it is easily possible with fluid to separate view logic from other parts of the application. With traditional templating you often see functions fetching data, then looping over it, putting everything in a classic subpart whilst doing the complete logic in the same step. Of course this is bad coding style and a good coder would separate it more, but you'll always have some functions that are doing "view stuff". Let's have a look at a small example:
Read more