{"id":2659,"date":"2017-12-20T18:55:58","date_gmt":"2017-12-20T17:55:58","guid":{"rendered":"http:\/\/lloc.de\/?p=2659"},"modified":"2017-12-20T18:55:58","modified_gmt":"2017-12-20T17:55:58","slug":"fun-with-stackoverflow","status":"publish","type":"post","link":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/","title":{"rendered":"Fun with Stackoverflow"},"content":{"rendered":"<p>Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren L\u00f6sungen suchen und auch Stackoverflow mit einbeziehen, um schneller zu einem brauchbaren Ergebnis zu kommen. Es gibt ja auch so einige harte N\u00fcsse zu knacken, die manche anderer vielleicht schon gel\u00f6st hat.<\/p>\n<p><!--more--><\/p>\n<p>Eine sympatische Geschichte, die so passiert ist: Azubi soll die Unit Tests zu einer Klasse liefern, welche die WordPress REST API nutzt. Deshalb muss er\u00a0WP_REST_Request mocken, was er als sehr schwierig wahrnimmt. Er erz\u00e4hlt mir davon und ich recherchiere auch ein bisschen mit. Allerdings findet sich wirklich sehr viel im Netz &#8230; au\u00dfer <a href=\"https:\/\/stackoverflow.com\/questions\/44364842\/mock-a-wp-rest-request-object\">seiner Frage bei Stackoverflow<\/a>, wo ich ihm dann auch geantwortet habe. Wir lachen da immer gern mal zusammen\u00a0 dr\u00fcber!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren L\u00f6sungen suchen und auch Stackoverflow mit einbeziehen, um schneller zu einem brauchbaren Ergebnis zu kommen. Es gibt ja auch so einige harte N\u00fcsse zu knacken, die manche anderer vielleicht schon gel\u00f6st hat.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"wpf_show_in_dewp_planet_feed":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-2659","post","type-post","status-publish","format-standard","hentry","category-dies-und-das"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fun with Stackoverflow - realloc&#039;s asylum<\/title>\n<meta name=\"description\" content=\"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fun with Stackoverflow - realloc&#039;s asylum\" \/>\n<meta property=\"og:description\" content=\"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/\" \/>\n<meta property=\"og:site_name\" content=\"realloc&#039;s asylum\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-20T17:55:58+00:00\" \/>\n<meta name=\"author\" content=\"realloc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"realloc\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/\"},\"author\":{\"name\":\"realloc\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"headline\":\"Fun with Stackoverflow\",\"datePublished\":\"2017-12-20T17:55:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/\"},\"wordCount\":138,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"articleSection\":[\"Dies und das\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/\",\"name\":\"Fun with Stackoverflow - realloc&#039;s asylum\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#website\"},\"datePublished\":\"2017-12-20T17:55:58+00:00\",\"description\":\"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/fun-with-stackoverflow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ploetner.io\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fun with Stackoverflow\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/\",\"name\":\"realloc's asylum\",\"description\":\"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ploetner.io\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\",\"name\":\"realloc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"contentUrl\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"width\":847,\"height\":848,\"caption\":\"realloc\"},\"logo\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\"},\"description\":\"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.\",\"sameAs\":[\"https:\\\/\\\/ploetner.io\\\/\"],\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/author\\\/realloc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fun with Stackoverflow - realloc&#039;s asylum","description":"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/","og_locale":"de_DE","og_type":"article","og_title":"Fun with Stackoverflow - realloc&#039;s asylum","og_description":"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...","og_url":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/","og_site_name":"realloc&#039;s asylum","article_published_time":"2017-12-20T17:55:58+00:00","author":"realloc","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"realloc","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/#article","isPartOf":{"@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/"},"author":{"name":"realloc","@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"headline":"Fun with Stackoverflow","datePublished":"2017-12-20T17:55:58+00:00","mainEntityOfPage":{"@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/"},"wordCount":138,"commentCount":0,"publisher":{"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"articleSection":["Dies und das"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/","url":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/","name":"Fun with Stackoverflow - realloc&#039;s asylum","isPartOf":{"@id":"https:\/\/ploetner.io\/de\/#website"},"datePublished":"2017-12-20T17:55:58+00:00","description":"Was die Sch\u00fclern die Wikipedia ist Stackoverflow f\u00fcr Junior Entwickler? Ich habe keine Probleme damit, wenn Software Entwickler nach schon existieren ...","breadcrumb":{"@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ploetner.io\/de\/fun-with-stackoverflow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ploetner.io\/de\/"},{"@type":"ListItem","position":2,"name":"Fun with Stackoverflow"}]},{"@type":"WebSite","@id":"https:\/\/ploetner.io\/de\/#website","url":"https:\/\/ploetner.io\/de\/","name":"realloc's asylum","description":"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.","publisher":{"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ploetner.io\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8","name":"realloc","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","url":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","contentUrl":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","width":847,"height":848,"caption":"realloc"},"logo":{"@id":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg"},"description":"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.","sameAs":["https:\/\/ploetner.io\/"],"url":"https:\/\/ploetner.io\/de\/author\/realloc\/"}]}},"_links":{"self":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts\/2659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/comments?post=2659"}],"version-history":[{"count":0,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts\/2659\/revisions"}],"wp:attachment":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/media?parent=2659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/categories?post=2659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/tags?post=2659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}