1.7 KiB
Project Server Notes
Checkpoint 1
-
Lots of software today connects to remote servers, and can't work offline. 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.
-
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
-
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”.
-
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.