[TYPO3-dev] Hook in sys_template parsing

Loek Hilgersom hilgersom at xs4all.nl
Mon Feb 8 13:14:08 CET 2010


Hi Bernard,

Bernhard Kraft wrote:
>> I've been storing TS in files for a while, and I like especially the 
>> fact that you can put it in SVN, but there are other disadvantages 
>> that made me switch back to the normal database stored templates.
> 
> Which disadvantages?

1. Changes in TS templates stored in files only get applied after clearing 
configuration cache or all caches (IIRC), even when you set config.no_cache = 1 
for development purposes. During development, I found that irritating and I 
haven't found a workaround for that.

2. When I have to make an adjustment in a template when I'm not behind my own 
computer, I find editing a template in the backend easier than editing text 
files on the server.

Of course there are ways to deal with point 2, but the combination of the two 
made me go back to database stored templates for most projects.
If there is a solution for point 1, then I may decide to revert to files again, 
SVN is a huge plus of course.

Cheers,
Loek




More information about the TYPO3-dev mailing list