0%

11. MVC

  • Linux ‘/‘ path

  • GET / POST
    adrian0220.tistory.com/209

Error Handling

try {// something that might go wrong} catch (e) {// handle error}

MVC

model: starting making logics from here
controller: conductor of orchestra, router
receive the request
the only part to communicate with the outside part
coming to the controller
sending from the controller
knowing who to call and packages the content, send it to the outside
view: html structure filled in template with no data
send the filled template back to the controller
.gitignore : files to be ignored when creating a repo

npm handle-bars
programmingsummaries.tistory.com/381