3 个仓库
Implementations of patterns that allow sequential access to elements of a collection without exposing its structure.
Distinct from Behavioral Design Patterns: Specific implementation of the Iterator pattern, distinct from general behavioral patterns.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Iterator Patterns. Refine with filters or upvote what's useful.
这是一个用 Java 实现的二十三种标准软件设计模式的综合库。它作为一个教育资源,将理论架构概念映射到实际的面向对象代码中。 该库将这些模式分为三个主要类别:用于管理对象实例化的创建型模式、用于组织类和对象关系的结构型模式,以及用于协调对象间通信和职责的行为型模式。 该实现为广泛的行业标准模式提供了具体的类示例,包括用于创建的 Singleton、Factory 和 Builder 模式;用于结构的 Adapter、Facade 和 Proxy 模式;以及用于行为的 Strategy、Observer 和 Command 模式。
Implements the Iterator behavioral pattern for sequential collection traversal.
This project is a collection of simplified explanations and code implementations for common software design patterns using JavaScript. It serves as a guide for implementing creational, structural, and behavioral design patterns to solve software architecture problems. The resource categorizes patterns into three primary groups. Creational patterns focus on flexible object instantiation and resource management. Structural patterns organize object relationships and interfaces to form efficient structures. Behavioral patterns manage communication and interaction between objects. The material co
Implements the Iterator pattern to provide sequential access to collection elements without exposing the data structure.
该项目是用于在 Ruby 编程语言中实现经典软件设计模式的教育资源和技术参考。它提供了一个精选的代码示例集,演示了如何应用行为型、创建型和结构型设计模式来解决常见的软件开发问题。 该仓库通过关注既定设计原则与 Ruby 独特语言机制的结合而脱颖而出。它展示了如何利用动态方法分发、鸭子类型和基于 Mixin 的组合来创建模块化且可重用的代码。通过应用这些模式,开发者可以提高应用的可维护性和可扩展性,同时通过有效的重构和结构组织减少技术债务。 该集合涵盖了广泛的架构方法,包括管理对象实例化、简化复杂系统关系以及解耦对象通信的技术。这些示例将抽象设计概念转化为具体的、符合 Ruby 习惯的实现,为构建面向对象系统提供了实用指南。
Enables sequential access to collection elements without exposing underlying data structures.