> It's about maintainable environments for multiple symfony projects (based 
>> on a globale core, e.g. a product).
>
>
> Thats exactly why I'm asking: "Core" sounds like "CoreBundle" to me :)
>

I should probably say: "a core configured with global configs"


OK, interesting :D When it's only about the config, why not simply import 
> it like in
>
> # app/config/config.yml
> imports:
>     - { resource: parameters.yml }
>     - { resource: ../company.yml } # <--- :)
>     - { resource: security.yml }
>


There should be 1 company.yml, not a 100 =) now it should be symlinked 
(which is probably OK with composer script handlers).

However each project still imports company.yml hardcoded in the project 
config, which can become a pain in the ass maintenance-wise.


Must say I still don't know exactly what you are concrete talking about. 
> You say "configuration", but at the end, there is exactly _one_ 
> configuration, that imports everything else.
>
 
Well.. therefor the discussion ;) what if symfony supports _multiple_ 
configurations out-of-the box... consider the following architecture;

/global/app/config.yml
/sites/domain.com/www/app/config.yml

The concept here is that the site config inherits from the global config 
out-of-the-box. Simply because /global/app en /sites/.../app are used as 
base paths (FYI: Config/FileLocator already supports multiple paths to look 
for resources).


for everything below app/Resources you should really consider a bundle
>

The beauty of the app folder is I can overwrite resources from all bundles 
project-specificly. As far as I know 1 bundle cannot overwrite resources 
from many other bundles... right?

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to