On 1/29/11 9:43 AM, Benjamin Eberlei wrote:
Hello everyone,

now that we have a recommended bundle naming discussed i see a problem with the unique extension alias. Since by 
definition bundle names have to be unique across all instances of all bundles in this world so have to be the extension 
aliases. But this leads to ugly constructs like "doctrine", "doctrine_odm", 
"doctrine_couchdb", "doctrine_migration" that all only have 1 or 2 config load methods. I would 
really the requirement extension alias + config load method to be the unique identifier here, so that we could do 
something like:

doctrine.dbal: ~
doctrine.orm: ~
doctrine.mongodb: ~
doctrine.migrations: ~
doctrine.couchdb: ~

By resetting "doctrine" as extension alias over and over.

What do you think?

This is indeed a nice idea but that won't work for XML based configuration as you can only have one XSD for a give XML namespace (correct me if I'm wrong here).

Fabien

greetings,
Benjamin


--
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 [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

Reply via email to