[TYPO3-core] Discussion: Remove default columns in favour for backend_layout

Jigal van Hemert jigal.van.hemert at typo3.org
Thu Jul 19 15:44:46 CEST 2012


On 19-7-2012 13:24, JoH asenau wrote:
> So IMHO we should provide a method that gets the selected backend layout
> and sets the value in the data array according to either DB or TSconfig.
> And as Helmut already pointed out this could be triggered with a simple
> switch, to avoid performance issues.

This will lead to more confusion and/or more code:

- the wizard is only for DB BE layouts. The integrator either misses the 
wizard completely (if it is also disabled if the switch says TSconfig) 
or the wizard doesn't work (because the DB records are simply ignored)
- there is a wizard for both DB and TSconfig base BE layouts. More code 
to maintain and to keep in sync
- TSconfig BE layouts are enabled. An extension can add BE layouts, but 
an integrator cannot add DB BE layouts
- DB BE layouts are enabled. An extension which tries to add BE layouts 
doesn't work
- extension switches from DB BE layouts to TSconfig BE layouts. The BE 
layouts created by the integrator don't work anymore.

I'm still in favour of either DB base or TSconfig base BE layouts.
In case of TSconfig, the wizard must be changed and an Install Tool 
upgrade wizard must be made.

Jigal van Hemert
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

More information about the TYPO3-team-core mailing list