Review main Abandoned

33867[RFC][WIP][FEATURE] Package configuration in single files

Christian Kuhn CR 0 V 0 Normal +165 −2 updated 01/31/15, 17:14

Commit message

Transform TYPO3_CONF_VARS/EXT/extConf/someExtension = aSerializedArray
to single PHP files sitting in typo3conf/PackageConfiguration/someExtension.php,
stored as simple key/value array.

Add a simple object API to access and update those configurations,
example on how this could look like is done in ext:scheduler/ext_localconf.php

TODO: Add a compat layer to TYPO3_CONF_VARS/EXT/extConf/ as object
returning the former nested array structure, similar to
Core/Compatibility/LoadedExtensionsArray solution that mimiks old "extList".

TODO: Add a silent upgrader to transform current values in extConf
to files.

TODO: Clean up snafu code in current extConf handling, eg. in em.

Main advantages:
* Simplification of current code like the stuff in
ExtensionManager\Utility\ConfigurationUtility
* Extension values can be very easily manipulated and deployed, no
more fiddling with serialized arrays, but configuration in human
readable single files as flat PHP array, similar to LocalConfiguration
and PackageStates strategies.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 5