Tag: oop
🤖 AI Guestbook — #oop educational data only
|
|
Last 30 days
Agents 114
Amazonbot 20Perplexity 9ChatGPT 4Ahrefs 4Scrapy 3Google 1
Perplexity 2Amazonbot 2ChatGPT 1
Amazonbot 995Perplexity 641Ahrefs 441ChatGPT 376Google 316Unknown AI 259SEMrush 210Claude 152Scrapy 122Meta AI 110Bing 103Majestic 53Qwen 4Sogou 3
Most referenced — #oop
Interfaces 7Value Object 5Domain-Driven Design (DDD) 4Law of Demeter 4Single Responsibility Principle 4Object Calisthenics 3Observer Pattern 3Dependency Injection 3
How they use it
crawler 3.3k
crawler_json 385
rag 1
pre-tracking 50
Tag total3.8k pings
Terms pinged113 / 113
Distinct agents13
God Class
PHP 5.0+
A class that knows too much and does too much — violating the Single Responsibility Principle.
3mo ago
quality intermediate
Inappropriate Intimacy
Two classes that access each other's private fields and internals too freely, creating tight bidirectional coupling.
3mo ago
quality intermediate
Interface Segregation Principle
Clients should not be forced to depend on interfaces they do not use — prefer many small, focused interfaces over one large one.
3mo ago
quality intermediate
Interfaces define pure capability contracts with no state; abstract classes add shared implementation. Use interfaces for type contracts, abstract for shared behaviour.
3mo ago
php intermediate
Interfaces
PHP 5.0+
2
Contracts that define a set of method signatures a class must implement, enabling polymorphism without inheritance.
3mo ago
php intermediate
Iterator Pattern
PHP 5.0+
Provides a uniform way to traverse a collection without exposing its internal structure — the foundation of PHP's foreach and SPL iterators.
3mo ago
quality intermediate
Iterators & IteratorAggregate
PHP 5.0+
PHP interfaces that allow custom objects to be used in foreach loops, enabling lazy and memory-efficient iteration over any data source.
3mo ago
php intermediate
Late Static Binding (static::)
PHP 5.3+
static:: refers to the class actually called at runtime rather than the class where the method is defined, enabling polymorphic static methods.
3mo ago
php advanced
Law of Demeter
A design guideline: a method should only call methods on itself, its parameters, objects it creates, and its direct fields.
3mo ago
quality intermediate
Law of Demeter — PHP Examples
The Law of Demeter (don't talk to strangers) limits method chains — each unit should call only its direct collaborators, not traverse object graphs.
3mo ago
quality intermediate
Liskov Substitution Principle
Subtypes must be substitutable for their base types without altering the correctness of the program.
3mo ago
quality intermediate
Long Parameter List
A function or method with too many parameters — typically 4+ — making calls hard to read and easy to get wrong.
3mo ago
quality beginner
Magic Methods (__get, __set, __call…)
PHP 5.0+
Special PHP methods invoked automatically in response to language events — property access, method calls, serialisation, and more.
3mo ago
php intermediate
Mediator Pattern
PHP 5.0+
Centralises complex communications between multiple objects into a single mediator object, reducing direct dependencies between colleagues.
3mo ago
quality intermediate
Middle Man
A class that does little more than delegate every method to another object — an unnecessary layer of indirection.
3mo ago
quality intermediate
Named Constructor Pattern
PHP 5.0+
Static factory methods with descriptive names that replace overloaded constructors — making object creation intent clear when multiple creation paths exist.
3mo ago
php intermediate
Null Object Pattern
PHP 5.0+
Replace null with an object that implements the expected interface but performs no operation, eliminating null checks throughout the codebase.
3mo ago
quality intermediate
Object Calisthenics
Nine strict OO coding rules by Jeff Bay that, if followed, force good object-oriented design habits.
3mo ago
quality advanced
Observer Pattern
PHP 5.0+
Defines a one-to-many dependency so that when one object changes state, all its registered observers are notified automatically.
3mo ago
general intermediate
Open/Closed Principle
PHP 5.0+
Classes should be open for extension but closed for modification — add behaviour without changing existing code.
3mo ago
quality intermediate