| ▲ | lateforwork an hour ago | |
M stands for Model layer. This layer handles business logic and knows nothing about UI. It does not have any html or CSS. V stands for View. This layer handles HTML and CSS. You can use React here. C stands for Controller. Controllers know about Views and Models and which model objects to instantiate for which view. It makes REST API calls and does caching, and handles errors. Controllers know about the application state and decide what page to display next. For an application written in this style see: https://github.com/wisercoder/eureka/tree/master/webapp/Clie... (This app doesn't use React, but does use TSX, and you could use React as well). | ||