...

/

Model-Template-View Architecture

Model-Template-View Architecture

In this lesson, we will first describe the MVC architecture, since it makes understanding the MTV architecture easier. Then, we will briefly cover the MTV architecture that most Flask developers favor.

Introduction

The MTV, or Model-Template-View, architecture is a variation of MVC, or Model-View-Controller, architecture. We will not be covering both of these architectures in detail, as it an extensive discussion on its own. However, we will have a brief introduction to both.

The Model-view-controller (MVC) architecture

The MVC architecture is a software architectural pattern in which the application logic is divided into three components on the basis of functionality. These components are called: ...