I did checkpoint 1,2, and 3 for this lab.

This commit is contained in:
juddin22
2026-03-16 21:07:07 -04:00
parent eadee85daf
commit d8d435295b
5 changed files with 9 additions and 14 deletions

View File

@@ -6,27 +6,23 @@
What are some advantages of using a program or an app which uses a remote
server? What are some advantages of using a program or an app which is
completely local?
One advantage of using a program that uses remote server is that you are able to access your data from any device.One advantage of using program that is local is that your data stays in your own computer.
2. You just ran a server on your own computer, and connected to it as a client
on the same computer. In what other situations might it be useful to run a
server on your computer, where you're the only client, on the same computer?
2. You just ran a server on your own computer, and connected to it as a client on the same computer. In what other situations might it be useful to run a server on your computer, where you're the only client, on the same computer?
It can be useful to run a server on your own computer when you are working on personal projects or apps that only one person needs to use.
## Checkpoint 2
3. Choose a program (Steam), web app (Google Docs), or app (Weather) that you use
frequently. You can't observe the calls this program is making to its server
(unless you have fancy tools), but you can infer some of the calls based on the
program's behavior. Describe a few routes which you think may exist for your
chosen program's backend server.
3. Choose a program (Steam), web app (Google Docs), or app (Weather) that you use frequently. You can't observe the calls this program is making to its server (unless you have fancy tools), but you can infer some of the calls based on the program's behavior. Describe a few routes which you think may exist for your chosen program's backend server.
I chose the web app google doc. Some route I think that may exist are:
- A route to open a document
- A route to create a new document when I click “Blank”.
4. In your own words, what is an exception? When might it be useful to handle an
exception? When is it better not to handle an exception, and instead let the
program crash?
4. In your own words, what is an exception? When might it be useful to handle an exception? When is it better not to handle an exception, and instead let the program crash?
An exception is an error in a program. You can an exception if the program can still keep working. You can let the program crash when the error is too serious to fix.

View File

@@ -6,7 +6,6 @@ authors = [
{name = "Chris Proctor",email = "chris@chrisproctor.net"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"django-banjo (>=0.9.1,<0.10.0)",
@@ -25,4 +24,4 @@ build-backend = "hatchling.build"
[tool.uv]
managed = true
packaged = false
package = false

View File

View File

2
uv.lock generated
View File

@@ -222,7 +222,7 @@ wheels = [
[[package]]
name = "lab-server"
version = "0.1.0"
source = { editable = "." }
source = { virtual = "." }
dependencies = [
{ name = "django-banjo" },
{ name = "fuzzywuzzy" },