All Projects → luoweifu → Pydesignpattern

luoweifu / Pydesignpattern

Licence: gpl-3.0
Design Pattern that described by Python, This is the source code for the book of Everybody Know Design Patterns.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pydesignpattern

Designpatterns
🔑Elements of Reusable Object-Oriented Software🔓is a software engineering book describing software design patterns. The book's authors are Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides with a foreword by Grady Booch.
Stars: ✭ 134 (-22.99%)
Mutual labels:  command, iterator, adapter, proxy, design-pattern
oh-my-design-patterns
🎨 Record the articles and code I wrote while learning design patterns
Stars: ✭ 33 (-81.03%)
Mutual labels:  adapter, observer, iterator, strategy
100 Words Design Patterns Java
GoF Design Patterns, each pattern described with story from real life.
Stars: ✭ 117 (-32.76%)
Mutual labels:  strategy, adapter, proxy
SwiftObserver
Elegant Reactive Primitives for Clean Swift Architecture #NoRx
Stars: ✭ 14 (-91.95%)
Mutual labels:  observer, callback
design-pattern
🌴 Detail design pattern and give many demos in Java.
Stars: ✭ 28 (-83.91%)
Mutual labels:  design-pattern, factory
node-evented-command
provides simple command/event handling for evented systems like cqrs
Stars: ✭ 15 (-91.38%)
Mutual labels:  observer, command
dotnet-design-patterns-samples
The samples of .NET design patterns
Stars: ✭ 25 (-85.63%)
Mutual labels:  design-pattern, factory
movie-booking
An example for booking movie seat, combined of Android Data Binding, State Design Pattern and Multibinding + Autofactory. iOS version is: https://github.com/lizhiquan/MovieBooking
Stars: ✭ 80 (-54.02%)
Mutual labels:  design-pattern, factory
patterns
Good practices to create code in Java, open to other languages. ⚡
Stars: ✭ 14 (-91.95%)
Mutual labels:  observer, iterator
GenericRecyclerAdapter
Easiest way to use RecyclerView. Reduce boilerplate code! You don't need to write adapters for listing pages anymore!
Stars: ✭ 53 (-69.54%)
Mutual labels:  adapter, filter
Citadelcore
Cross platform filtering HTTP/S proxy based on .NET Standard 2.0.
Stars: ✭ 28 (-83.91%)
Mutual labels:  proxy, filter
spec-pattern
Specification design pattern for JavaScript and TypeScript with bonus classes
Stars: ✭ 43 (-75.29%)
Mutual labels:  design-pattern, filter
Dob
Light and fast 🚀 state management tool using proxy.
Stars: ✭ 713 (+309.77%)
Mutual labels:  observer, proxy
Fastp
An ultra-fast all-in-one FASTQ preprocessor (QC/adapters/trimming/filtering/splitting/merging...)
Stars: ✭ 966 (+455.17%)
Mutual labels:  adapter, filter
YAAdapterTableViewWithResponderChain
No description or website provided.
Stars: ✭ 15 (-91.38%)
Mutual labels:  adapter, strategy
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+17.24%)
Mutual labels:  clone, filter
Design patterns in typescript
📐 Design pattern implementations in TypeScript
Stars: ✭ 4,072 (+2240.23%)
Mutual labels:  command, adapter
Python Design Patterns
Python Design Patterns
Stars: ✭ 55 (-68.39%)
Mutual labels:  proxy, factory
Psiphon
A multi-functional version of a popular network circumvention tool
Stars: ✭ 169 (-2.87%)
Mutual labels:  proxy
Proxyman
Modern and Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
Stars: ✭ 2,571 (+1377.59%)
Mutual labels:  proxy

Description of PyDesignPattern

English

This is the source ocde of Everybody Know Design Patterns : How to comprehend Design Patterns from daily life .

中文

这是《人人都懂设计模式:从生活中领悟设计模式(Python实现)》一书的源码。可通过线上课程如何从生活中领悟设计模式(Python) 进行试读。

设计模式(Design pattern)是一套被反复使用、多数人知晓的、无数工程师实践的代码设计经验的总结,它是面向对象思想的高度提炼和模板化。使用设计模式将会使你的代码具有更高的可重用性,更好的灵活性和可拓展性,更易被人阅读和理解。

程序不应只是冷冰冰的代码,更应赋予它生活的乐趣和特殊的意义。本课程将会从生活的角度,在生活的每一个细节和故事中解读一个个设计模式。 力求用最通俗的语言阐述最难懂的概念;用最简单的语法实现最复杂的逻辑;用最短小的代码写出最强悍的程序! 希望能给您带来一种全新的阅读体验和思考方式。

此升级版的系列分三部分内容:(1). 基础篇,19种常用设计模式单独章节讲解 + 剩余4种模式合集(会有1到2篇的篇幅);(2). 进阶篇,是基础设计模式的衍生,也是各大编程语言中非常重要而常见的种编程机制;(3). 经验篇,将会分享我对设计原则、设计模式、项目重构的经验和看法。

书籍

京东购买当当购买

书籍介绍

线上课程

引导篇

生活中的设计模式——启程之前,请不要错过我【试读】

基础篇

生活中的监听模式——一坑爹的热水器 pattern/Observer.py

生活中的适配模式——身高不够鞋来凑 pattern/Adapter.py

生活中的状态模式——人有少、壮、老, 水之冰、液、汽 pattern/State.py

生活中的单例模式——你是我生命的唯一 pattern/Singleton.py

生活中的职责模式——我的假条去哪了 pattern/Responsibility.py

生活中的中介模式——找房子问中介 pattern/Mediator.py

生活中的代理模式——帮我拿一下快递 pattern/Proxy.py

生活中的装饰模式——你想怎么穿就怎么穿 pattern/Decorator.py

生活中的工厂模式——你要拿铁还是摩卡 pattern/SimpleFactory.py

生活中的迭代模式——下一个就是你了 pattern/Iterator.py

生活中的组合模式——自己电脑组装,价格再降三折 pattern/Composite.py

生活中的构建模式——你想要一辆车还是一座房 pattern/Builder.py

生活中的克隆模式——给你一个分身术 pattern/Clone.py

生活中的策略模式——怎么来不重要,人到就行 pattern/Strategy.py

生活中的命令模式——大闸蟹,走起! pattern/Command.py

生活中的备忘模式——好记性不如烂笔头 pattern/Memento.py

生活中的享元模式——颜料很贵必须充分利用 pattern/Flyweight.py

生活中的外观模式——学妹别慌,学长帮你 pattern/Facade.py

生活中的访问模式——一千个读者一千个哈姆雷特 pattern/Visitor.py

生活中的设计模式——与经典23种设计模式的不解渊源

生活中的设计模式——那些未完待续的设计模式 pattern/Template.py

进阶篇

深入解读过滤器模式——制作一杯鲜纯细腻的豆浆 advanced_pattern/Filter.py

深入解读对象池技术——共享让生活更便捷 advanced_pattern/ObjectPool.py

深入解读回调机制——把你技能亮出来 advanced_pattern/Callback.py

经验篇

谈谈我对设计模式的理解

谈谈我对设计原则的思考

谈谈我对项目重构的看法

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].