What is FluidTYPO3 general approach towards database access?
We really like to create content elements with fluidcontent, but sometimes we lack the option to prepare some variables for the template. In our current project we use Viewhelper to get records from the database, but of course that's far from best practice (though it works nicely).
I thought it would be nice I was able to create Controller classes based on naming conventions, e.g. I have a Downloads.html
fluidcontent template and create a controller in Classes/Controller/Content/DownloadsController
which extends fluidcontent's ContentController and gives me the ability to prepare template variables.
What do you think? What's your approach towards this?