reading-notes

Notes for Codefellows Code 401 301 201 and 102

Readings Class 06: Authentication

wikipedia

“A software design pattern that restricts the installation of a class to a single instance”

A Singleton Class is defined as only one instance of the class is created in the complete execution of a program or project. It is used where only a single instance of a class is required to control the action throughout the execution. A singleton class shouldn’t have multiple instances in any case and at any cost.

first figure out what I need my middleware to do. Authorization, Logging, data scrubbing,… Then whiteboard out a system.


Document the following Vocabulary Terms

medium

Router is used to manage incoming requests coming from the middleware. It routes your requests to the correct handler/code.

wikipedia

“A mechanism by which a computer program can, run, load a library (or other binary) into memory, retrieve the addresses of functions and variables contained in the library, execute those functions or access those variables, and unload the library from memory.”

wikipedia

In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one “single” instance. This is useful when exactly one object is needed to coordinate actions across the system. The term comes from the mathematical concept of a singleton

Create -> POST Read -> GET Update -> PUT Delete -> DELETE

devopedia

an approach to unit testing that lets you make assertions about how the code under test is interacting with other system modules.

Preview - Skim the following materials in preparation for the upcoming lecture. Note the following as you browse the material, and be prepared to participate in discussions during lecture


Preparation Materials