Top Most Magento Interview Questions and Answers
Magento is a rich-feature e-Commerce open-source platform written in PHP, which provides online traders with an exceptional flexibility and control over the content, look and functionality of their e-commerce store.Magento offers powerful marketing, search engine optimization, and catalog-management tools.
Question 1: What architecture is used by Magento?
Ans: Magento architecture is a model–view–controller architecture.Each system is slightly different, but all have the goal of separating data access,business logic, and user-interface.
Question 2: How to upgrade to the latest version using Magento Connect?
Ans: Upgrading Magento to the latest version is a fairly simple task. Copy and Paste this key magento-core/Mage_All_Latest VIA Magento Connect where it states Paste extension key to install:. This will upgrade Magento to the latest version.
Question 3: Mention what technology does Magento use?
Ans: Magento use PHP as a web server scripting language and MySQL for database.
Question 4: Difference between Mage::getSingletone() and Mage::getModel() in Magento?
- Mage::getModel() will always return a new Object
public static function getModel($modelClass = '', $arguments = array()) { return self::getConfig()->getModelInstance($modelClass, $arguments); }
public static function getSingleton($modelClass='', array $arguments=array()) { $registryKey = '_singleton/'.$modelClass; if (!self::registry($registryKey)) { self::register($registryKey, self::getModel($modelClass, $arguments)); } return self::registry($registryKey); }
Question 5: Mention what are the basic features of Magento?
Ans: Basic features of Magento includes are:
- Reporting
- Analytics
- Site Management
- Product and Catalog Management Tools
- User Management
- Order Management
- Payment Management
- Shipping Management
- Business Intelligence
- powerful marketing promotions and Search engine optimization Tools
- Checkout management
- Support
Question 6: Mention what is the limitation of Magento?
- Runs on PHP, Enterprise style Java code – this means it takes up a lot of memory during processes
- Slow in performance
Question 7: How we can enhance the Magento performance?
- Disable the Magento log
- Disable any un-used modules
- Magento Caching
- Enable Gzip compression
- Optimize your image
- Optimize your Server
- Use a Content Delivery Network (CDN)
- USE Gzip Components
- Combine external CSS/JS into one file
- Avoid CSS Expressions
- MySQL Query Caching
Question 8: Why Magento use EAV database model ?
In EAV database model, data are stored in different smaller tables rather than storing in asingle table.product name is stored in catalog_product_entity_varchar tableproduct id is stored in catalog_product_entity_int tableproduct price is stored in catalog_product_entity_decimal tableMagento Use EAV database model for easy upgrade and development as this model gives more flexibility to play with data and attributes.
Question 9: Explain about the Modules of Magento?
Ans. Magento supports installation of modules through a web-based interface accessible through the administration area of a Magento installation. Modules are hosted on the Magento eCommerce website as a PEAR server. Any community member can upload a module through the website and is made available once confirmed by a member of the Magento team. Modules are installed by entering a module key, available on the module page, into the web based interface.
There are three categories of modules hosted on Magento Connect:
- Core Modules
- Community Modules
- Commercial Modules
Core and Community modules can be installed via the administration area. Commercial module pages provide price information and a link to an external website.