Skip to content

Instantly share code, notes, and snippets.

@jianminchen
Created July 25, 2020 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jianminchen/bcbce01c09a71dc6362473364fb5e971 to your computer and use it in GitHub Desktop.
Save jianminchen/bcbce01c09a71dc6362473364fb5e971 to your computer and use it in GitHub Desktop.
System design - lesson one - July 25 2020
2:51 PM
How would you build a website for a bakery?
Breakfast foods, croissants, bread
Category - website
10 - 20 people max a day
20 - 30 products
Category - price, product in detail <-
Should write down -
JavaScript array - static page - html - page - > write JavaScript array
Html - separate - Javascript - html -
Product - host - > technology -> IIS server, ASP.NET -> client -> webservice in back end
MVC - prototype
Advantage - MVC - view-controller-model
Model-where the data lies, business logic
View-UI
Controller-dispatcher b/w model & view, get/put/post HTTP
Scalability - MVC - disadvantage of MVC
Web services - web form
Microservice
Microservice -
Architecture - > microservice
3:03 PM -
What went well?
I communicated with interviewer, gathered requirement, interviewer actively gave me feedback, asked challenge
Microservice, why this technology
MVC - gave good reason
What would you differently?
Try my best, explain things clearly.
I agreed with you.
https://www.tutorialsteacher.com/mvc/mvc-architecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment