I've been diving into Magento for last 3 months. I've understood pretty much the app/design-- part of it. But now when i try to look into module development, that look like a really scary part. I've gone through some good articles on module development basics, and have got some surface idea of that, but still when i see code like this, I get blank.

public function viewAction()
    if ($product = $this->_initProduct()) {
        Mage::dispatchEvent('catalog_controller_product_view', array('product'=>$product));

        if ($this->getRequest()->getParam('options')) {
            $notice = $product->getTypeInstance(true)->getSpecifyOptionMessage();

        Mage::getModel('catalog/design')->applyDesign($product, Mage_Catalog_Model_Design::APPLY_FOR_PRODUCT);


I've a decent knowledge of PHP. But I don't have much understanding of MVC frameworks. Should I keep on digging into module development, or should i first learn MVC frameworks like Zend, and then come to magento. Is that step really required?

closed as primarily opinion-based by Sander Mangel, Fabian Blechschmidt, Marius, user487772 Dec 9 '13 at 11:20

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.


You will need a good understanding of OOP and maybe a basic knowledge of MVC might come in handy. But in this case I would suggest find a good book about Magento programming to get better knowledge of how it works

Not the answer you're looking for? Browse other questions tagged or ask your own question.