百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

design-patterns

> 设计协作
开源

:briefcase: 使用不同编程语言编写的设计模式 :triangular_ruler:

389 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

:briefcase: 使用不同编程语言编写的设计模式 :triangular_ruler:

Design patterns

In software engineering, a software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template used to know how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that a programmer can use to solve common problems while designing an application or system. Design patterns may be viewed as a structured approach to computer programming intermediate between the levels of a programming paradigm and a concrete algorithm.

List of implementations

  • Behavioral
    • Callback
    • Chain Of Responsibility
    • Command
    • Delegation
    • Iterator
    • Null Object
    • Observer
    • State
    • Strategy
    • Template Method
    • Visitor
    • Interpreter
    • Mediator
  • Concurrency
    • Active Object
    • Balking Pattern
    • Concurrent Server
    • Fan Out
    • Guarded Suspension
    • Mutext
    • Semaphores
    • Observer
    • Thread Pool
  • Creational
    • Abstract Factory
    • Builder
    • Dependency Injection
    • Factory
    • Lazy Initialization
    • Method Chaining
    • Prototype
    • Singleton
    • Value Object
  • Structural
    • Adapter
    • Bridge
    • Builder
    • Composite
    • Decorator
    • Filter
    • Flyweight
    • Facade
    • Repository
    • PrivateClass
    • Proxy
    • TransactionalStack

Contribution

  • Contributions are always welcome. Language doesn't matter. Just make sure you're implementing design pattern.

  • PRs are welcome. To begin developing, follow the structure:

    category/design pattern name/language-name/file_name.extension

    e.g

    Creational/Abstract factory/python/abstract_factory.py

  • Don't forget to add README with explanation how pattern works, when to use and common usage of the pattern.

  • Adding image with UML diagram for design pattern would be very helpful.

Resources

Curated list of resources dealing with design patterns.

  • Books
    • Head First Design Patterns 2nd Edition [Python] [Java]
    • Elements of Reusable Object-Oriented Software
    • Design Patterns Explained: A New Perspective on Object Oriented Design
    • Patterns of Enterprise Application Architecture
  • Free e-books
    • Design Pattern in C++
    • Design Pattern in Javascript
  • Sites
    • Design patterns
    • Geeks for geeks design patterns
    • Source making Design patterns
    • Java Desgin Pattens Example tutorial
    • Learn about Design Patterns
    • Design Patterns - refactoring.guru
  • Online classes (Free)
    • Design Patterns - Coursera
    • Hackr.io list

License

To the extent possible under law, Zoran Pandovski has waived all copyright and related or neighboring rights to this work.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javacppcsharpdesign-patterndesign-patterns

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类设计协作
定价开源

> 相关工具

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨