Category PHP

Invision Power Board forum bridge

This is a script we use on the norwegian community root.no to show the latest messages from our IPB forum in our WordPress blog template. I already published this on my norwegian blog so I figgured I’d do the english speaking world a favor and publish it here as well in case someone was searching for “Invision Power Board forum bridge” and found the norwegian language one ;-) The script can be downloaded here.

PEAR DataObjects vs. Propel vs. EzPDO vs .. Java!

Using an object perstistence layer can be greatly benefitial for any medium to large size project. Or, any project at all some would say. If you don’t know what I’m talking about, I’ll give you a quick example. Usually, in PHP we would do something ugly-bugly like this to retrieve info about a certain item in the database: $res = mysql_query(“SELECT * FROM article WHERE ID=5”); if($row == mysql_fetch_assoc($res)) { echo $row[“title”]; // do something here } Compare it to this:

The Java community retaliates – "PHP is …"

Ok, it’s time to let the people of #java on Ef-net let us know what they thought of PHP in the period from July to December 2005 (read: yes, I’ve done a grep -iH “php is” on my #java irclogs). Of course, we all know the PHP developers had strong opinions on Java, so this will be interesting. < @Tenchi> php is terd < @aut> straight php is faster than using php to transform xml < waz> don’t forget “PHP is slow!

PHP Frameworks that I have on my to-checkout list

It’s exciting times for PHP. Quality frameworks are popping up like daisies mushrooms skunk cabbage, and it seems like every bob the builder out there is releasing one. Please leave a comment if you know of a framework I haven’t mentioned, or if you have experience with one in the list. For the project I’m doing at the moment I’m using Seagull, but there are so many good frameworks out there – and I’d like to test at least 3-4 of them by implementing a real-world project.