Magento Interview Questions – Set 04

Describe various versions of Magento.

Following are the different versions of Magento:

  • Magento Enterprise Edition
  • Magento Community Edition
  • Magento Professional Edition
  • Magento .go Edition

State the syntax to call a CMS page in your module’s PHTML file.

$this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘blockidentifier’)->toHtml();

Can all billing information be managed through Magento?

You can do the following things through client Magento account:

  • You can update your billing address.
  • You can add a credit card.
  • You can view your billing history.
  • You can add a PayPal account.
  • You can produce a print ready receipt.

How can you make Magento more secure for client.

You can use following instructions to improve the security of magneto.

  • Have some complex passwords and change them time to time.
  • Do not let the Magento Content Manager remotely accessed.
  • Don’t provide the download facilities on production sites.

List the magic methods in Magento?

Magic methods in Magento:

  • __get()
  • __set()
  • __isset()
  • __call()
  • __tostring()
  • __construct()
  • __has()
  • __uns()

Explain the difference between Mage::getModel() and Mage::getSingletone() in Magento.

Mage::getModel(): It creates a new object.
Mage::getSingletone(): It first checks the existence of object and if object doesn?t exist, then it creates a new one.

Explain compilation feature in Magento?

Compilation feature allows us to compile all Magento files to create a single include path to increase performance.

Explain the architecture of Magento.

Magento is a typical MVC application where controller remains at one place while the models at the other.

When you need to clear the cache to see the changes made in Magento?

When you have added or modified XML, CSS or JS files.

What are the advantages of applying Connect Patches in Magento?

In Magento, applying Connect Patches provides following features:

  • Enable easy installation of packages with installation and overwrite any existing translations for the same time
  • Enhance security, by default Magento Connect uses HTTP to download extensions instead of FTP
  • Facilitate the extension developers to create new extensions with a dash character in the name
  • Magento administrators will be informed now who tries to install an extension with insufficient file system privileges.