CPS 213 Lecture Notes - Lecture 7: Software Architecture, Service Discovery, Design Issues
Document Summary
Design patterns provide a general solution to a software design problem. They address a particular problem and provide a well known solution. They also identify design issues, implementation techniques, and possible weaknesses or problems. Probably first software architecture pattern, developed in the late 1960s for unix. Problem: multi-step process where the output of one step is the put of the next, it"s a way of organizing the information flow. Could use files but need to name and manage the files, and they could also get quite large. Solution: run each step as a separate process/program, connect them with pipes so the output of one process can flow to the input of the next process. Most modern operating systems provide a pipe mechanism for doing this. Each program can be designed and implemented separately and then connected at run-time. Four types of components: filter, pipe, data source, data sink.