MVC in Pimcore

In terms of sending output to the frontend, Pimcore follows the MVC pattern. Therefore it is crucial to know the fundamentals about the pattern in general and the specifics in combination with pimcore.

MVC is a standard software design pattern for web applications and separates the code into the following components:

  • Model – defines basic functionality like data access routines, business, etc.
  • View – defines what is presented to the user (the “template”)
  • Controller – Controllers brings all the patterns together, they manipulate models, decide which view to display, etc.

If you don’t know the MVC pattern please read this article first.

The MVC module of Pimcore built on top of the Zend Framework. If you are new to the Zend Framework or the ZF MVC you can read about controllers in the Zend Framework manual. With this knowledge learning Pimcore will be much easier and faster.

Add a Comment

Your email address will not be published. Required fields are marked *