2024 01 25 - TheEvergreenStateCollege/upper-division-cs-23-24 GitHub Wiki

Week 03 - Day 08

25 Jan 2024 - Thursday

Web Front-End Morning Session

Workflow for Studying and Assignments

graph LR;
    Canvas ---> Learner;
    FrontEndMasters ---> Learner;
    Learner ---> GitHubMonorepo;
    Learner ---> CodeInterview;
Loading
image
  • Model-View-Controller (MVC) Paradigm
    • Data model: what is the seed / bare bones data, what is persisted in SSD / storage, the database schema
    • View: what HTML tags to generate and how to style them (CSS)
    • Controller: the brain that ties the two of them together

image

image
  • What parts of MVC run on front-end versus on infrastructure?

  • How does it change with a React app?

  • How does it change with server-side render (like Preact)?

  • What are the pros and cons of using MVC, with or without React?

    • also consider how this affects working on a large website, with multiple engineers
  • Can you use React without MVC?

  • Dissecting a Web Interaction

    • the product axis: open any of the FAANG websites or similar
    • with a partner:
      • open page source
      • imagine generating the tags, styles, script files by hand.
      • what loops are needed?
      • what is in the body of the loops

Web Infra Afternoon Session

Improvements and Mindset

You have the mindset of a contributor, to a team of engineers. View monorepo issues to work on.

You are invited to consider yourself doing the following

  • add to the monorepo's instructions
  • respond to other's issues with comments, questions, clarifications
  • think about tone and conduct of writing: we are all here to learn, and to help others learn

As we go through the remaining activities, keep in mind anything that doesn't work the way you expect.

This is not a necessarily good or bad thing. Notice any thoughts, feelings, and judgments arising. We will create a new issue by the end.

Running Our Own API

  • Demonstrate the desired end result of fetching from an Express API

Use the readings / notes from

  • Setting up docker

Database Design

  • Demonstrate the end result of fetching from an Express API with a database

  • Install docker and Postgres

    • follow the [Week 3 from our AWS Cloud Server in progress]

Add a New Issue

With a partner, create a new GitHub issue based on your experiences and your reflection at the beginning.

Improvements and Mindset

You have the mindset of a contributor, to a team of engineers. View monorepo issues to work on.

You are invited to consider yourself doing the following

  • add to the monorepo's instructions
  • respond to other's issues with comments, questions, clarifications
  • think about tone and conduct of writing: we are all here to learn, and to help others learn

As we go through the remaining activities, keep in mind anything that doesn't work the way you expect.

This is not a necessarily good or bad thing. Notice any thoughts, feelings, and judgments arising. We will create a new issue by the end.

⚠️ **GitHub.com Fallback** ⚠️