Closed fritzmg closed 4 years ago
Well that implies that someone using the contao/managed-edition
is also a developer?
Anyone who creates a website is a web developer (no matter the skill level), isn't it? ;)
Also, if your point is, that not everyone using Contao has enough of a skill set to implement a hook for example: by that logic we would also need to remove
But why make everything harder for everyone, when we can make it easier for everyone? ;)
As discussed in Mumble on August 29th, we do not want to add the configuration to the managed edition but to the manager bundle (so it is updated automatically). Additionally, we need a flag to disable adding the configuration.
@fritzmg I think we can close this issue now that contao/contao#1165 has been merged, can't we?
I think it would make sense if the skeleton of the Contao Managed Edition also provides the following files:
Since the Contao Managed edition already has the appropriate autoloading configuration in its
composer.json
for theApp\
namespace, this would allow every user to quickly write hooks & callbacks, especially now that we have support for annotations, by simply creating one file, without having to do any additional configuration.I am not sure if the
config.yml
is actually needed in Contao 4.8+ (in Symfony Flex, all the config files in/config
are loaded automatically; may be we can even provide a defaultroutes.yml
for annotated routes?).