<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Dive Deep into The Knowledge]]></title><description><![CDATA[向知识更深处慢溯]]></description><link>https://blog.csdn.net/M_sdn</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; M_sdn]]></copyright><item><title><![CDATA[每天一个设计模式系列博文总目录（24种；带助记词）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126398272</link><guid>https://blog.csdn.net/M_sdn/article/details/126398272</guid><author>M_sdn</author><pubDate>Thu, 18 Aug 2022 09:19:07 +0800</pubDate><description><![CDATA[【助记词】原抽建工单；想呆室外，过桥组装；责令解中谍，观测状被模仿；]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之备忘录模式（Memento Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126372037</link><guid>https://blog.csdn.net/M_sdn/article/details/126372037</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 18:36:53 +0800</pubDate><description><![CDATA[顾名思义，备忘录就是保存一个状态，到需要的时候可以恢复到某一时刻的状态。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之解释器模式（Interpreter Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126371304</link><guid>https://blog.csdn.net/M_sdn/article/details/126371304</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 17:52:04 +0800</pubDate><description><![CDATA[这种模式实现了一个表达式接口，该接口解释一个特定的上下文。这种模式被用在 SQL 解析、符号处理引擎等。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之命令模式（Command Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126368284</link><guid>https://blog.csdn.net/M_sdn/article/details/126368284</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 16:09:57 +0800</pubDate><description><![CDATA[命令模式将请求以命令的形式包裹在对象中，并传给调用对象。调用对象寻找可以处理该命令的合适的对象，并把该命令传给相应的对象，该对象执行命令。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之访问者模式（Visitor Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126359091</link><guid>https://blog.csdn.net/M_sdn/article/details/126359091</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 10:03:36 +0800</pubDate><description><![CDATA[设计模式有23种之多，要想记住这二十多种模式的确不太容易，但是如果将模式的名字与典型的场景结合起来可能会更容易记忆。对于访问者模式，一个典型的例子就是。访问者模式的意图是将易变的操作和稳定的数据结构分离开。文本典型的例子中，一个地方的景区基本上是稳定不变的，而对不同游客所做的优惠活动则会有很多不同的类型，比如学生游客，教师游客，老年游客，外国游客，抗疫志愿者游客等等。......]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之中介者模式（Mediator Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126357930</link><guid>https://blog.csdn.net/M_sdn/article/details/126357930</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 07:23:41 +0800</pubDate><description><![CDATA[中介者模式提供一个中间类，用于处理其他不同类之间的通信，其他类对象之间不需要显示地相互引用，从而使其松散耦合。典型的例子——星形网络。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之模板方法模式（Template Method Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126357882</link><guid>https://blog.csdn.net/M_sdn/article/details/126357882</guid><author>M_sdn</author><pubDate>Tue, 16 Aug 2022 06:10:43 +0800</pubDate><description><![CDATA[所谓的模板模式就是基类（抽象类）提供出定义好的一个模板（空实现+默认实现），子类按照模板封装好的顺序去填充模板内方法的实现。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之状态模式（State Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126349450</link><guid>https://blog.csdn.net/M_sdn/article/details/126349450</guid><author>M_sdn</author><pubDate>Mon, 15 Aug 2022 16:33:05 +0800</pubDate><description><![CDATA[状态模式适用于行为随状态改变而改变的场景，可以替换掉一个系统中依据内部状态而添加的条件、分支语句。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之策略模式（Strategy Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126346847</link><guid>https://blog.csdn.net/M_sdn/article/details/126346847</guid><author>M_sdn</author><pubDate>Mon, 15 Aug 2022 15:12:13 +0800</pubDate><description><![CDATA[策略模式的适用场景是，当一个系统中只有算法策略变化，而其他都不变，这时候应当将算法隔离开，策略模式就是解决这类问题的模式。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之迭代器模式（Iterator Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126343901</link><guid>https://blog.csdn.net/M_sdn/article/details/126343901</guid><author>M_sdn</author><pubDate>Mon, 15 Aug 2022 11:45:23 +0800</pubDate><description><![CDATA[每天一个设计模式之迭代器模式（Iterator Pattern）]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之责任链模式（Chain of Responsibility Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126342371</link><guid>https://blog.csdn.net/M_sdn/article/details/126342371</guid><author>M_sdn</author><pubDate>Mon, 15 Aug 2022 10:43:30 +0800</pubDate><description><![CDATA[为请求创建了一个接收者对象的链。这种模式给予请求的类型，对请求的发送者和接收者进行解耦。这种类型的设计模式属于行为型模式。在这种模式中，通常每个接收者都包含对另一个接收者的引用。如果一个对象不能处理该请求，那么它会把相同的请求传给下一个接收者，依此类推。......]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之观察者模式+发布订阅模式（Observer Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126330467</link><guid>https://blog.csdn.net/M_sdn/article/details/126330467</guid><author>M_sdn</author><pubDate>Sun, 14 Aug 2022 13:49:35 +0800</pubDate><description><![CDATA[观察者模式定义了一套机制，可以实现一对多的关系，当“一”（被观察者）的状态发生了变化，会通知“多”个（观察者），这是行为型模式。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之过滤器模式（Filter/Criteria Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126329356</link><guid>https://blog.csdn.net/M_sdn/article/details/126329356</guid><author>M_sdn</author><pubDate>Sun, 14 Aug 2022 10:59:05 +0800</pubDate><description><![CDATA[过滤器模式（Filter Pattern）或标准模式（Criteria Pattern）是一种行为型设计模式。这种模式允许开发人员使用不同的标准来过滤一组对象，通过逻辑运算以解耦的方式把它们连接起来。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之享元模式（Flyweight Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126294937</link><guid>https://blog.csdn.net/M_sdn/article/details/126294937</guid><author>M_sdn</author><pubDate>Sun, 14 Aug 2022 08:55:44 +0800</pubDate><description><![CDATA[享元是共享对象的意思，用来解决重复对象的内存浪费的问题。缓冲池就是为了共享对象而出现的一种技术，常见的使用池技术的场景有String常量池、数据库连接池、缓冲池等。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之外观模式（Facade Pattern）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126293572</link><guid>https://blog.csdn.net/M_sdn/article/details/126293572</guid><author>M_sdn</author><pubDate>Thu, 11 Aug 2022 22:10:27 +0800</pubDate><description><![CDATA[外观模式给多个复杂子系统提供一个统一的界面，使得用户对子系统的使用更简便。用户故事：家庭影院中有一套智能设备，每个设备都有若干个操作方法，用户希望通过一个手机APP经过简单的几个按键就对所有设备执行启动、关闭等操作。.........]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之桥接模式]]></title><link>https://blog.csdn.net/M_sdn/article/details/126290364</link><guid>https://blog.csdn.net/M_sdn/article/details/126290364</guid><author>M_sdn</author><pubDate>Thu, 11 Aug 2022 18:23:34 +0800</pubDate><description><![CDATA[super(c);super(c);} }桥接模式的优点： 1、抽象和实现的分离。2、优秀的扩展能力。3、实现细节对客户透明。这个模式可以实现两个变化维度（形状、颜色）随意地扩展、随意地组合，降低了不同部件之间的耦合性，提高了代码的扩展性。......]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之适配器模式]]></title><link>https://blog.csdn.net/M_sdn/article/details/126285675</link><guid>https://blog.csdn.net/M_sdn/article/details/126285675</guid><author>M_sdn</author><pubDate>Thu, 11 Aug 2022 15:19:20 +0800</pubDate><description><![CDATA[适配器模式（Adapter Pattern）是作为两个不兼容的接口之间的桥梁，它结合了两个独立接口的功能，将另一个不兼容的接口转化为可接收的接口，是一种行为型模式。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之装饰器模式]]></title><link>https://blog.csdn.net/M_sdn/article/details/126280262</link><guid>https://blog.csdn.net/M_sdn/article/details/126280262</guid><author>M_sdn</author><pubDate>Thu, 11 Aug 2022 11:15:35 +0800</pubDate><description><![CDATA[装饰器模式（Decorator Pattern），是一种行为型模式。该模式的目的是给对象动态地添加新特性。现实中的场景如，给咖啡添加调味品（牛奶，糖之类），给房间添加各种装饰物等等。]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之组合模式]]></title><link>https://blog.csdn.net/M_sdn/article/details/126279228</link><guid>https://blog.csdn.net/M_sdn/article/details/126279228</guid><author>M_sdn</author><pubDate>Thu, 11 Aug 2022 09:53:54 +0800</pubDate><description><![CDATA[组合模式（Composite Pattern），又叫部分整体模式，是用于把一组相似的对象当作一个单一的对象。组合模式依据树形结构来组合对象，用来表示部分以及整体层次。这种类型的设计模式属于结构型模式，它创建了对象组的树形结构。这种模式创建了一个包含自己对象组的类。............]]></description><category></category></item><item><title><![CDATA[每天一个设计模式之代理模式（静态代理、动态代理）]]></title><link>https://blog.csdn.net/M_sdn/article/details/126268953</link><guid>https://blog.csdn.net/M_sdn/article/details/126268953</guid><author>M_sdn</author><pubDate>Wed, 10 Aug 2022 17:20:07 +0800</pubDate><description><![CDATA[代理模式是一种行为型模式，这个模式的意图是为其他对象提供一种代理以控制对原始对象的访问。为何需要代理？因为有时候直接访问原始对象会带来问题，比如，要访问的对象在远程的机器上，或者某些操作需要安全控制。比如下面这个Document类，它的访问没有任何安全控制，谁都可以执行它的view和edit方法，在现实中这是不合理的，应当对文档加入访问权限的控制。............]]></description><category></category></item></channel></rss>