1. SAP Glossary
  2. Business Server Pages
  3. Model View Controller


What is Model View Controller in SAP BC-BSP - Business Server Pages?


SAP Term: Model View Controller

  • Component: BC-BSP

  • Component Name: Business Server Pages

  • Description: Model View Controller MVC paradigm Controller-based solution that makes it easier than before to separate the application logic and the presentation logic in BSP applications. The data is displayed using views. Initialization and request processing is not bound to the page but is transferred to a controller class. The familiar model based on the event handler that was always used for implementing pages is still supported and can even co-exist within the same BSP application with the MVC solution.


Smart SAP Assistant

  • Key Concepts: 
    Model View Controller (MVC) is an architectural pattern used in software engineering to separate the application logic from the user interface. It is a three-tier architecture that consists of a model, view, and controller. The model is responsible for managing the data, the view is responsible for displaying the data, and the controller is responsible for responding to user input and manipulating the model and view accordingly. 
    
    How to use it: 
    The Model View Controller (MVC) pattern can be used in SAP Business Server Pages (BC-BSP) to create web applications. The model layer contains the business logic and data access components, while the view layer contains the presentation components such as HTML, JavaScript, and CSS. The controller layer contains the logic that responds to user input and manipulates the model and view accordingly. 
    
    Tips & Tricks: 
    When using MVC in BC-BSP, it is important to keep in mind that the model layer should be kept separate from the view layer. This will help ensure that changes to one layer do not affect the other. Additionally, it is important to keep in mind that MVC is an architectural pattern and not a programming language; therefore, it can be implemented using any programming language. 
    
    Related Information: 
    For more information on Model View Controller (MVC) and how it can be used in SAP Business Server Pages (BC-BSP), please refer to SAP’s official documentation on MVC. Additionally, there are many tutorials available online that provide step-by-step instructions on how to implement MVC in BC-BSP.
    • Do you have any question about this SAP term?


      Upgrade now to chat with this SAP term.

Related SAP Glossary Terms

Click the links below to see the following related SAP glossary terms:
Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author