Here is what I ended up implementing as a solution to my problem:

https://github.com/opensky/OpenSkyRuntimeConfigBundle

I was waiting to finish up the documentation before sharing, as I'm sure
it'd be completely unintelligible without it ("wtf is this for?"). With the
documentation, it's hopefully only moderately unintelligible :)

Two take-aways from making this:


   - YAML doesn't support anonymous service definitions; only XML. Jordi
   suggested I tackle that as a PR, so perhaps.
   - While researching the DI parameter situation, I came across the External
   
Parameters<http://symfony.com/doc/2.0/cookbook/configuration/external_parameters.html>cookbook
article. While there are several methods presented for loading
   parameters (fetching from a DB is even suggested), I think they would all
   end up dumped in a compiled/cached container, which takes me back to the
   original problem. I think there is definitely a case to support truly
   dynamic parameters at the container and dumped-container level, so I will
   likely pursue that as a PR against Symfony2 when time allows.


-- 
jeremy mikola

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to