I am newbie to Magento? I want to know how CakePHP and Magento differs. I have found most of the common folder structure. What is the relation between Zend and Magento? Kindly ignore if question repeats.
They differ in many ways...and they are the same in some ways.
I have never used cakePHP. It is a framework.
So is Zend.
They are both based on the MVC pattern, hence the similarity in their structure (this is an assumption based on your comment regarding the folder structure, as I had never looked at cakePHP)
Zend and cakePHP would be considered the same thing, allowing you to create software. That software can be anything, within limits of the common language, which is of course PHP.
Magento is based on zend. There is your relation.
Magento is also a framework, based on another framework, for one specific purpose: building e-commerce sites.
Hope that clarifies, and obviously anyone please correct me if I got it wrong.