<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Building Browsergames - Latest Comments in Building Browsergames: Retrieving Items (PHP)</title><link>http://bbgames.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 08 Jul 2008 19:23:04 -0000</lastBuildDate><item><title>Re: Building Browsergames: Retrieving Items (PHP)</title><link>http://buildingbrowsergames.com/2008/07/03/retrieving-items/#comment-3089136</link><description>Oh, you're right - it looks like PHP 4's end of life has come and gone. I only thought that it had been announced - not that it had happened.&lt;br&gt;&lt;br&gt;Whoops! Thanks for pointing that out, sepp.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bbgames</dc:creator><pubDate>Tue, 08 Jul 2008 19:23:04 -0000</pubDate></item><item><title>Re: Building Browsergames: Retrieving Items (PHP)</title><link>http://buildingbrowsergames.com/2008/07/03/retrieving-items/#comment-3089135</link><description>By the way: Don't take PHP4 as your base. It's obsolete and will be vanished in the near future. Version 5 gives much more powerful tools, especially for object orientated programming. Give it a try ;) . "A lot of hosts" doesn't have to be "the most" ;) .</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sepp</dc:creator><pubDate>Tue, 08 Jul 2008 17:02:48 -0000</pubDate></item><item><title>Re: Building Browsergames: Retrieving Items (PHP)</title><link>http://buildingbrowsergames.com/2008/07/03/retrieving-items/#comment-3089134</link><description>Switching to an OOP system is a pretty good idea - when I first started writing this tutorial code, I didn't realize that I'd be repeating myself quite this much.&lt;br&gt;&lt;br&gt;I'll have to work on designing an OOP version of our database access code - unfortunately, I won't be able to use PDO as I'm aiming at keeping the PHP code given here compatible with PHP 4, which is what a lot of hosts are still using.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bbgames</dc:creator><pubDate>Fri, 04 Jul 2008 10:27:30 -0000</pubDate></item><item><title>Re: Building Browsergames: Retrieving Items (PHP)</title><link>http://buildingbrowsergames.com/2008/07/03/retrieving-items/#comment-3089133</link><description>So what about an oop approach?! For example you could use a class to encapsulate database access? That would prevent doing mysql_real_escape_string() everywhere! Maybe PDO is worth a glance ;) .&lt;br&gt;&lt;br&gt;And: DRY! Dont repeat yourself.&lt;br&gt;&lt;br&gt;et cetera pp</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sepp</dc:creator><pubDate>Fri, 04 Jul 2008 07:55:05 -0000</pubDate></item></channel></rss>