Tag: patterns
🤖 AI Guestbook — #patterns educational data only
|
|
Last 30 days
Agents 16
Claude 16
PetalBot 9SEMrush 3Ahrefs 1Bing 1
Amazonbot 321Perplexity 223Scrapy 203Google 198ChatGPT 150Ahrefs 126SEMrush 77Unknown AI 76Claude 65Bing 60PetalBot 34Meta AI 32Majestic 27Sogou 6Qwen 5DuckDuckGo 5Common Crawl 1
Most referenced — #patterns
Data Transfer Object (DTO) 1Fluent Builder Pattern 1Advanced Context Managers 1Context Managers & with Statement 1Dict & Set Comprehensions 1Abstract Factory Pattern 1Active Record Pattern 1Interpreter Pattern 1
How they use it
crawler 1.5k
crawler_json 126
pre-tracking 11
Tag total1.6k pings
Terms pinged34 / 34
Distinct agents16
Message Queue Patterns
Core messaging patterns — competing consumers, scatter-gather, request-reply, message filter, and routing slip — solve recurring distributed communication challenges.
3mo ago
Messaging intermediate
Transactional Outbox Pattern
2
The Outbox pattern atomically saves domain events to an 'outbox' DB table in the same transaction as business data — a relay then publishes to the message broker, preventing lost events.
3mo ago
Messaging advanced
Reactive Patterns — Observer & Pub/Sub in JavaScript
ES2015
EventEmitter, CustomEvent, and pub/sub patterns coordinate state changes across components without tight coupling — common in PHP-rendered pages with JS islands.
3mo ago
JavaScript intermediate
Abstract Factory Pattern
PHP 5.0+
Creates families of related objects ensuring they are used together consistently without mixing implementations.
3mo ago
Code Quality intermediate
Active Record Pattern
PHP 5.0+
1
A design pattern where a database row is wrapped in an object that includes both the data and the persistence logic — the object knows how to save, update, and delete itself.
3mo ago
Code Quality intermediate
Custom Events & EventTarget API
ES2015
1
Creating and dispatching custom DOM events for decoupled component communication — alternatives to direct function calls and third-party event emitters.
3mo ago
JavaScript intermediate
Dict & Set Comprehensions
Python 2.7+
Python's concise syntax for building dicts, sets, and lists in a single expression — replacing verbose for-loop accumulation patterns.
3mo ago
Python beginner
Domain Model Pattern
An object model of the domain that incorporates both behaviour and data — entities with methods expressing domain operations rather than just data containers.
3mo ago
Code Quality advanced
Event Bus Patterns
PHP 7.0+
Patterns for routing events between publishers and subscribers — in-process event buses (Symfony EventDispatcher), message broker buses (RabbitMQ, Kafka), and hybrid architectures.
3mo ago
Messaging intermediate
Fluent Builder Pattern
Returns $this from each setter enabling method chaining — used in query builders, test factories, and configuration objects.
3mo ago
Code Quality intermediate
Gateway Pattern
1
A class that encapsulates access to an external system or resource — wrapping HTTP APIs, queues, or legacy systems behind a clean interface that the rest of the application uses.
3mo ago
Code Quality intermediate
Interpreter Pattern
A grammar represented as a class hierarchy — used for search query parsers, expression evaluators, and rule engines.
3mo ago
Code Quality advanced
Memento Pattern
PHP 5.0+
A behavioural pattern that captures an object's internal state and stores it externally so it can be restored later — enabling undo, snapshots, and versioning without exposing internals.
3mo ago
Code Quality intermediate
Prototype Pattern
PHP 5.0+
Creating new objects by cloning a prototype — fast when object creation is expensive and variations are needed.
3mo ago
Code Quality intermediate
Symbol & the Iterator Protocol
ES2015
Symbol.iterator makes objects iterable with for...of — implementing the iterator protocol enables custom data structures to participate in all iteration contexts.
3mo ago
JavaScript advanced
Table Module Pattern
One class per database table handling all logic — a pragmatic middle ground between Transaction Script and full Domain Model.
3mo ago
Code Quality intermediate
Tagged Template Literals
ES2015
A function prefix on a template literal — the tag function receives the string parts and interpolated values separately, enabling safe SQL, HTML, CSS, and i18n string construction.
3mo ago
JavaScript intermediate
Transaction Script Pattern
A pattern where each business operation is a single procedure — simple, linear, and appropriate for straightforward workflows without complex domain logic.
3mo ago
Code Quality intermediate
Advanced Context Managers
Python 3.1+
Context managers (with statements) manage resource acquisition and release — contextlib provides tools for creating them without a full class definition.
3mo ago
Python intermediate
Advanced Python Dataclasses
Python 3.7+
2
Dataclasses auto-generate __init__, __repr__, __eq__ from field declarations — advanced features include frozen (immutable), slots (memory-efficient), and field metadata.
3mo ago
Python intermediate