How MVC works in magento [closed]
Asked Answered
S

4

12

Thanks for the previous replies.

I am new to Magento and don't know how MVC operates in this framework. I want to display "Hello world" using MVC format--i.e., the controller imports the string from the model and transmits it to the view for display. Can anyone give me an idea of how MVC works in Magento?

Selfridge answered 14/10, 2011 at 6:53 Comment(0)
S
21

This Magento MVC flowchart may assist

Suziesuzuki answered 27/12, 2011 at 9:37 Comment(0)
A
2

you can take the magento basics course for free today http://www.magentocommerce.com/services/on-demand

Actinochemistry answered 14/10, 2011 at 7:26 Comment(0)
A
2

The only thing different in Magento's MVC model that is different from other MVCs is the way it use Block. In normal MVC, variables are passed to the View through Controller. However, in Magento, Views get data from Block, and Block gets its data from Model.

Acrylyl answered 26/3, 2012 at 13:12 Comment(0)
T
2

As we know, the implementation of a “Tier Model” is a large part of an MVC framework. It represents the details of your application and handles data in applications. Magento Models play an even greater role, because they usually contain the “Business Logic”.

The Magento Object Relational Mapping (ORM) has very important role in the process of working with database. Here We will go deeply to understand ORM. You can follow:

Thaxter answered 11/5, 2012 at 3:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.