{"id":1297,"date":"2018-09-19T20:09:41","date_gmt":"2018-09-19T19:09:41","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=1297"},"modified":"2018-09-19T20:09:41","modified_gmt":"2018-09-19T19:09:41","slug":"clean-architecture-the-dependency-rule","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/clean-architecture-the-dependency-rule\/","title":{"rendered":"Clean architecture \/ The Dependency Rule"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/8thlight.com\/blog\/uncle-bob\/2012\/08\/13\/the-clean-architecture.html\">https:\/\/8thlight.com\/blog\/uncle-bob\/2012\/08\/13\/the-clean-architecture.html<\/a><\/p>\n<p><em>The Dependency Rule\u00a0<\/em>says that\u00a0<em>source code dependencies<\/em>\u00a0can only point\u00a0<em>inwards<\/em>.<br \/>\n<strong>Nothing<\/strong> in an inner circle can <strong>know anything<\/strong> at all about something in an outer circle.<\/p>\n<p>By <strong>separating<\/strong> the software <strong>into layer<\/strong>s, and conforming to\u00a0<em>The Dependency Rule<\/em>, you will create a system that is intrinsically <strong>testable<\/strong>, with all the benefits that implies. When any of the <strong>external<\/strong> parts of the system become <strong>obsolete<\/strong>, like the database, or the web framework, you can replace those obsolete elements with a <strong>minimum of fuss<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/8thlight.com\/blog\/uncle-bob\/2012\/08\/13\/the-clean-architecture.html The Dependency Rule\u00a0says that\u00a0source code dependencies\u00a0can only point\u00a0inwards. Nothing in an inner circle can know anything at all about something in an outer circle. By separating the software into layers, and conforming to\u00a0The Dependency Rule, you will create a system that is intrinsically testable, with all the benefits that implies. When any of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=1297"}],"version-history":[{"count":1,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/1297\/revisions"}],"predecessor-version":[{"id":1298,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/1297\/revisions\/1298"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}