I answered checkpoint 2 questions that were

Checkpoint2:
A program is TikTok. Some different routes could be:
1. GET/api/feed which could return a post to my homepage.
2. GET /api/profile/{username} which gets a users profile information
There could be a change to the GET to be GET /like for indicate a like on a post or GET /upload to upload a tik tok video

Exception is an error that happens while a program is running. It is useful to handle an expection when there is something wrong with the program but you want it to recover. It is better not to handle an exception and let the program crash when you are developing a program because it helps you understand and notice if something needs to be fixed early on before more serious issues.
This commit is contained in:
erbrown2
2026-05-09 16:04:26 -04:00
parent 30fde7fd2a
commit 17fd55bf30

View File

@@ -1,3 +1,12 @@
Checkpoint 1:
Remote: Some advantages fo using a program or an app which uses a remote server is data is always up to date and backed up on the server, the developer can update the app instantly for all users without requiring downloads and it is easy to share and collaborate while interacting with data. Remote: Some advantages fo using a program or an app which uses a remote server is data is always up to date and backed up on the server, the developer can update the app instantly for all users without requiring downloads and it is easy to share and collaborate while interacting with data.
Local: ome advantages of using a program with an app which is local would be it works without connection, the data never leaves the device better privacy. It is gernerally faster as there is no waiting for network requests along with it being more secure. Local: ome advantages of using a program with an app which is local would be it works without connection, the data never leaves the device better privacy. It is gernerally faster as there is no waiting for network requests along with it being more secure.
It might be useful to run a server on the computer to develop web applications before putting them online, creating a personal homepage or interal tool for own personal reasons or learning web develppment safely without exposing anything to the internet. It might be useful to run a server on the computer to develop web applications before putting them online, creating a personal homepage or interal tool for own personal reasons or learning web develppment safely without exposing anything to the internet.
Checkpoint2:
A program is TikTok. Some different routes could be:
1. GET/api/feed which could return a post to my homepage.
2. GET /api/profile/{username} which gets a users profile information
There could be a change to the GET to be GET /like for indicate a like on a post or GET /upload to upload a tik tok video
Exception is an error that happens while a program is running. It is useful to handle an expection when there is something wrong with the program but you want it to recover. It is better not to handle an exception and let the program crash when you are developing a program because it helps you understand and notice if something needs to be fixed early on before more serious issues.