What is MVC structure in Magento?
Answers were Sorted based on User's Feedback
Answer / bhupendra
The MVC stand for model view Controller, it is A designe
pattern which is use to Designe architecture of high level
of programming.
Is This Answer Correct ? | 18 Yes | 5 No |
Answer / 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 |
Answer / sharad sinha
MVC structure means MODEL VIEW CONTROLLER..it is a design
pattern to develop an application as a specific model view.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / ravi pratap
The Model-View-Controller (MVC) architecture traces its
origins back to the Smalltalk Programming language and Xerox
Parc. Since then, there have been many systems that describe
their architecture as MVC. Each system is slightly
different, but all have the goal of separating data access,
business logic, and user-interface code from one another.
Is This Answer Correct ? | 5 Yes | 7 No |
What advance thing in php7?
Tell me which programming language does php resemble to?
What is an array in php?
Tell me what are sql injections, how do you prevent them and what are the best practices?
Can we extend final class in php?
Does PHP 5 support exceptions? State Whether True or False?
What is uniqid php?
Is php dying 2018?
Explain how can we increase the execution time of a php script?
How can we create a database using PHP and mysql?
Tell me how can we connect to a mysql database from a php script?
How do you identify independent and dependent variables in regression analysis?