magento - Why does XmlConnect depend on so many modules? -


i trying disable of magento's core modules stripped-down store. got error saying xmlconnect relies on 1 of modules had disabled. pulled module xml file xmlconnect , saw frightening list of dependencies:

<depends>     <mage_checkout />     <mage_paypal />     <mage_usa />     <mage_tax />     <mage_weee />     <mage_catalog />     <mage_catalogsearch />     <mage_cataloginventory />     <mage_bundle />     <mage_wishlist />     <mage_rating />     <mage_review /> </depends> 

given such critical modules catalog , checkout depended on xmlconnect, it's impossible disable, , therefore impossible disable not-always-necessary modules wishlist , review.

why xmlconnect depend on many incidental modules? possible these dependencies backwards? safe remove them?

assuming you're talking mage_xmlconnect module located @

app/code/core/mage/xmlconnect 

then has "frightening" list of dependencies because module has "frightening" amount of functionality.

the mage_xmlconnect module implements backend magento mobile's phone based store applications. (if you're clever use your own mobile application). depends on modules because uses objects modules implement functionality.

while wasn't part of team built magento mobile application, assume there requirement include wishlist items , reviews, therefore mage_xmlconnect module depended on review , wishlist modules. theoretically magento mobile application have been split multiple modules itself, each module added magento has performance implications, complexity implications. given pace magento team needed work @ at time, it's easy see why chose implement in single module.

it's important remember that, while possible disable modules, magento never engineered goal in mind. in practice module system exists more prevent code pollution between modules, , allow multiple teams (or individual developers) work on features without impacting other developers. isolating functionality of each module system run independent of particular module neat — there have been little roi varien/magento inc. in doing that. therefore wasn't done. may not it, that's how software commercial/business implications developed.

if want use mage_xmlconnect, need have other module enabled. however, mage_xmlconnect not strictly needed run store, , can (likely) safely disabled.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -