1) What is Magento?
Magento is an open-source content management system.
It is used to create e-commerce websites.
It is developed by Varien ,Inc, a US private company headquartered in Culver City, California.
It provides online merchants with unprecedented flexibility and control over the look, content and functionality of their e-Commerce store.
2) What architecture Magento use?
Magento uses MVC (Model View Controller) architecture.
3) What are the various edition of Magento?
Magento have various edition that are given below:
- Magento Community Edition
- Magento Enterprise Edition
- Magento Professional Edition
- Magento .go
4) What are the disadvantage of Magento?
There are various disadvantage of Magento:
- It uses larger disk space and memory.
- It takes much time to build the customized functionality.
- It is very slow compared to other E-commerce sites.
- It needs proper hosting environment, if the hosting environment is improper the user can face the problems.
5) Why Magento is used?
Magento is used because:
- It is open sources E-commerce software.
- It is easy accessible and offer companies to build business.
- It provide the searching and sorting of products in different ways.
- It is easy to integrate with third-party sites which are needed to run effective E-commerce website.
- It provides customer to order or purchase number of multiple products.
6) How can we enhance Magento performance?
We can enhance the Magento performance by performing following tasks:
- Disable the Magento log
- Disable any un-used modules
- Magento caching
- Optimize image
- Optimize server
- It uses CDN (Content Delivery Networks)
- Put Stylesheets at the top
- Put script at Bottom
- Avoid CSS Expressions (eg 100/2)
7) Which technology Magento use?
Magento uses multiple technologies that are given below:
- PHP (Zend Framework)
- MYSQL/MYSQLI and MongoDB (Database)
- CSS
- JavaScript
- HTML
8) What are the differences between Mage::getModel () and Mage::getSingleetone() in Magento?
- Mage::getModel(): It is used to creates new objects.
- Mage::getSingleton(): It is used to find a new object if existing object is not created.
9) What are the basic features of Magento?
Magento has various features that are given below:
- Reporting and Analytics
- Product and Catalog Browsing
- Customer Accounts
- Oder Management
- Payment
- Site Management
- Shipping
- SEO( Search Engine Optimization) etc.
10) What are the limitations of Magento?
Magento faces various limitations that are given below:
- Disable the Magento log
- Combine external CSS/JS into one file
- Disable any unused modules
- MySQL Query Caching
- Enable Magento caching
- Enable Gzip compression
- Optimize your image
11) What is EAV?
Magento EAV
(Entity-Attribute-Value) data model is used to get flexibility for our data. It is a model entity but brings more complexity than relation table model.
12) How does Magento ORM works?
ORM stands for Object Relational Mapping. It is a programming language technique that is used to convert different types of data into objects and vice versa.
There are two types of ORM:
- Converts different types of data into objects.
- Converts objects to various types of data.
13) How many tables will be created in EAV module in Magento?
EAV module will create six tables in database.
These are given below:
- module
- module_datetime
- module_decimal
- module_int
- module_text
- module_varchar
14) What is the folder/file structure of Magento?
Magento follows the following project structure.
15) How CMS page is call in our Module's PHTML file?
We can use the following code for calling CMS page.
$this->getLayout ()→createBlock('cms/block')→setBlockId('blockidentifier')→toHtml();
16) How to run custom query in Magento?
Magento use given command to run custom query:
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
$result=$db->query('SELECT * FROM users where id=4');
17) How can we add/remove content from core's system.xml file in Magento?
In Magento, we can do this by overriding system.xml configuration file which is given below:
<config>
<sections>
<catalog>
<groups>
<frontend>
<label>Overriding Catalog Frontend in system config</label>
</frontend>
</groups>
</catalog>
</sections>
</config>
<config>
<sections>
<payment>
<groups>
<cashondelivery>
<fields>
<!--changing cash on delivery payment method settings-->
</fields>
</cashondelivery>
</groups>
</payment>
</sections>
</config>
18) What are magic methods in Magento ?
Following are the magic methods of Megento:
_call()
_get()
_set()
_uns()
_has()
_isset()
_toString()
_construct() etc
19) Where do we write business logic in Magento?
We can write business logic
inside the Model class of Magento.
20) What are the different modules of Magento?
Magento has three major module that are listed below.
- Core modules
- Commercial modules
- Community modules
20) What are Polls in Magento?
Polls are used to get customer's opinions and performances, polls results appear in immediately after response it submitted.
21) How can we make Magento more secure for the client?
We can follow following instructions to make Magento more secure for the client:
- Use a strong password and change them at regular interval.
- Disable remote access to Magento Connect Manager.
- Disable Downloader on production sites.
- Restrict access to safe IP addresses.
22) Is it possible to have more than one grid in Magento?
Yes, it is possible. Magento supports multiple grid system.
23) How many design patterns in Magento ?
Magento supports various design patterns that are given below:
- Model View Controller Pattern
- Front Controller Pattern
- Factory Pattern
- Singleton Pattern
- Registry Pattern
- Prototype Pattern
- Object Pool Pattern
- Iterator Pattern
- Lazy Loading Pattern
- Service Locator Pattern
- Module Pattern etc.
24) How we can reset Magento file & Directory permissions?
We can reset Magento file & Directory to their default and secure permissions. the given following command are:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod +x mage
25) What are Magento product types?
- Magento simple product: It is used for a single item without any specific selectable variations. For example, a pen, copy etc.
- Magento grouped product: It is used for a combination of Magento simple product. For example, a pen and copy together.
- Magento configurable product: It is used for a single item with specific selectable variations. For example, a pen with different color options.
- Magento virtual product: It is used for a virtual item or non touchable item. For example, reservation, insurance etc.
- Magento bundle product: It is used for a bundle of simple products. For example, laptop with various items such as processor, hard disk, RAM etc.
- Magento downloadable product: It is used for online software items. For example, PowerPoint presentation, MP3 files, servers etc.
26) How many types of sessions are there?
There are three sessions in Magento:
- customer session
- checkout session
- core session
27) What are the web hosting sites of Magento?
There are various web hosting sites of Magento:
- SiteGround
- BlueHost
- HostGator
- Inmotion
- Arvixe
- site5
28) What is Payflow Pro in Magento?
In Magento, the Payflow Pro is customizable payment gateway. It is used to manage the credit card transaction of merchant account.
29) What is WSDL?
WSDL stands for Web Services Description Language. It is used to describe the web Services and how to access them.
30) What database does Magento support?
Magento supports MySQL database.