architecture - ZF2 Skeleton and Doctrine ORM xml schema merge -


i using doctrine module orm functionality in zend framework 2. trying build modular architecture based on zend skeletton application makes possible override , extend functionality module in module b. have extend entities plugin in new module.

now problem xml schema entities static in module a. there no possibility override module b. thought of implementing service tells doctrine module find xml schema use specific entity, thats not enough.

for example when module b extends module module c extends module - xml schema use - module b or module c ? want build xml schema dynamically 2 or more schema files - 1 in module b , 1 in module c.

which best way realize such architecture ? approach write service can invoked modules collect xml schema files ? how tell doctrine merge these files ? there better way touching doctrine module - example in config file ?

@ibo_s no luck here. tried write adapter, way complicated , got stuck pretty fast there. in end duplicated entity dcm.xml's , used configuration overriding point correct one. gave on extending entities.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -