{"id":192,"date":"2015-04-26T14:00:02","date_gmt":"2015-04-26T12:00:02","guid":{"rendered":"http:\/\/ccd.ralfw.domainfactory-kunde.de\/?page_id=192"},"modified":"2021-12-21T09:48:05","modified_gmt":"2021-12-21T08:48:05","slug":"solid","status":"publish","type":"page","link":"https:\/\/clean-code-developer.de\/en\/weitere-infos\/solid\/","title":{"rendered":"SOLID"},"content":{"rendered":"<ul>\n<li><b>S<\/b>ingle Responsibility Principle <a title=\"SRP\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/orange-degree\/#Single_Responsibility_Principle_SRP\" target=\"_blank\" rel=\"noopener\">SRP<\/a>, <a title=\"Orange degree\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/orange-degree\/\">Orange degree<\/a>\n<ul>\n<li>A class should only have one reason for changes.<\/li>\n<\/ul>\n<\/li>\n<li><b>O<\/b>pen Closed Principle <a title=\"OCP\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/green-degree\/#Open_Closed_Principle\" target=\"_blank\" rel=\"noopener\">OCP<\/a>, <a title=\"Green degree\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/green-degree\/\">Green degree<\/a>\n<ul>\n<li>A class should be open to extensions, but closed to modifications.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><b>L<\/b>iskov Substitution Principle <a title=\"LSP\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/#Liskov_Substitution_Principle\" target=\"_blank\" rel=\"noopener\">LSP<\/a>, <a title=\"Yellow degree\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/\">Yellow degree<\/a>\n<ul>\n<li>A subtype always behaves like its basetype.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><b>I<\/b>nterface Segregation Principle <a title=\"ISP\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/#Interface_Segregation_Principle_ISP\" target=\"_blank\" rel=\"noopener\">ISP<\/a>, <a title=\"Yellow degree\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/\">Yellow degree<\/a>\n<ul>\n<li>Clients should not be burdened with details that they do not need.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><b>D<\/b>ependency Inversion Principle <a title=\"DIP\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/#Dependency_Inversion_Principle\" target=\"_blank\" rel=\"noopener\">DIP<\/a>, <a title=\"Yellow degree\" href=\"http:\/\/clean-code-developer.de\/en\/the-straight\/yellow-degree\/\">Yellow degree<\/a>\n<ul>\n<li>High-level classes should not be dependent on low-level classes, but both should be dependent on interfaces.<\/li>\n<li>Interfaces should not be dependent on details, but details of interfaces.<\/li>\n<\/ul>\n<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Single Responsibility Principle SRP, Oranger Grad Eine Klasse soll nur einen Grund f\u00fcr \u00c4nderungen haben. Open Closed Principle OCP, Gr\u00fcner Grad Eine Klasse soll offen f\u00fcr Erweiterungen sein, aber geschlossen gegen Modifikationen. Liskov Substitution Principle LSP, Gelber Grad Ein Subtype verh\u00e4lt sich immer wie sein Basetype. Interface Segregation Principle ISP, Gelber Grad Clients sollen nicht [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":155,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-192","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/pages\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":4,"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/pages\/192\/revisions"}],"predecessor-version":[{"id":696,"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/pages\/192\/revisions\/696"}],"up":[{"embeddable":true,"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/pages\/155"}],"wp:attachment":[{"href":"https:\/\/clean-code-developer.de\/en\/wp-json\/wp\/v2\/media?parent=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}