what is the difference between Mage::getModel() and Mage::getSingletone() in Magento?

Mage::getModel(): It always creates a new object.

Mage: :getSingleton(): It always look for an existing object and if not then creates a new object.

Gaurav Kumar

Hi, my name is Gaurav Kumar and I specialize in Computer Software industry. I have been working as a Software Developer from last 3+ years,and its my passion to learn new technology and sharing what I've learned.