Previous Lecture Lecture 6 Next Lecture

Lecture 6, Tue 01/14

ic01 (ux for courses search) and lab02 (Spring Boot, Heroku)

Anouncement: Please no staples/paperclips/tape on your homeworks.

It damages the scanner.

Just print on two sheets of paper and put your name at the top of each.

You should be on Slack

It’s important to be registered on the Slack. One of the important skills we’re learning in this course is professional communication, as it relates to software development. The Slack channel will be our primary vehicle for that.

Important information will be disseminated there.

There are clients for iOS, Android, Windows, MacOS and Linux (.deb and .rpm).

Or you can just use the web at https://ucsb-cs56-w20.slack.com

If you aren’t on the Slack, get on the Slack!

Setting up your laptop for Java

What you need:

Optional, but encouaged:

Set up instructions:

We can set up slack channels for MacOS and Windows as well.

Linux users “usually know what to do”, but we can set up a channel for them too, if desired, collect their wisdom, and deposit it on a page for future students.

lab02: Hello World for Spring Boot, Heroku

In this lab, we’ll get a web app up and running on both localhost and Heroku

A few things that the lab covers and that we might discuss briefly in lecture

Server-side rendering (e.g. Thymeleaf) vs. Client-Side Rendering (e.g. React)

We’ll discuss the difference first.

Then:

But some folks might be willing to take on the extra work for the extra benefit.

Is there interest in also learning React? If so, register that interest by joining the the #react channel on the Slack.

We might offer this as an optional track if there is enough interest, and we can do so without making the course too complicated.

Some raw notes from today’s lecture

169-231-151-162:ucsb-cs56-w20 pconrad$ git clone git@github.com:ucsb-cs56-w20/lab02-pconrad.git
Cloning into 'lab02-pconrad'...
warning: You appear to have cloned an empty repository.
169-231-151-162:ucsb-cs56-w20 pconrad$ ls
LECTURE_0108				STAFF-react-calculator-prototype
LECTURE_0109				lab02-pconrad
169-231-151-162:ucsb-cs56-w20 pconrad$ cd lab02-pconrad/
169-231-151-162:lab02-pconrad pconrad$ ls
169-231-151-162:lab02-pconrad pconrad$ ls -a
.	..	.git
169-231-151-162:lab02-pconrad pconrad$ # git remote add origin git@github.com:ucsb-cs56-w20/lab02-pconrad.git
169-231-151-162:lab02-pconrad pconrad$ # git pull origin master
169-231-151-162:lab02-pconrad pconrad$ # A good exam question: what are the four things
169-231-151-162:lab02-pconrad pconrad$ # that git clone does?
169-231-151-162:lab02-pconrad pconrad$ # Answer: mkdir, git init, git remote add ... , git pull origin master
169-231-151-162:lab02-pconrad pconrad$