设计模式 相关热门文章 Android 中的设计模式:观察者模式 Rickon 2 行为型模式:迭代器模式 LieBrother 设计模式 —— 抽象工厂模式 铁锈的秀 6 快速梳理常用的设计模式(上篇) qqxx666…
Node.js 中的依赖注入
依赖注入是一种软件设计模式,一个或多个依赖项(或服务)通过引用被注入或传递进依赖对象中。 在之前,我曾总结过Java中依赖注入以及JSR-330的参考实现Guice, 本文将会讨论如何在Node.js程序中使用依赖注入。…
[英] 每一位 JS 开发者都应该会答的10个面试题
Bruce Lee on the Avenue — Leevin3 (CC BY-NC 2.0) At most companies, management must trust the developers to gi…
HTTP API 设计指南
Introduction This guide describes a set of HTTP+JSON API design practices, originally extracted from work on t…
介绍 Android MVP 模式以及一个用以辅助实现 MVP 的库 Nucleus
Date: 2015-03-23 This article is a step-by-step introduction to MVP on Android, from a simplest possible examp…
The introduction to Reactive Programming you've been missing
中文翻译版戳 Reactive Programming 入门 (by @andrestaltz) So you’re curious in learning this new thing called Reactive …
常用的Node.js设计模式
当我们谈到设计模式的时候,你很可能会想到单例模式、观察者模式、工厂模式。本文并不会仅仅局限于介绍这些在Node编程中常见的设计模式,而且还会涉及到依赖注入、中间件等功能的介绍。 什么是设计模式 A design patt…
基础的 Node.js 设计模式 - RisingStack
When talking about design patterns you may think of singletons, observers or factories. This article is not ex…
为什么模块“耦合性”概念该要摒弃 - 杨博的日志 - 网易博客
以前,我写代码时,我考虑模块(本文中的模块就是指单个源文件)的单向依赖关系,考虑接口的正交性和紧凑性。 我觉得我在做低耦合的好设计。 然而,我发现其他程序员写的代码依赖关系混乱,接口臃肿,但他们仍然觉得自己写的代码耦合很…