<?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>redemption in a blog &#187; PHP</title>
	<atom:link href="http://blog.codefront.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Tue, 24 Jan 2012 01:47:54 +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>Dugg? No problem with WordPress</title>
		<link>http://blog.codefront.net/2007/09/13/dugg-no-problem-with-wordpress/</link>
		<comments>http://blog.codefront.net/2007/09/13/dugg-no-problem-with-wordpress/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 10:53:25 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/09/13/dugg-no-problem-with-wordpress/</guid>
		<description><![CDATA[An old post I wrote on a spoof MMORPG named &#8220;Outside&#8221; was Dugg not too long ago and I was quite pleased to find that my server and the blogging software (WordPress) that I use was handling the load extremely well. Quite obviously I was getting more hits in a day than entire months: My [...]]]></description>
			<content:encoded><![CDATA[<p>An <a href="/2007/08/13/mmorpg-called-outside/">old post I wrote on a spoof <acronym title="Massively Multiplayer Online Role-Playing Game">MMORPG</acronym> named &#8220;Outside&#8221;</a> was <a href="http://digg.com/offbeat_news/Incredible_MMORPG_called_Outside_PIC">Dugg</a> not too long ago and I was quite pleased to find that my server and the blogging software (<a href="http://wordpress.org/">WordPress</a>) that I use was handling the load extremely well. Quite obviously I was getting more hits in a day than entire months:</p>
<div class="img"><img src='http://blog.codefront.net/wp-content/uploads/2007/09/blog-stats-after-getting-dugg.png' alt='Blog stats after getting Dugg' /></div>
<p><br style="clear: both;" /></p>
<p>My setup is a Virtual Private Server (VPS) with 256MB RAM hosted at <a href="http://www.slicehost.com/">SliceHost</a> and this blog is served off <a href="http://nginx.net/">Nginx</a> and PHP FastCGI processes to handle PHP scripts. The wonderful (because it just works and is really easy to setup) <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache WordPress plugin</a> keeps a cache of pages that&#8217;s swept at logical times (i.e. whenever there are any updates or comments).</p>
<p>I may be a Rails/merb fanboy, but this awesome piece of blog software that can stand up to the <a href="http://en.wikipedia.org/wiki/Digg_effect">Digg Effect</a> with ease is <strong>great</strong>. WordPress <code>FTW</code>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/09/13/dugg-no-problem-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BarCamp Singapore Jan 2007</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/</link>
		<comments>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 16:21:21 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/</guid>
		<description><![CDATA[I just got back from BarCamp Singapore a few hours ago. I was only vaguely familiar with the Rules of BarCamp prior to this, and actually only found out about the event from Choon Keat (of RssFwd fame &#8211; check it out if you haven&#8217;t already) 2 days ago. Anyway, props to the organizers for [...]]]></description>
			<content:encoded><![CDATA[<p>I just got back from <a href="http://barcamp.org/BarCampSingapore">BarCamp Singapore</a> a few hours ago. I was only vaguely familiar with the <a href="http://barcamp.org/TheRulesOfBarCamp">Rules of BarCamp</a> prior to this, and actually only found out about the event from <a href="http://blog.yanime.org/">Choon Keat</a> (of <a href="http://rssfwd.com/">RssFwd</a> fame &#8211; check it out if you haven&#8217;t already) 2 days ago.</p>
<p>Anyway, props to the organizers for putting this together (especially the free BarCamp t-shirts from Yahoo!). Personally, I felt the icebreaker game took up too much time that could have been used for the sharing sessions &#8211; the tech track of sessions were crammed up towards the end of BarCamp.</p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2007/01/barcampsingapore.png" alt="BarCamp Singapore logo" /></div>
<p><br style="clear:both" /></p>
<p>Notably, <a href="http://poundbang.in/">Harish Mallipeddi</a>, who interned at <a href="http://www.bezurk.com/">Bezurk</a> for a couple of months, shared with us an introduction to <a href="http://www.djangoproject.com/">Django</a> together with some working code on a site he is working on. I didn&#8217;t know a whole lot about Django before and was impressed that there is a &#8220;free&#8221; admin application for Django applications. We (Choon Keat, Harish, and I) had a small debate over Django&#8217;s templating system (briefly, Django has it&#8217;s own templating system for its views, whereas Rails ERB is basically Ruby code mixed in HTML). To this day I am still convinced that PHP is already a templating language despite my old <a href="http://www.sitepoint.com/article/smarty-php-template-engine">Smarty card-carrying days</a>. Relating back to the Django templating system, Choon Keat and I didn&#8217;t like the idea of having to learn to use a templating language when the base language itself (Ruby or Python) would suffice. Obviously Python syntax wasn&#8217;t suitable for web designer consumption so Django had to come up with its own templating language.</p>
<p>Michael from <a href="http://www.petrolwatch.com.sg/">PetrolWatch</a> showed us some flashy scriptaculous effects on his site and demoed the Ruby on Rails-inspired <a href="http://www.cakephp.org/">CakePHP</a>. It&#8217;s a nice framework if you had to use PHP and performance is a concern (it&#8217;s true, Rails apps run more heavily than PHP scripts, and the difference in performance is very clear in servers with minimal resources). But the lack of a good testing framework was discouraging. Still, I must say I&#8217;d have used it (or a similiar framework) if Rails didn&#8217;t exist or if I was tied to using PHP for web development.</p>
<p><a href="http://blog.yanime.org/">Choon Keat</a> showed the non-believers the power of Rails&#8217; <code>script/console</code> as well as the flexibility of Ruby in allowing developers to make their own extensions to existing classes (aka &#8220;who needs hooks from God?&#8221;). I probably should have stepped in and showed some basic Rails migrations stuff that would have impressed (hopefully) the Django and CakePHP fanbase (all 2 of them) &#8211; but my laptop was running out of battery (and I was shy).</p>
<p>Oh and I saw a good number of Macs there, and at least 3 laptops running a Linux distro of some sort. Cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WordPress devs: &#8220;No, we are not dead&#8221;</title>
		<link>http://blog.codefront.net/2004/11/18/wordpress-devs-no-we-are-not-dead/</link>
		<comments>http://blog.codefront.net/2004/11/18/wordpress-devs-no-we-are-not-dead/#comments</comments>
		<pubDate>Thu, 18 Nov 2004 13:30:03 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/11/18/wordpress-devs-no-we-are-not-dead/</guid>
		<description><![CDATA[Ryan Boren, one of the developers of WordPress (which powers this blog), has an interim update on what&#8217;s going on behind the scenes in WordPress development and the new features in WordPress 1.3. Pages, themes, enclosures, and a richer plugin API are some things to look forward to.]]></description>
			<content:encoded><![CDATA[<p>Ryan Boren, one of the developers of <a href="http://wordpress.org/">WordPress</a> (which powers this blog), has an interim <a href="http://wordpress.org/development/2004/11/whats-going-on/">update on what&#8217;s going on</a> behind the scenes in WordPress development and the new features in WordPress 1.3. Pages, themes, enclosures, and a richer plugin API are some things to look forward to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/11/18/wordpress-devs-no-we-are-not-dead/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LiveSearch hack for WordPress</title>
		<link>http://blog.codefront.net/2004/10/24/livesearch-hack-for-wordpress/</link>
		<comments>http://blog.codefront.net/2004/10/24/livesearch-hack-for-wordpress/#comments</comments>
		<pubDate>Sat, 23 Oct 2004 16:06:57 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/10/24/livesearch-hack-for-wordpress/</guid>
		<description><![CDATA[I found this old link on LiveSearch that I&#8217;d wanted to implement here but never got around to doing so until now. It&#8217;s really quite a bit of a hack right now, with most of the code coming from the LiveSearch page on the Bitflux Blog wiki and with direct calls to PHP&#8217;s MySQL functions [...]]]></description>
			<content:encoded><![CDATA[<p>I found this old link on <a href="http://blog.bitflux.ch/wiki/LiveSearch">LiveSearch</a> that I&#8217;d wanted to implement here but never got around to doing so until now. It&#8217;s really quite a bit of a hack right now, with most of the code coming from the <a href="http://blog.bitflux.ch/wiki/LiveSearch">LiveSearch page on the Bitflux Blog wiki</a> and with direct calls to PHP&#8217;s MySQL functions to get it to work with WordPress.</p>
<p>Instead of replacing the default WordPress search box, I decided to add another one instead (that you can see right now on the left just below the &#8220;standard&#8221; search box) and label it a &#8220;LiveSearch&#8221; box. I do this because livesearch.js seems to crash Firefox randomly on occasion (as mentioned on <a href="http://blog.bitflux.ch/archive/livesearch_roundup.html">Bitflux blog</a>). Besides, it&#8217;s hardly fully done, as it currently only does simple SQL LIKE matching on post titles, and the CSS is somewhat inelegant.</p>
<p>Anyway, what I did was to add livesearch.js to the WordPress index template, and added the LiveSearch form.</p>
<div class="code">&lt;form id=&#8221;livesearchform&#8221; method=&#8221;get&#8221; action=&#8221;http://blog.codefront.net/livesearch.php&#8221;&gt;<br />
  &lt;input autocomplete=&#8221;off&#8221; id=&#8221;livesearch&#8221; name=&#8221;q&#8221; onkeypress=&#8221;liveSearchStart()&#8221; type=&#8221;text&#8221; /&gt;<br />
  &lt;input id=&#8221;submitted&#8221; name=&#8221;submitted&#8221; value=&#8221;yes&#8221; type=&#8221;hidden&#8221; /&gt;<br />
  &lt;div id=&#8221;LSResult&#8221; style=&#8221;display: none;&#8221;&gt;&lt;div id=&#8221;LSShadow&#8221;&gt;&lt;/div&gt;&lt;/div&gt;<br />
&lt;/form&gt;</div>
<p>Next, I hacked out a livesearch.php script (<a href="http://blog.codefront.net/livesearch.phps">source listing for livesearch.php</a>) that performs the relevant query on WordPress&#8217; wp_posts table (may be differently named on your installation) and returns an XML document containing the matching post titles and their URLs. The tricky part was to map the matching post titles to their URLs (since I&#8217;m using SEO-friendly permalinks). All it took was to include the wp-blog-header.php file and have the get_permalink(ID) function return the correct URL.</p>
<p>The other tricky part involved preventing searches in the LiveSearch box from going to the livesearch.php page, because that&#8217;d return an XML page that the user would hardly know how to proceed from. Adding a hidden form field was a quick hack, but it works just fine and redirects the user to the search results page that WordPress spews.</p>
<div class="code">// If the LiveSearch form was actually submitted (as opposed to being requested<br />
// via a XMLHttpRequest, we redirect to the standard WP search page.<br />
if( isset($_GET['submitted']) &#038;&#038; $_GET['submitted'] == &#8216;yes&#8217; ) {<br />
  header(&#8216;Location: &#8216; . get_settings(&#8216;siteurl&#8217;) . &#8216;/?s=&#8217; . $_GET['q']);<br />
  exit;<br />
}</div>
<p>Well, that&#8217;s it for now. It feels really like a hackjob but it works just fine. Perhaps someone could roll this up into a WordPress plugin or we could get LiveSearch as a feature in WordPress in future (as <a href="http://s9y.org/">Serendipity</a> already does).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/10/24/livesearch-hack-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>MT Friend or Foe hack</title>
		<link>http://blog.codefront.net/2004/09/06/mt-friend-or-foe-hack/</link>
		<comments>http://blog.codefront.net/2004/09/06/mt-friend-or-foe-hack/#comments</comments>
		<pubDate>Mon, 06 Sep 2004 13:34:58 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/09/06/mt-friend-or-foe-hack/</guid>
		<description><![CDATA[Ever since Movable Type started to have the comments redirection feature (since version 2.66), comment authors&#8217; URLs have been redirected via a simple redirection script that prevents them from appearing directly on blog entries. This (partially) solved the problem of comment spammers because links from comments no longer benefit from backlinks that add to their [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since Movable Type started to have the comments redirection feature (since <a href="http://www.movabletype.org/docs/mtchanges.html#2.66%20(2004.01.13)">version 2.66</a>), comment authors&#8217; URLs have been redirected via a simple redirection script that prevents them from appearing directly on blog entries. This (partially) solved the problem of comment spammers because links from comments no longer benefit from backlinks that add to their <a href="http://www.google.com/technology/">PageRank</a>. However, legitimate commentors also have their URLs redirected, which to me seems just quite a bit unfriendly.</p>
<p><a href="http://www.neilturner.me.uk/">Neil Turner</a> has worked around this with his aptly named <a href="http://www.neilturner.me.uk/2004/Sep/05/friend_or_foe.html">Friend or foe hack</a> for <acronym title="Movable Type">MT</acronym>. A simple but still neat bit of PHP (and a good example of MT&#8217;s excellent template tags). If you use <acronym title="Movable Type">MT</acronym> and want to &#8220;reward&#8221; your legitimate commentors, you won&#8217;t want to miss this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/09/06/mt-friend-or-foe-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded to PHP5 on Gentoo</title>
		<link>http://blog.codefront.net/2004/09/06/upgraded-to-php5-on-gentoo/</link>
		<comments>http://blog.codefront.net/2004/09/06/upgraded-to-php5-on-gentoo/#comments</comments>
		<pubDate>Mon, 06 Sep 2004 01:21:47 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/09/06/upgraded-to-php5-on-gentoo/</guid>
		<description><![CDATA[Yup I just upgraded from PHP4.3.8 to PHP5.0.1 on the Gentoo VPS hosting this weblog. It went rather smoothly, except for an oversight where I actually forgot to compile PHP with session support (and had to re-compile it). Just unmerge the existing PHP and mod_php packages, and emerge them again from ebuilds. emerge unmerge php [...]]]></description>
			<content:encoded><![CDATA[<p>Yup I just upgraded from PHP4.3.8 to PHP5.0.1 on the Gentoo <acronym title="Virtual Private Server">VPS</acronym> hosting this weblog. It went rather smoothly, except for an oversight where I actually forgot to compile PHP with session support (and had to re-compile it). Just unmerge the existing PHP and mod_php packages, and emerge them again from ebuilds.</p>
<div class="code">emerge unmerge php mod_php<br />
emerge -pv /usr/portage/dev-php/php/php-5.0.1.ebuild<br />
USE=&#8221;curl session mysql postgres zlib ldap&#8221; emerge -v /usr/portage/dev-php/php/php-5.0.1.ebuild<br />
emerge -pv /usr/portage/dev-php/mod_php/mod_php-5.0.1.ebuild<br />
USE=&#8221;curl session mysql postgres zlib ldap&#8221; emerge -v /usr/portage/dev-php/mod_php/mod_php-5.0.1.ebuild</div>
<p>No configuration needed beyond commenting out the LoadModule directive (for PHP4) in the Apache configuration file and changing the Apache startup options (in /etc/conf.d/apache2):</p>
<div class="code">#APACHE2_OPTS=&#8221;-D SSL -D PHP4&#8243;<br />
APACHE2_OPTS=&#8221;-D SSL -D PHP5&#8243;</div>
<p>A restart of Apache2 is all that&#8217;s left.</p>
<p>I&#8217;m not sure if I left any essential stuff out in the USE flags (which roughly translates into configure options) I used so if anyone would be so kind to skim through my <a href="http://codefront.net/phpinfo.php">phpinfo()</a> and let me know, I&#8217;d be grateful and will be sure to return the favor. Some of the USE flags/configure options are pretty self-explanatory but I have no idea what the rest really do. What does excluding the truetype flag mean? Does it mean I don&#8217;t get TrueType font support when dynamically generating images (with gd)? What about the pcre flag? If I don&#8217;t compile with pcre, does that mean no preg_* functions for me? Point me to an explanatory page please (I have been looking).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/09/06/upgraded-to-php5-on-gentoo/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Gotta love those PHP error messages</title>
		<link>http://blog.codefront.net/2004/07/20/gotta-love-those-php-error-messages/</link>
		<comments>http://blog.codefront.net/2004/07/20/gotta-love-those-php-error-messages/#comments</comments>
		<pubDate>Tue, 20 Jul 2004 14:41:19 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/07/20/gotta-love-those-php-error-messages/</guid>
		<description><![CDATA[Coding Object Oriented PHP sure has its perks, one of which is the mildly amusing error message I chanced upon below (in an implementation session that turned out to be a major debugging frenzy). A quick search reveals the cryptic error error message to mean &#8216;a pair of colons&#8217; in Hebrew. You get that when [...]]]></description>
			<content:encoded><![CDATA[<p>Coding Object Oriented PHP sure has its perks, one of which is the mildly amusing error message I chanced upon below (in an implementation session that turned out to be a major debugging frenzy).</p>
<div class="img"><img alt="parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM" src="http://blog.codefront.net/archives/screenshots/T_PAAMAYIM_NEKUDOTAYIM.png" width="330" height="81" border="0" /></div>
<p><br style="clear:both" /></p>
<p>A quick search <a href="http://computingnews.com/article/php.version4/19">reveals</a> the cryptic error error message to mean &#8216;a pair of colons&#8217; in Hebrew. You get that when you leave in an extra &#8216;$&#8217; when addressing a class method, such as:</p>
<p><code>$SomeObject::someMethod();</code></p>
<p>And no class-wide static variables in pre-version 5 PHP? Does not compute&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/07/20/gotta-love-those-php-error-messages/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>The PHP Anthology just arrived</title>
		<link>http://blog.codefront.net/2004/01/12/the-php-anthology-just-arrived/</link>
		<comments>http://blog.codefront.net/2004/01/12/the-php-anthology-just-arrived/#comments</comments>
		<pubDate>Mon, 12 Jan 2004 15:39:46 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2004/01/12/the-php-anthology-just-arrived/</guid>
		<description><![CDATA[The PHP Anthology arrived in the mail today. Shipped by USPS, I wasn&#8217;t too impressed with their delivery when it came in a flimsy paper package and was subsequently stuffed into my tiny mailbox. The result &#8211; two noticeably squashed up books with dented splines and dog-eared corners. Anyway, acrimony aside, the PHP Anthology is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sitepoint.com/books/phpant1/" title="Go to SitePoint's book section for The PHP Anthology">The PHP Anthology</a> arrived in the mail today. Shipped by <acronym title="United States Postal Service">USPS</acronym>, I wasn&#8217;t too impressed with their delivery when it came in a flimsy paper package and was subsequently stuffed into my tiny mailbox. The result &#8211; two noticeably squashed up books with dented splines and dog-eared corners.</p>
<div class="img" style="width:190px;"><img src="http://blog.codefront.net/archives/screenshots/phpant.jpg" alt="Picture of The PHP Anthology" width="180" height="161" border="0" /></div>
<p>Anyway, acrimony aside, the PHP Anthology is a set of 2 books written by <a href="http://www.sitepoint.com/books/phpant1/about.php" title="Read Harry's author profile at SitePoint">Harry Fuecks</a> of <a href="http://www.phppatterns.com/" title="Go to Harry's phpPatterns site">phpPatterns</a> fame. Harry is rather reputable around the PHP circles, and also in the XUL community. He also was a co-author of one of those big red Wrox Press books dealing with XML. So I&#8217;m looking forward this latest publication of his &#8211; it should be good.</p>
<p>Well, I do have <a href="http://sitepoint.com/" title="Go to SitePoint.com">SitePoint</a> to thank for sending me a complimentary copy as part of the benefits program at <a href="http://sitepointforums.com/" title="Go to SitePoint Forums - the friendliest, busiest web development and PHP community">SitePoint Forums</a> &#8211; being an Advisor (otherwise known as a moderator in discussion forum parlance) has it&#8217;s perks. Now if I just have the time to read the books to return SitePoint the favor with a testimonial or a review&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2004/01/12/the-php-anthology-just-arrived/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Great PHP5 article at SitePoint</title>
		<link>http://blog.codefront.net/2003/07/29/great-php5-article-at-sitepoint/</link>
		<comments>http://blog.codefront.net/2003/07/29/great-php5-article-at-sitepoint/#comments</comments>
		<pubDate>Mon, 28 Jul 2003 21:03:39 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2003/07/29/great-php5-article-at-sitepoint/</guid>
		<description><![CDATA[Harry Fuecks has written a very good article on PHP5 at SitePoint entitled &#8216;PHP5: Coming Soon to a Webserver Near You&#8216;. It is a long article, but peppered with code examples illustrating the features of PHP5.]]></description>
			<content:encoded><![CDATA[<p>Harry Fuecks has written a very good article on PHP5 at <a href="http://sitepoint.com">SitePoint</a> entitled &#8216;<a href="http://www.sitepoint.com/article/1192">PHP5: Coming Soon to a Webserver Near You</a>&#8216;. It is a long article, but peppered with code examples illustrating the features of PHP5.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2003/07/29/great-php5-article-at-sitepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP5 beta released</title>
		<link>http://blog.codefront.net/2003/07/02/php5-beta-released/</link>
		<comments>http://blog.codefront.net/2003/07/02/php5-beta-released/#comments</comments>
		<pubDate>Wed, 02 Jul 2003 07:45:42 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/archives/2003/07/02/php5-beta-released/</guid>
		<description><![CDATA[Well so it seems PHP5 has finally become usable enough to be released as a public beta (PHP.net). It is interesting in the way that it is interesting to see an initally non-OO language have OO features pegged on &#8211; remember Perl? The biggie here is the new object model which has been really all [...]]]></description>
			<content:encoded><![CDATA[<p>Well so it seems PHP5 has finally become usable enough to be released as a public beta (<a href="http://www.php.net/">PHP.net</a>). It is interesting in the way that it is interesting to see an initally non-OO language have OO features pegged on &#8211; remember Perl?<br />
<br />
The biggie here is the new object model which has been really all the rage in the PHP developer community for the past months when PHP5 was in development and available via CVS.<br />
<br />
Of the new features, I&#8217;m glad for:</p>
<ul>
<li>interfaces</li>
<li>exception-handling ala Java and C++</li>
<li>the new <tt>__construct()</tt> method that acts as a constructor &#8211; this partially solves the old nasty problem of constructors and inheritance</tt></li>
<li>static class methods and fields</li>
<li>method and property accessibility - public, protected and private</li>
</ul>
<p>
To be honest, I've never really had the time nor want to play with PHP5 when it was in pre-beta development. It does seem to be a nice move, but I'm still undecided on whether the apparent "bulk" of OOP would have an adverse effect on a large user base of, erm, scripters who are largely unknowledgeable of OOP. Or maybe it would finally make the "real programmers" look twice at PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2003/07/02/php5-beta-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

