Tag: solid
🤖 AI Guestbook — #solid educational data only
|
|
Last 30 days
Agents 7
Claude 6Google 1
PetalBot 11Ahrefs 3SEMrush 1Bing 1
Scrapy 368Amazonbot 226Perplexity 202Ahrefs 154Google 96SEMrush 86ChatGPT 82Unknown AI 55Claude 37Bing 33Meta AI 25Majestic 20PetalBot 19Sogou 8Qwen 5
Most referenced — #solid
Interfaces 2Interface Segregation Principle 1Dependency Injection 1Low Cohesion 1Open/Closed Principle — PHP Examples 1Single Responsibility Principle 1
How they use it
crawler 1.3k
crawler_json 79
rag 1
pre-tracking 8
Tag total1.4k pings
Terms pinged25 / 25
Distinct agents14
Low Cohesion
A class or module that does many unrelated things — high coupling's counterpart, making code hard to understand, test, and reuse.
3mo ago
Code Quality intermediate
Abstract Classes
PHP 5.0+
4
Non-instantiable classes that define shared behaviour and enforce subclasses to implement required methods.
3mo ago
PHP intermediate
Robert C. Martin's layered architecture that places business rules at the centre, independent of frameworks, UI, and databases.
3mo ago
Architecture advanced
Cohesion
The degree to which elements within a module belong together; high cohesion means a class does one thing and does it well.
3mo ago
Code Quality intermediate
Command Query Separation (CQS)
1
Methods should either return a value (query) or change state (command), but never both.
3mo ago
Code Quality intermediate
Composition Over Inheritance
1
Favour assembling behaviour from injected collaborator objects rather than inheriting it from a parent class.
3mo ago
Code Quality intermediate
Coupling
The degree to which one module depends on another; high coupling makes changes expensive and testing difficult.
3mo ago
Code Quality intermediate
Dependency Inversion Principle (DIP)
PHP 5.0+
5
High-level modules should not depend on low-level modules — both should depend on abstractions (interfaces), not on concrete implementations.
3mo ago
PHP intermediate
Divergent Change
One class changes for many different reasons — a sign it has too many responsibilities.
3mo ago
Code Quality intermediate
God Class
PHP 5.0+
A class that knows too much and does too much — violating the Single Responsibility Principle.
3mo ago
Code Quality intermediate
Isolates application core logic from external systems (HTTP, databases, queues) via ports (interfaces) and adapters (implementations).
3mo ago
Architecture advanced
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
Code 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+
3
Contracts that define a set of method signatures a class must implement, enabling polymorphism without inheritance.
3mo ago
PHP intermediate
Large Class
A class that has grown to accumulate too many responsibilities, fields, and methods — a sign it should be split into focused, cohesive classes.
3mo ago
Code Quality beginner
Liskov Substitution Principle
1
Subtypes must be substitutable for their base types without altering the correctness of the program.
3mo ago
Code Quality intermediate
Long Method
PHP 5.0+
A function or method that is too long to understand in one reading — typically 20+ lines is a signal to split.
3mo ago
Code Quality beginner
Open/Closed Principle
PHP 5.0+
1
Classes should be open for extension but closed for modification — add behaviour without changing existing code.
3mo ago
Code Quality intermediate
Open/Closed Principle — PHP Examples
Software entities should be open for extension but closed for modification — add new behaviour without editing existing, tested code.
3mo ago
Code Quality advanced
Refused Bequest
A subclass that inherits methods it doesn't need or want, signalling a misused inheritance relationship.
3mo ago
Code Quality intermediate