본문 바로가기

전체 글571

배민다움 살아남는 기업들의 유일한 공통점은 '자기다움'을 만들고 지켜간다는 것이다. 2021. 8. 1.
Prototype Pattern Purpose Create objects based upon a template of an existing objects through cloning. Use When Composition, creation, and representation of objects should be decoupled from a system. Classes to be created are specified at runtime. Objects or object structures are required that are identical or closely resemble other existing objects or object structures. The initial creation of each object is an .. 2021. 7. 30.
Chain-of-Responsibility Pattern Purpose Gives more than one object an opportunity to handle a request by linking receiving objects together. Use When Multiple objects may handle a request and the handler doesn't have to be a specific objects. A set of objects should be able to handle a request with the handler determined at runtime. A request not being handled is an acceptable potential outcome. 2021. 7. 30.
Proxy Pattern Purpose Allows for object level access contro lby acting as a pass through entity or a placeholder object. Use when Access contorl for the original object is required. Added functionality is required when an object is accessed. Proxy Pattern Proxy pattern provides a surrogate or placeholder for another object to contorl access to it. The Roles of Helper Objects Request From Client to Server - Cl.. 2021. 7. 30.
Design Pattern Study Overall Architecture 패턴 적용 및 코딩 조별 실습 OOAD 과정에서 설계한 Digital Watch에 대해 설계패턴 5자리를 적용하시오 (a) 기존 설계안에 필요한 경우 2개 이하 적용 (b) 확장된 Requirement를 고안하고 해당 확장을 위해 필요한 패턴을 3개 이상 적용하시오. (c) Step(a)와 (b)에 적용한 패턴의 개수가 5개 이상 이어야 함. (d) 적용된 패턴의 설명을 위해 클래스 다이어그램, 시퀀스 다이어그램, 스테이트 차트 등을 이용하시오. (효과적인 UML 다이어그램 사용) (e) 중요 : 각 패턴의 적용에는 합당한 근거가 제시되어야 함. 특히 어떠한 변화가 예상되기 때문에 그러한 설계가 적합하다고 생각하는지 설명이 포함되어야 함. Holub Database .. 2021. 7. 29.
Facade pattern Purpose Supplies a single interface to a set of interfaces witin a system. Use when A simple interface is needed to provide access to a complex system. There are many dependencies between system implementations and clients. Systems and subsystems should be layered. Provides a unified interface to a set of interfaces in a subsystem. It defines a higher-level interface that makes a subsystem easie.. 2021. 7. 29.
Things to think about when designing a sofware structure Question What quality do you care about? Why do you thinks so? Is that really important quality? What is the design content to improve its quality? Is that really a good desing? Isn't the candidate structure too small? How did you organize the pros and cons of the candidate structure? Am I missing a design or not? Does the flow seem to break as you go thorugh each chapter? Am I trying to solve a.. 2021. 7. 29.
Visitor Pattern Purpose Allowing one or more operations to be applied to a set of objects at runtime Decoupling the operations from the object structure(=the set of objests) Use when An object structure must have many unrelated operations performed upon it. The object structure can't cahnge but operations on it can Operations must be performed on the concrete classes of an object structure Operations should be .. 2021. 7. 29.
Design Patter - Command Pattern Command Pattern Purpose - Encapsulates a request as an object. - This allows the request to be handled in traditionally object based relationships such as queuing and callbacks. Use When - Requests need to be specified, queued, and executed at variant times or in variant orders. - A history of requests is needed. - The invoker should be decopupled from the object handling the invocation. Every t.. 2021. 7. 29.