[FLOW3-general] Deactivate packages in certain contexts
Karsten Dambekalns
karsten at typo3.org
Mon Oct 29 10:34:51 CET 2012
Hi.
On 26.10.12 15:22, Bastian Waidelich wrote:
> I think it's a valid use case to have some packages only available in
> certain contexts.
This generally makes sense, absolutely. We have to think about what
possible uses cases might follow. One would be a different version of a
library in a certain context - change packagePath and you're set - as
discussed looong ago.
I see another option in addition to your solution of adding the context
inside PackageStates.php - and that would be to handle it like other
settings - per context-directory files. Those could either be used
instead of the global one or merged like Settings.yaml (the former is
technically easier!).
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, Neos / Flow Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list