1

Sorry for the noob question, but still I would like to clarify for yourself exactly why Mogento2 uses XML configurations, it is because of the protocol's REST?

1 Answer 1

0

This has nothing to do with RESTfulness or the like. I think Varien has chosen XML for its configuration to allow for a flexible therefore extensible, textual, standardized representation. Since you can override almost any configuration within your own modules, the main rationale behind using XML may have been the ability to easily add to, delete from, change and especially MERGE nodes of the config DOM when combining the scattered configuration sources (which may be files or database entries).

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.