Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
DuanBinbin
/
DesignPatterns
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
模板
Jump to bottom
DuanBinbin edited this page
Aug 10, 2018
·
3 revisions
Definition
Participants
Structure
Summarize
Benefit
Defect
Applicable Situations
Compare
Wiki pages
Pages
25
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
中介者模式(Mediator)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
享元模式(Flyweight)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
代理模式(Proxy)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
单例模式(Singleton)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
原型模式(Prototype)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
命令模式(Command)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
备忘录模式(Memento)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
外观模式(Facade)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
工厂方法模式(Factory Method)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
建造者模式(Builer)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
抽象工厂模式(Abstract Factory)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
桥接模式(Bridge)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
模板
Definition
Participants
Structure
Summarize
Benefit
Defect
Applicable Situations
Compare
Loading
模板方法模式(Template Method)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
状态模式(State)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
策略模式(Strategy Pattern)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
组合模式(Composite)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
装饰模式(Decorator)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
观察者模式(Observer)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
解释器模式(Interpreter)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
访问者模式(Visitor)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
责任链模式(ChainOfResponsibility)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
迭代器模式(Iterator)
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
适配器模式(Adapter)
Uh oh!
There was an error while loading.
Please reload this page
.
Show 10 more pages…
设计模式
创建型模式(Creational)5种
单例模式
工厂模式
简单工厂模式
工厂方法模式
抽象工厂模式
建造者模式
原型模式
行为型模式(Behavioral)11种
命令模式(Command)
状态模式(State)
观察者模式(Observer)
责任链模式(Chain of Responsibility)
中介者模式(Mediator)
解析器模式(Interpreter)
迭代器模式(Iterator)
备忘录模式(Memento)
策略模式(Strategy)
模板方法模式(Template Method)
访问者模式(Visitor)
结构型设计模式(Structural)7种
适配器模式(Adapter)
桥接模式(Bridge)
组合模式(Composite)
装饰模式(Decorator)
外观模式(Facade)
享元模式(Flyweight)
代理模式(Proxy)
Clone this wiki locally
You can’t perform that action at this time.