
{"id":2443,"date":"2017-10-02T23:04:59","date_gmt":"2017-10-03T03:04:59","guid":{"rendered":"http:\/\/www.ikriv.com\/blog\/?p=2443"},"modified":"2017-10-02T23:14:26","modified_gmt":"2017-10-03T03:14:26","slug":"template-factory-builder","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=2443","title":{"rendered":"Template Factory Builder"},"content":{"rendered":"<p>Hurrah, our project actually has a class named <code>(Something)TemplateFactoryBuilder<\/code>! <\/p>\n<p>What does it do? Well, it&#8217;s very easy. It takes a serialized string and creates a factory, which will produce a template, which, when given a Something, will create a graphical representation of said Something. It may seem that Steve Yegge was exaggerating in his &#8220;<a href=\"https:\/\/steve-yegge.blogspot.com\/2006\/03\/execution-in-kingdom-of-nouns.html\">Execution in the Kingdom of Nouns<\/a>&#8220;, but no, he was not.<\/p>\n<p>I guess the next step would be <code>SomethingTemplateFactoryBuilderProvider<\/code> followed, perhaps, by <code>SomethingTemplateFactoryBuilderProviderGenerator<\/code>, and then by <code>SomethingTemplateFactoryBuilderProviderGeneratorCreator<\/code>, at which point the project would probably run out of steam and quietly forgotten. After all, perfection is achieved on the point of collapse.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hurrah, our project actually has a class named (Something)TemplateFactoryBuilder! What does it do? Well, it&#8217;s very easy. It takes a serialized string and creates a factory, which will produce a <a href=\"https:\/\/ikriv.com\/blog\/?p=2443\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":["entry","author-ikriv","post-2443","post","type-post","status-publish","format-standard","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2443"}],"version-history":[{"count":8,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2443\/revisions"}],"predecessor-version":[{"id":2452,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2443\/revisions\/2452"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}