Tag Archives: SRP

WordPress Themes vs Plugins and the single responsibility principle

Have you every thought about what should go into a WordPress theme and what should go into a WordPress plugin? This is a question that I for sometime have been thinking reading about. The WordPress codex has the following definitions: ”Fundamentally, the WordPress Theme … Continue reading

Posted in Web Development | Tagged , , , , | Kommentarer inaktiverade för WordPress Themes vs Plugins and the single responsibility principle

The single responsibility principle

”A class should have one, and only one, reason to change.” – Robert C Martin If I had to choose one design principle that has been most useful to practice over time it surely is the single responsibility principle (SRP). … Continue reading

Posted in Software | Tagged , , , | 1 Comment