Any blockchain application for Hyperledger Fabric follows the MVC-B architecture. This is based on the popular MVC design pattern. Components in this model are Model, View, Control, and Blockchain:
- View logic: This is concerned with the user interface. It can be a desktop, web application, or mobile frontend.
- Control logic: This is the orchestrator between the user interface, data model, and APIs.
- Data model: This model is used to manage the off-chain data.
- Blockchain logic: This is used to manage the blockchain via the controller and the data model via transactions.