Magento Question:

Download Job Interview Questions and Answers PDF

Explain the difference between Mage::getSingletone() andMage::getModel() in Magento?

Magento Interview Question
Magento Interview Question

Answer:

Mage::getSingletone() always finds for an existing object if not then create that a newobject but Mage::getModel() always creates a new object.

Download Magento Interview Questions And Answers PDF

Previous QuestionNext Question
What are the categories of modules hosted?What are the benefits of namespace (package) in magento?