{"id":507,"date":"2009-01-21T22:37:43","date_gmt":"2009-01-21T22:37:43","guid":{"rendered":"https:\/\/virtualchaos.co.uk\/blog\/?p=507"},"modified":"2009-01-21T22:38:22","modified_gmt":"2009-01-21T22:38:22","slug":"why-php-won","status":"publish","type":"post","link":"https:\/\/virtualchaos.co.uk\/blog\/2009\/01\/21\/why-php-won\/","title":{"rendered":"Why PHP Won"},"content":{"rendered":"<p>\nAn <a href=\"http:\/\/startuplessonslearned.blogspot.com\/2009\/01\/why-php-won.html\">excellent article by Eric Reis<\/a> over on his blog in which he talks about &#8220;why PHP won&#8221; in his web application development over other (web scripting) languages:\n<\/p>\n<blockquote><p>\nAs a language, it&#8217;s inelegant. Its object-orientation support is &#8220;much improved&#8221; &#8211; which is another way of saying it&#8217;s been horrendous for a long time. Writing unit tests or mock objects in PHP is an exercise in constant frustration. And yet I keep returning to PHP as a development platform, as have most of my fellow startup CTOs. This post is about why.\n<\/p><\/blockquote>\n<p>\nIts an interesting piece in which Eric chooses to describe PHP&#8217;s success in terms of what a new language might have to do better in order to challenge PHP&#8217;s popularity\/success, in short he suggests the following:<\/p>\n<ul>\n<li>Speed of iteration (a good write\/test\/debug cycle)<\/li>\n<li>Better mapping of outputs to inputs<\/li>\n<li>A similar standard library<\/li>\n<li>A better OOP implementation<\/li>\n<\/ul>\n<p>\nI have to confess I found myself agreeing with Eric. His piece is well worth reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An excellent article by Eric Reis over on his blog in which he talks about &#8220;why PHP won&#8221; in his web application development over other (web scripting) languages: As a language, it&#8217;s inelegant. Its object-orientation support is &#8220;much improved&#8221; &#8211; &hellip; <a href=\"https:\/\/virtualchaos.co.uk\/blog\/2009\/01\/21\/why-php-won\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[404,124],"class_list":["post-507","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-development","tag-php"],"_links":{"self":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=507"}],"version-history":[{"count":0,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts\/507\/revisions"}],"wp:attachment":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}