Answer Posted / manmohit verma
MVc Structure Called Model View Structure in model view
controller method we have separate files or classes
according to their functional tasks.
Model Refers to the files which communicates with data base
to get info from the database. In magento we have these
files under model folder of every model whether its
core,local or community magento module. Under model folder
we have its model files to get or set data to databse
View Refers to the Files which is displayed to the end user
or client .In magento .phtml files which are in the
app/design directory structure works for View task of MVc
structure .phtml integrates both php and html to produce
output to end user
Controller are controlling files which decides the actions
between model and view files what output to be generated
these files are under controller folder and manages the url
structure for magento if you don't define the controller
for the a particular url you will be re directed to 404 page
not found default page of magento
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the importance of "action" attribute in a html form?
What is final class and final method?
Which operator is used to combine string values in php?
Differentiate between require and include?
What php framework does wordpress use?
What are advantages of .htaccess?
how can i develop forum code? any one pleale help me on this question
What is array filter in php?
Explain Creating and Naming an Array?
What is a simple php method to make a cross domain data request?
What is the use of pear in php?
Explain how can php and javascript interact?
What is $_ get?
How to find the position of the first occurrence of a substring in a string?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?