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 |
How to add a cookie?
What is implode() in php?
What is better .net or php?
How many keywords are there in php?
What are majic methords in php?
PHP serverside scripting language or client side scripting language>
Difference between array_combine and array_merge?
What is the timeout period on session values?
What is the use of extract function in php?
What are soundex() and metaphone() functions in php?
Apart from mail() function to send emails,is there any other functions in PHP to send emails?
What is $_ files in php?