Giter VIP home page Giter VIP logo

spring-advanced's Introduction

spring-advanced

템플릿 콜백 패턴

image

  • 핵심기능과 부가기능의 분리
  • 템플릿 안에서 변하는 부분은 call() 메서드를 호출해서 처리
  • 변하는 부분은 자식 클래스에 두고 상속과 오버라이딩을 사용해서 처리



전략 패턴

image

  • 변하지 않는 부분을 Context에 작성
  • 변하는 부분을 Strategy 인터페이스에 작성 및 구현해서 사용
  • Context는 변하지 않는 템플릿 역할, Strategy는 변하는 알고리즘 역할

spring-advanced's People

Contributors

gyubam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.