Today we will go over What exactly is a Magento and where it started. Also I talk about a quick overview of the Magento Dashboard and some of the metrics and visualizations you will see by Mike Cristancho @ TheDigitalPM.com Magento is owned by eBay Inc and was started in…
Q. What is the difference regarding module loading between Mage::run() and Mage::app()?
– Mage::app() :: Get initialized application object. It provides all those required variables, objects which are required to access magento functionalities out of magento boostrap i.e. index.php.
Mage::run() :: Frontend entry point which means it loads the configuration files, modules configuration, load Database. This constructs all of the necessary xml data in configuraiton tree object.
Mage::app() – Initialize application without request processing.
Mage::run() – Run application. Run process responsible for request processing and sending response.