awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
tcorral avatar

tcorral/Design-Patterns-in-Javascript

0
View on GitHub↗
2,623 stars·522 forks·JavaScript·9 viewstcorral.github.com/Design-Patterns-in-Javascript↗

Design Patterns In Javascript

This repository serves as a reference for implementing standard software design patterns within JavaScript environments. It provides a collection of structural, creational, and behavioral patterns designed to assist developers in organizing complex application logic and improving overall code maintainability.

The project demonstrates how to apply object-oriented principles to decouple object creation from core business logic and manage communication between objects. By utilizing these patterns, developers can structure classes and object interactions to ensure code remains modular and flexible as project requirements evolve.

The collection covers a range of architectural techniques, including singleton instance management, factory instantiation, and class composition. It also includes examples of behavioral and structural patterns such as observers, strategies, and decorators, which allow for dynamic extension of functionality and the swapping of algorithms at runtime.

Features

  • JavaScript Implementations - Serves as a reference collection of structural, creational, and behavioral design patterns implemented in JavaScript.
  • Design Pattern Implementations - Provides a comprehensive collection of structural, creational, and behavioral design pattern implementations for modern JavaScript.
  • Software Architecture Guides - Acts as a guide for developers to decouple object creation and manage communication in large-scale codebases.
  • Architectural Design Patterns - Applies architectural design patterns to organize complex JavaScript application logic.
  • Behavioral Design Patterns - Coordinates object communication and responsibility assignment using behavioral design patterns.
  • Creational Design Patterns - Separates instantiation logic from application flow using creational design patterns.
  • Decorator Patterns - Demonstrates the decorator pattern to dynamically extend object functionality without modifying source code.
  • Factory Patterns - Provides factory pattern implementations to decouple object instantiation logic from core business code.
  • Instance Management - Provides singleton pattern implementations to ensure shared instance management throughout the application lifecycle.
  • Object-Oriented Structural Organization - Demonstrates object-oriented class composition techniques to organize code into modular and reusable structures.
  • Observer Patterns - Implements the observer pattern to establish subscription mechanisms for state changes between decoupled objects.
  • Object Oriented Design - Structures classes and object interactions using object-oriented design principles.
  • Strategy Patterns - Implements the strategy pattern to allow for interchangeable algorithms at runtime.
  • Structural Design Patterns - Composes classes and objects into efficient structures using structural design patterns.

Star history

Star history chart for tcorral/design-patterns-in-javascriptStar history chart for tcorral/design-patterns-in-javascript

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Design Patterns In Javascript

Similar open-source projects, ranked by how many features they share with Design Patterns In Javascript.
  • youlookwhat/designpatternyoulookwhat avatar

    youlookwhat/DesignPattern

    5,115View on GitHub↗

    This project is a comprehensive library of twenty-three standard software design patterns implemented in Java. It serves as an educational resource that maps theoretical architectural concepts to practical object-oriented code. The library organizes these patterns into three primary categories: creational patterns for managing object instantiation, structural patterns for organizing class and object relationships, and behavioral patterns for coordinating communication and responsibility between objects. The implementation provides concrete class examples for a wide range of industry-standard

    Javadesignpatterndesignpatternsjava
    View on GitHub↗5,115
  • sohamkamani/javascript-design-patterns-for-humanssohamkamani avatar

    sohamkamani/javascript-design-patterns-for-humans

    4,481View on GitHub↗

    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

    View on GitHub↗4,481
  • designpatternsphp/designpatternsphpDesignPatternsPHP avatar

    DesignPatternsPHP/DesignPatternsPHP

    22,188View on GitHub↗

    DesignPatternsPHP is a reference collection of sample code implementations for common software design patterns using PHP 8.x. It provides a set of examples for implementing creational, structural, and behavioral patterns to organize object-oriented design. The project includes reference implementations for creational patterns that decouple systems from object instantiation, structural patterns that define how classes organize into complex components, and behavioral patterns that manage algorithms and responsibilities between objects.

    PHPcode-examplesdesign-patterndesign-patterns
    View on GitHub↗22,188
  • domnikl/designpatternsphpdomnikl avatar

    domnikl/DesignPatternsPHP

    22,188View on GitHub↗

    DesignPatternsPHP is a reference collection of software architecture patterns implemented in PHP 8. It provides a guide for object-oriented programming through sample code demonstrating creational, structural, and behavioral design patterns. The project includes reference implementations for common patterns such as factories, builders, singletons, adapters, bridges, and proxies. Each implementation is accompanied by a PHPUnit test suite to verify that the patterns behave correctly and produce expected logical outcomes. The codebase covers a broad range of architecture capabilities, including

    PHP
    View on GitHub↗22,188
See all 30 alternatives to Design Patterns In Javascript→

Frequently asked questions

What does tcorral/design-patterns-in-javascript do?

This repository serves as a reference for implementing standard software design patterns within JavaScript environments. It provides a collection of structural, creational, and behavioral patterns designed to assist developers in organizing complex application logic and improving overall code maintainability.

What are the main features of tcorral/design-patterns-in-javascript?

The main features of tcorral/design-patterns-in-javascript are: JavaScript Implementations, Design Pattern Implementations, Software Architecture Guides, Architectural Design Patterns, Behavioral Design Patterns, Creational Design Patterns, Decorator Patterns, Factory Patterns.

What are some open-source alternatives to tcorral/design-patterns-in-javascript?

Open-source alternatives to tcorral/design-patterns-in-javascript include: youlookwhat/designpattern — This project is a comprehensive library of twenty-three standard software design patterns implemented in Java. It… sohamkamani/javascript-design-patterns-for-humans — This project is a collection of simplified explanations and code implementations for common software design patterns… designpatternsphp/designpatternsphp — DesignPatternsPHP is a reference collection of sample code implementations for common software design patterns using… domnikl/designpatternsphp — DesignPatternsPHP is a reference collection of software architecture patterns implemented in PHP 8. It provides a… faif/python-patterns — This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference… dbacinski/design-patterns-in-kotlin — This project is a reference collection of practical examples demonstrating the implementation of common software…

Curated searches featuring Design Patterns In Javascript

Hand-picked collections where Design Patterns In Javascript appears.
  • a comprehensive guide to object oriented programming