These are my notes from my online training in Pluralsight.
MVC - design pattern for building interface; abstraction layer
Purpose: To separate the responsibilities of your components in your user interface layer.
- Model
- View - used as templates to control the placement of data. Important part to avoid scripting vulnerabilities
- Controller - does all the hard work. Relatively plain C# classes. You can instantiate them without having a web server or a web browser or an HTTP request running. Target of your external stimulus.
No comments:
Post a Comment