{"id":111,"date":"2014-03-19T20:38:25","date_gmt":"2014-03-20T04:38:25","guid":{"rendered":"http:\/\/www.tech.dimprash.com\/?p=111"},"modified":"2023-03-29T18:44:43","modified_gmt":"2023-03-30T02:44:43","slug":"design-patterns","status":"publish","type":"post","link":"http:\/\/www.tech.dimprash.com\/?p=111","title":{"rendered":"Design Patterns"},"content":{"rendered":"<p>In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn&#8217;t a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations.<\/p>\n<p>There are three basic kinds of design patterns:<\/p>\n<ul>\n<li>creational<\/li>\n<li>structural<\/li>\n<li>behavioral<\/li>\n<\/ul>\n<p>Creational patterns provide instantiation mechanisms, making it easier to create objects in a way that suits the situation.<\/p>\n<p>Structural patterns generally deal with relationships between entities, making it easier for these entities to work together.<\/p>\n<p>Behavioral patterns are used in communications between entities and make it easier and more flexible for these entities to communicate.<\/p>\n<p>References :<br \/>\n<a href=\"http:\/\/sourcemaking.com\/design_patterns\/factory_method\">http:\/\/sourcemaking.com\/design_patterns\/factory_method<\/a><\/p>\n<p><a href=\"https:\/\/refactoring.guru\/design-patterns\/\">https:\/\/refactoring.guru\/design-patterns\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>================================ BEHAVIORAL =================================<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn&#8217;t a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. There are &hellip; <a href=\"http:\/\/www.tech.dimprash.com\/?p=111\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Design Patterns<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":55,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":1135,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/1135"}],"wp:attachment":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}