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
Describe PHP error and logging information?
How we get ip address of client, previous reference page etc?
How many php functions are there?
How error handling is being handled by php?
What is csrf cookie?
What is html used for?
What is alias in php?
Explain briefly about a search-friendly site looks like?
How to retrieve the original query string?
How many types of arrays are there in php?
How to get the value of current session id?
What is get and post method in php?
Can we extend final class in php?
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
What is the use of extract function in php?