<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>puremango.co.uk &#187; PHP</title> <atom:link href="http://www.puremango.co.uk/category/php/feed/" rel="self" type="application/rss+xml" /><link>http://www.puremango.co.uk</link> <description>innovative coding, tutorials, web stuff. celebrating 6 years online.</description> <lastBuildDate>Thu, 19 Jan 2012 18:35:13 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Poking holes in PHP object privacy</title><link>http://www.puremango.co.uk/2010/11/poking-holes-in-php-object-privacy/</link> <comments>http://www.puremango.co.uk/2010/11/poking-holes-in-php-object-privacy/#comments</comments> <pubDate>Mon, 01 Nov 2010 11:15:59 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[advisory]]></category> <category><![CDATA[antipattern]]></category> <category><![CDATA[call_user_func]]></category> <category><![CDATA[code]]></category> <category><![CDATA[oop]]></category> <category><![CDATA[private]]></category> <category><![CDATA[protected]]></category> <category><![CDATA[public]]></category> <category><![CDATA[security]]></category> <category><![CDATA[__call]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=1463</guid> <description><![CDATA[PHP provides a decent model of class member visibility, with public, private, and protected members to help you define tight APIs for your objects and show other developers how your object is supposed to be used. But used naively, PHP&#8217;s &#8216;magic methods&#8217; can easily and subtly subvert this system, making everything public. If you&#8217;re still [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/11/poking-holes-in-php-object-privacy/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Overloading in PHP</title><link>http://www.puremango.co.uk/2010/10/overloading-in-php/</link> <comments>http://www.puremango.co.uk/2010/10/overloading-in-php/#comments</comments> <pubDate>Sun, 10 Oct 2010 19:33:00 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[call_user_func]]></category> <category><![CDATA[classes]]></category> <category><![CDATA[code]]></category> <category><![CDATA[magic methods]]></category> <category><![CDATA[objects]]></category> <category><![CDATA[oop]]></category> <category><![CDATA[overloading]]></category> <category><![CDATA[__call]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=1430</guid> <description><![CDATA[Murray Picton wrote up a blog post today on overloading functions in PHP. Overloading is a useful feature of many languages. Murray gives a nice definition in his post: Overloading a function is the ability to define a function more than once with a different set of parameters for each one and then when it [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/10/overloading-in-php/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Fast PHP array_unique for removing duplicates</title><link>http://www.puremango.co.uk/2010/06/fast-php-array_unique-for-removing-duplicates/</link> <comments>http://www.puremango.co.uk/2010/06/fast-php-array_unique-for-removing-duplicates/#comments</comments> <pubDate>Mon, 21 Jun 2010 08:23:21 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[array_flip]]></category> <category><![CDATA[array_reverse]]></category> <category><![CDATA[array_unique]]></category> <category><![CDATA[code]]></category> <category><![CDATA[developer]]></category> <category><![CDATA[fast]]></category> <category><![CDATA[optimisation]]></category> <category><![CDATA[tech]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=1039</guid> <description><![CDATA[PHP&#8217;s native dedupe function, array_unique, can be slow for large amount of input. Here I&#8217;m going to talk about a simple function that performs the same task but which runs a lot faster. Often, people spout PHP optimisation advice that is incredibly misguided, so I want to make it clear up-front that you should be [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/06/fast-php-array_unique-for-removing-duplicates/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Fast PHP &#8211; effective optimisation and bottleneck detection</title><link>http://www.puremango.co.uk/2010/04/fast-php/</link> <comments>http://www.puremango.co.uk/2010/04/fast-php/#comments</comments> <pubDate>Sun, 18 Apr 2010 14:42:14 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Productivity]]></category> <category><![CDATA[web]]></category> <category><![CDATA[cache]]></category> <category><![CDATA[code]]></category> <category><![CDATA[guide]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[tools]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=867</guid> <description><![CDATA[PHP is not the fastest language on earth. That honour probably goes to machine code. But like many high-level languages, PHP provides some handy abstractions, like named variables, hashmaps (associative arrays), a C-like syntax, object oriented capabilities, loose typing and so on &#8211; we trade processing speed for development ease. So it&#8217;s quite a common [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/04/fast-php/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Super Useful Web Dev Tools</title><link>http://www.puremango.co.uk/2010/03/super-useful-web-dev-tools/</link> <comments>http://www.puremango.co.uk/2010/03/super-useful-web-dev-tools/#comments</comments> <pubDate>Wed, 17 Mar 2010 13:25:47 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[Firefox]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Productivity]]></category> <category><![CDATA[Programs]]></category> <category><![CDATA[code]]></category> <category><![CDATA[msie]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[regex]]></category> <category><![CDATA[tools]]></category> <category><![CDATA[web]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=850</guid> <description><![CDATA[OMG, it&#8217;s been a whole month since my last update. I have draft posts about all kinds of Good Stuff™, but none are quite publishable yet. So today I&#8217;m just going to point you at a few great resources I use all the time while doing my web development magic: Before I start on the [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/03/super-useful-web-dev-tools/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>allRGB Entry &#8211; PHP Image Manipulation</title><link>http://www.puremango.co.uk/2010/02/allrgb-entry-php-image-manipulation/</link> <comments>http://www.puremango.co.uk/2010/02/allrgb-entry-php-image-manipulation/#comments</comments> <pubDate>Wed, 10 Feb 2010 08:38:44 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[allrgb]]></category> <category><![CDATA[colours]]></category> <category><![CDATA[demo]]></category> <category><![CDATA[geek]]></category> <category><![CDATA[imagecreate]]></category> <category><![CDATA[images]]></category> <category><![CDATA[rgb]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=773</guid> <description><![CDATA[The objective of allRGB is simple: To create images with one pixel for every rgb-color (16777216 to be exact); not one color missing, and not one color twice. What a cool project! As regular readers will know, I love messing about with image manipulation in PHP, so when I heard about the allRGB project I [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/02/allrgb-entry-php-image-manipulation/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Textpad PHP manual lookup tool</title><link>http://www.puremango.co.uk/2010/02/textpad-php-manual-lookup-tool/</link> <comments>http://www.puremango.co.uk/2010/02/textpad-php-manual-lookup-tool/#comments</comments> <pubDate>Mon, 01 Feb 2010 19:11:40 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Productivity]]></category> <category><![CDATA[guide]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[software]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=743</guid> <description><![CDATA[A little tip for those of us using textpad to develop in PHP. How often do you find yourself having to go back to PHP.net to check up on a function &#8211; is it ($needle, $haystack) or ($haystack, $needle)? I can never remember! With this tool I just need to highlight the function in textpad, [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2010/02/textpad-php-manual-lookup-tool/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>GIFexplode &#8211; community powered web development</title><link>http://www.puremango.co.uk/2009/08/gifexplode-community-powered-web-development/</link> <comments>http://www.puremango.co.uk/2009/08/gifexplode-community-powered-web-development/#comments</comments> <pubDate>Sun, 02 Aug 2009 18:35:00 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[web]]></category> <category><![CDATA[code]]></category> <category><![CDATA[geek]]></category> <category><![CDATA[images]]></category> <category><![CDATA[tech]]></category> <category><![CDATA[tools]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=573</guid> <description><![CDATA[Let me share with you a very cool story about strangers coming together and building something. I was browsing reddit yesterday, and I saw a thread entitled &#8220;Someone needs to make a Firefox add-on that lets you step through animated gifs frame by frame&#8220;. I thought &#8220;hey that&#8217;s a nice well defined simple idea&#8221; &#8211; [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2009/08/gifexplode-community-powered-web-development/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Howard Yeend: UK Web Developer CV</title><link>http://www.puremango.co.uk/2009/08/php-cv/</link> <comments>http://www.puremango.co.uk/2009/08/php-cv/#comments</comments> <pubDate>Sat, 01 Aug 2009 13:40:52 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[(misc)]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[cv]]></category> <category><![CDATA[developer]]></category> <category><![CDATA[howard]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[programmer]]></category> <category><![CDATA[resumé]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=217</guid> <description><![CDATA[Northampton UK / howard.yeend@gmail.com Availability Not currently seeking work. Sorry! (updated July 2011) Skills JavaScript (The Good Parts) / jQuery / HTML5 / CSS3 / Ajax / JSON / XKCD Object Oriented PHP 5 MySQL Familiar with memcache and other elements involved in running high performance scalable websites from an architectural perspective. Excellent SEO ability; [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2009/08/php-cv/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP error handling</title><link>http://www.puremango.co.uk/2009/07/php-error-handling/</link> <comments>http://www.puremango.co.uk/2009/07/php-error-handling/#comments</comments> <pubDate>Sun, 05 Jul 2009 11:59:44 +0000</pubDate> <dc:creator>Howard Yeend</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[code]]></category> <category><![CDATA[debug_backtrace]]></category> <category><![CDATA[error]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[trigger_error]]></category> <guid
isPermaLink="false">http://www.puremango.co.uk/?p=548</guid> <description><![CDATA[Does this type of error handling code look familiar? function doFunction&#40;$var&#41; &#123; if&#40;is_numeric&#40;$var&#41;&#41; &#123; /* do some stuff*/ &#125; else &#123; return -1; &#125; &#125; BLEH. How ugly is that? There&#8217;s no indication whether -1 is actually an error or a valid return value, or what it means. And other functions might use false to [...]]]></description> <wfw:commentRss>http://www.puremango.co.uk/2009/07/php-error-handling/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
