Prep dump for taking a lecture on MVC + Design for first yearites in SDSLabs.
- Not a Folder Structure !!
Intro to architectures
https://medium.com/@victornkpubre/understanding-software-engineering-architecture-clean-mvc-mvp-mvvm-8068db755153
What Is Wrong With Model-View-Controller (cocoacasts.com) (MVC vs MVVM)

MVC

MVVM

MVP
Intro to GO
- Why go?
- basics of go.
- go build/go run
- go install : putting in an executable path ?
- GOBIN , GOPATH/bin , if not then HOME/go/bin
go mod init github.com/ashpect/go-mvc
- The go. mod file lists the specific versions of the dependencies that your project uses. The go. sum file provides checksums for the exact contents of each dependency at the time it is added to your module.
- What is a package ?
- Go doesn't have classes, Go has types. Go doesn't use inheritance, Go uses composition.
- What is an interface ?
Overview of MVC
Controller : Contol Flow
Intercepts "requests" (such as HTTP), parses them and then calls the appropriate "Model", getting some kind of data as a result and then sends it to a "View".
Similar to views, a controller shouldn’t be packed with too much business logic
- Is it appropriate to call controller endpoints ?