11 مستودعات
Design strategies that favor composing objects over using inheritance hierarchies to reduce coupling.
Distinct from Composition Hierarchies: Distinct from View Hierarchy Composition as it applies to general object logic, not just UI elements.
Explore 11 awesome GitHub repositories matching software engineering & architecture · Object Composition Patterns. Refine with filters or upvote what's useful.
This project is a collection of engineering guidelines and best practices for writing readable and maintainable JavaScript source code. It serves as a clean code guide and refactoring manual to help developers improve the structure of their codebases. The repository provides a reference for applying SOLID principles to reduce coupling and enable extensions without modifying existing logic. It includes a naming convention standard for using explicit, searchable identifiers and a guide for asynchronous patterns to replace nested callbacks with clearer execution flows. The guidelines cover soft
Offers guidance on building extensible structures through object composition instead of deep inheritance.
This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference for architectural, behavioral, creational, and structural patterns to guide the organization of Python applications. The collection covers behavioral strategies for managing object communication and state, creational techniques for controlling object instantiation, and structural methods for composing classes and objects into flexible hierarchies. It also includes architectural references for system-wide structuring, such as multi-tier architectures and blackboard models. Th
Implements object composition strategies using adapters and decorators to extend behavior without inheritance.
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
Implements object composition patterns that favor nesting objects over class inheritance to reduce coupling.
This project is a set of software engineering standards and architectural patterns for writing maintainable and refactorable TypeScript code. It provides a comprehensive guide for implementing clean code principles, focusing on the application of SOLID design and structural patterns to build decoupled systems. The framework prioritizes composition over inheritance and utilizes dependency inversion to reduce system coupling. It establishes standards for strict static typing and the use of read-only modifiers to ensure type safety and eliminate runtime errors. The guidance covers a broad range
Provides design strategies that prioritize object composition over inheritance hierarchies to reduce system coupling.
This project is a collection of software design patterns implemented in Go, serving as a technical reference and a set of practical programming examples. It maps theoretical architectural patterns to concrete code to demonstrate structural, creational, and behavioral coding techniques. The repository provides implementations for creational patterns focused on object instantiation and blueprint management, structural patterns for organizing object compositions, and behavioral patterns that manage object interactions and responsibilities. The content covers broad capability areas including in
Implements the Composite pattern to treat single objects and collections of objects under a shared interface.
هذا المشروع هو دليل لتنفيذ أنماط تصميم البرمجيات ومرجع معماري. يوفر مجموعة عملية من أمثلة الكود التي توضح الأنماط الإنشائية والهيكلية والسلوكية لتحسين قابلية صيانة البرمجيات وجودتها. تتضمن المكتبة تطبيقات معيارية لإنشاء الكائنات من خلال الأنماط الإنشائية، وقوالب لتجميع الكائنات في تسلسلات هرمية فعالة باستخدام الأنماط الهيكلية، وأمثلة لإدارة اتصالات الكائنات وتوزيع المسؤوليات عبر الأنماط السلوكية. يربط المشروع أنماط التصميم المجردة هذه بمجالات عمل محددة، مثل المعاملات والتسويق، لتوضيح كيفية حل مشاكل البرمجيات في العالم الحقيقي. يتضمن ذلك تطبيق الإرسال متعدد الأشكال في وقت التشغيل وفك الاقتران القائم على الواجهات لتقليل تعقيد النظام وزيادة قابليته للتوسع.
Implements structural patterns such as Adapter, Bridge, Composite, and Proxy for efficient object composition.
Portfolio and risk analytics in Python
Assembles multiple independent analytical modules into a single report by orchestrating plot and metric generation.
هذا المشروع عبارة عن مجموعة مرجعية من الأمثلة العملية التي توضح تنفيذ أنماط تصميم البرمجيات الشائعة في Kotlin. يعمل كدليل لأفضل الممارسات المعمارية ومبادئ البرمجة كائنية التوجه من خلال تطبيق الأنماط السلوكية والإنشائية والهيكلية. توفر المجموعة تطبيقات ملموسة لتوضيح كيفية فصل إنشاء الكائنات، وإدارة التواصل والمسؤولية بين الكائنات، وتنظيم علاقات الفئات والكائنات المعقدة. يغطي المرجع الأنماط الإنشائية مثل المصانع والبناة، والأنماط الهيكلية بما في ذلك المحولات والمركبات، والأنماط السلوكية مثل المراقبين والاستراتيجيات.
Implements design strategies that prioritize object composition over inheritance to reduce coupling in Kotlin.
هذا المشروع عبارة عن مكتبة لأنماط التصميم ودليل معماري لـ TypeScript. يوفر مجموعة من أنماط هندسة البرمجيات القياسية في الصناعة والمطبقة في TypeScript لتوضيح إنشاء الكائنات والتواصل بينها. تعمل المكتبة كمرجع عملي لتطبيق مبادئ التصميم الموجه للكائنات، باستخدام الكتابة الساكنة (static typing) لفرض المتطلبات الهيكلية لهذه الأنماط خلال مرحلة التجميع. يغطي المحتوى تنفيذ الأنماط الإنشائية لفصل إنشاء الكائنات عن منطق الأعمال، والأنماط الهيكلية لترتيب الفئات والكائنات في تكوينات أكبر، والأنماط السلوكية لإدارة تواصل الكائنات وتوزيع المسؤوليات.
Provides design strategies for composing objects to simplify complex structural relationships.
django-crispy-forms is a Django form rendering library used to generate styled HTML output from forms. It employs a programmatic form layout engine that allows the composition of form structures and styling using Python objects rather than handwritten HTML templates. The library uses a template pack system to decouple form logic from visual styling, enabling the application of different CSS frameworks through configuration settings. This ensures frontend UI consistency by swapping the set of HTML templates used for various frameworks. The tool provides a Django template filter to produce com
Builds form output from a tree of Python objects (Div, Field, ButtonHolder) that map to structured HTML.
هذا المشروع عبارة عن مجموعة من التفسيرات المبسطة وتنفيذات الكود لأنماط تصميم البرمجيات الشائعة باستخدام JavaScript. يعمل كدليل لتنفيذ أنماط التصميم الإنشائية والهيكلية والسلوكية لحل مشاكل هندسة البرمجيات. يصنف المورد الأنماط إلى ثلاث مجموعات رئيسية. تركز الأنماط الإنشائية على إنشاء الكائنات المرن وإدارة الموارد. تنظم الأنماط الهيكلية علاقات الكائنات والواجهات لتشكيل هياكل فعالة. تدير الأنماط السلوكية التواصل والتفاعل بين الكائنات. تغطي المادة مفاهيم أساسية بما في ذلك البرمجة الموجهة للكائنات، وتخطيط هندسة البرمجيات، واستراتيجيات إعادة هيكلة الكود لتقليل الديون التقنية.
Provides strategies for composing objects to decouple interfaces from implementations and reduce coupling.