随笔分类 - 重构
摘要:基础知识——介绍 Redis简介 REmote Dictionary Server(Redis) 是一个由Salvatore Sanfilippo写的key-value存储系统。 Redis是一个完全开源免费的,使用ANSI C语言编写、遵守BSD协议、支持网络、可基于内存亦可持久化的日志型、高性能
阅读全文
摘要:原文 The Once and Only Once principle can be thought of as a subset of the Don’t Repeat Yourself principle, and is one of the most fundamental principle
阅读全文
摘要:The Stable Dependencies Principle states that “The dependencies between software packages should be in the direction of the stability of the packages.
阅读全文
摘要:GETTING DDD STARTED SURROUNDED BY LEGACY SYSTEMS ByEric Evans
阅读全文
摘要:相关链接: Separation of Concerns 原文 The Art of Separation of Concerns Introduction In software engineering, Separation of Concerns refers to the delineati
阅读全文
摘要:Explicit Dependencies Principle The Explicit Dependencies Principle states: Methods and classes should explicitly require (typically through method pa
阅读全文
摘要:原文 BoundedContext Bounded Context is a central pattern in Domain-Driven Design. It is the focus of DDD's strategic design section which is all about d
阅读全文
摘要:ASP.NET - 使用依赖关系注入在 ASP.NET Core 中编写干净代码
阅读全文
摘要:Configuration in ASP.NET Core App configuration in ASP.NET Core is based on key-value pairs established by configuration providers. Configuration prov
阅读全文
摘要:原文 "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald We
阅读全文
摘要:The SOLID principles The SOLID principles of Object Oriented Design include these five principles: SRP – Single Responsibility Principle OCP – Open/Cl
阅读全文
摘要:New is Glue When you’re working in a strongly typed language like C# or Visual Basic, instantiating an object is done with the new keyword. It’s impor
阅读全文
摘要:Static Cling Sticking Your Code To Things Unnecessarily Static Cling is a code smell used to describe the undesirable coupling introduced by accessing
阅读全文
摘要:原文 github地址 ASP.NET Core supports the dependency injection (DI) software design pattern, which is a technique for achieving Inversion of Control (IoC)
阅读全文