[TYPO3-core] RFC: compact flexforms

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Nov 7 15:51:15 CET 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> This is SVN patch request.
> 
> Branch: trunk only!
> 
> Feature: enable creation of compact flexforms (= without indentation 
> spaces and new lines). Make it configurable and set it to off by default.
> 
> This patch follows array2xml patch posted earlier.

+1 reading the patch.

> This option allows to save database space if the are many plugins that 
> use flexform configuration. Similar will go to templavoila.
> 
> Just an example: it saved 532 bytes for a single flexform with two 
> elements in it, 0.5Kb*5000records = 2500Kb=2MB of [useless] data for one 
> of my sites only for 'pages' table. Good improvement for daily backups. 
> Not very useful for small sites but large sites clearly can benefit.
> 
> While working on this patch I found two issues in Install tool:
> - if variable value is FALSE, it is displayed as empty in install tool, 
> so I had to use 0

Does it work if you have "// Boolean." at the beginning of the comment?

There are already a few TRUEs and FALSEs in config_default.php

Masi



More information about the TYPO3-team-core mailing list