{"id":5,"date":"2007-02-23T14:45:27","date_gmt":"2007-02-23T14:45:27","guid":{"rendered":"http:\/\/muratyaman.co.uk\/wp\/?p=5"},"modified":"2020-04-01T13:00:18","modified_gmt":"2020-04-01T12:00:18","slug":"php-conference","status":"publish","type":"post","link":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/2007\/02\/php-conference\/","title":{"rendered":"UK PHP Conference: Output"},"content":{"rendered":"<p>I must admit, it was the first PHP conference I&#8217;ve ever been and really enjoyed it. Though meeting new people is always difficult, but my colleague Kalpana and I were able to chat with less than 10 PHP fans \ud83d\ude42<\/p>\n<p>Listening to <a href=\"http:\/\/lerdorf.com\">Rasmus Lerdorf<\/a>, the creator of PHP, was cool! He tried to connect his mac laptop to the university&#8217;s wireless network and he could not. He showed us 3 photos: a cruise, a mountain top, and a naked land in India (a cow was sitting :p) he asked us to guess what was common in those 3 places. We all shouted in a choir &#8220;<b>no internet connection<\/b>&#8220;! He surprised us: they provided him with a wireless connection in the conferences he&#8217;d been invited in those places, but we could <strong>not <\/strong>in the heart of London!!!<\/p>\n<p>In his slides he had some very usefull <strong>optimisation<\/strong> techniques in <strong><a href=\"http:\/\/php.net\/pgsql\">PHP\/PostgreSQL<\/a><\/strong> applications. On one side, a dummy web programmer would have asked the boss to buy 100 very powerfull and expensive servers to serve a few thousand visitors per second. On the other hand, an expert PHP programmer would have changed the code a bit and configure the server to achieve this, especially opening and closing database connections are very time consuming operations for PostgreSQL rather than querying the database.<\/p>\n<p>For example, using a <strong>persistent connection<\/strong> may help a lot, depending on the web server architecture, because each request may be served by a different server process and hence cannot use the available persistent connection.<\/p>\n<p>Getting rid of <strong>secure connections<\/strong> to the database will increase performance, because if the database server is configured to accept <strong>local connections<\/strong> only, it is secure already!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I must admit, it was the first PHP conference I&#8217;ve ever been and really enjoyed it. Though meeting new people is always difficult, but my colleague Kalpana and I were able to chat with less than 10 PHP fans \ud83d\ude42<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[73,26],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-technology","tag-networking","tag-php"],"_links":{"self":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":2,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":993,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/5\/revisions\/993"}],"wp:attachment":[{"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.muratyaman.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}