cancel
Showing results for 
Search instead for 
Did you mean: 

create separate file for plugin.xml ,preference.xml,type.xml,virtualtype.xml

0 Kudos

create separate file for plugin.xml ,preference.xml,type.xml,virtualtype.xml

present di.xml file contains preferences,plugins,types,virtualtypes.i think its better to create separate file for each concept.
advantages: present no idea.i will try to figure it out.just suddenly i got idea like this.because magento following for other xml files like this.for example routes.xml,events.xml.

1 Comment
M1 Certified
Don't like it. Too many XML files. There's enough of them already. It'll only confuse developers and make PHP work slower, opening more files than necessary. Think of advantages _before_ posting.