design-pattern
Signals and Slots library for PHP.
Signals and slots is a mechanism introduced in Qt for communication between objects. It makes it easy to implement the observer pattern while avoiding boilerplate code. Siglot aims to provide similar features for the PHP language, with particular attention to Developer Experience (DX).
Design Patterns & Refactoring.
I'm SourceMaking. I will tell you a lot of stories about good software architecture and teach you how to create it with design patterns. I will guide you through anti-patterns, common pitfalls and mistakes that people make when they plan, create, and manage software projects. In the end, I will teach you how to smell a bad code and improve it with refactoring.
Our world is made of information that competes for our attention. What is necessary? What is not?
When we design products, we aim to choose the best position for user interface components, placing the most important ones in the most accessible places on the screen.
Equally important is the design of communication. How many notifications are necessary? How and when should they be displayed? To answer this, we can be inspired by the principles of calm technology.
Related contents:
By definition, Design Patterns are reusable solutions to commonly occurring problems(in the context of software design). Design patterns were started as best practices that were applied again and again to similar problems encountered in different contexts. They become popular after they were collected, in a formalized form, in the Gang Of Four book in 1994. Originally published with c++ and smalltalk code samples, design patterns are very popular in Java and C# can be applied in all object-oriented languages. In functional languages like Scala, certain patterns are not necessary anymore.
AI Code Security Anti-Patterns distilled from 150+ sources to help LLMs generate safer code.
A comprehensive security reference distilled from 150+ sources to help LLMs generate safer code.
Related contents:
Build services that earn trust.
IF curates this catalogue to help teams design trustworthy services that work for people. Contact IF for workshops about how to use these patterns.
PatternFly is an open source design system created to enable consistency and usability across a wide range of applications and use cases. PatternFly provides clear standards, guidance, and tools that help designers and developers work together more efficiently and build better user experiences.
Explore Agent Recipes
Explore common agent recipes with ready to copy code to improve your LLM applications.
Related contents:
This library intends to provide tools for storing and using monetary values in an easy, yet powerful way.
This is a PHP implementation of the Money pattern.
🔧 A collection of essential design pattern examples in JavaScript 🧰
A collection of essential design patterns for software development using practical examples, such Singleton, Factory Method, Observer, and more, to help developers write more efficient and maintainable code.
This is a PHP implementation of the Money pattern.
This library intends to provide tools for storing and using monetary values in an easy, yet powerful way.
So every time I am designing something new I find myself either searching Google or opening up a gang of four (GoF) book to aid me. I searched for a bit trying to find a handy-dandy flash card showing class diagrams and purposes for the basic GoF patterns but was unable to locate a good one (for free). So I made my own.If you see any mistakes or improvements please post here and I will update the docs.
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings.
Related contents:
Patterns and techniques for writing high-performance applications with Go.
How will patterns and experiences evolve in a world shaped by Artificial Intelligence?
AI is accelerating change. Companies are reacting by “doing AI”without prioritizing the experience of the people on the receiving end–Design is more important than ever. To respond, we must get smart, fast. This starts with understanding the emerging patterns of interaction, affordances, and heuristics in an AI world. The pages below are summaries of the current state.
A curated catalogue of agentic AI patterns — real‑world tricks, workflows, and mini‑architectures that help autonomous or semi‑autonomous AI agents get useful work done in production.
Related contents:
Step into the shadowy world of deceptive design and learn how online businesses exploit consumers through manipulative tricks and traps.
The Patterns of Scalable, Reliable, and Performant Large-Scale Systems.
An updated and organized reading list for illustrating the patterns of scalable, reliable, and performant large-scale systems. Concepts are explained in the articles of prominent engineers and credible references. Case studies are taken from battle-tested systems that serve millions to billions of users.
Refactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles, and other smart programming topics.
Improve how you architect webapps.
Patterns.dev is a free online resource on design, rendering, and performance patterns for building powerful web apps with vanilla JavaScript or modern frameworks.