<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 06 Sep 2008 23:16:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Dokeos Blog: mbstring vs iconv]]></title>
      <guid>http://www.phpdeveloper.org/news/10034</guid>
      <link>http://www.phpdeveloper.org/news/10034</link>
      <description><![CDATA[<p>
In <a href="http://dokeoslead.wordpress.com/2008/04/22/mbstring-vs-iconv/">this post</a> on the Dokeos blog, there's a comparison of the <a href="http://www.php.net/mbstring">mbstring</a> function and the <a href="http://php.net/iconv">iconv</a> library as it pertains to their use on multi-byte strings.
</p>
<blockquote>
I was wondering today why use mbstring rather than iconv in Dokeos, and honestly I didn't remember exactly why I had chosen mbstring in the past, but finding information about the *differences* between the two. [...] Searching a bit more, I found a <a href="http://www.nyphp.org/content/presentations/smallworld/April2006-nyphp-Presentation.ppt">PPT presentation</a> from Carlos Hoyos on Google.
</blockquote>
<p>
Essentially, it boils down to how the library is integrated - mbstring is bundled and iconv is pulled from an external source. So, if you're looking for maximum portability, he recommends mbstring.
</p>]]></description>
      <pubDate>Thu, 24 Apr 2008 11:18:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: Do not trust the reflection API]]></title>
      <guid>http://www.phpdeveloper.org/news/9507</guid>
      <link>http://www.phpdeveloper.org/news/9507</link>
      <description><![CDATA[<p>
On the Stubbles blog, <i>Frank Kleine</i> <a href="http://www.stubbles.org/archives/40-Do-not-trust-the-reflection-API.html">offers some advice</a> to developers looking to use the Reflection API - "don't trust it".
</p>
<blockquote>
If you try to get informations about parameters from methods of internal classes - forget that. Examining several internal classes my key findings are: either there is no information about parameters available and the reflection API says the method does not have any parameters, or the information about the parameter is wrong.
</blockquote>
<p>
He <a href="http://www.stubbles.org/archives/40-Do-not-trust-the-reflection-API.html">includes code examples</a> along side the output from the script to illustrate his point. 
</p>]]></description>
      <pubDate>Mon, 28 Jan 2008 13:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Internet Super Hero Blog: Debugging ext/mysqli and mysqlnd]]></title>
      <guid>http://www.phpdeveloper.org/news/8571</guid>
      <link>http://www.phpdeveloper.org/news/8571</link>
      <description><![CDATA[<p>
With all of the good news they've posted about the mysqlnd driver, the developers behind the Internet Super Hero blog know that there will be bugs that come up in the driver. So, they've <a href="http://blog.ulf-wendel.de/?p=159">addressed the right way</a> to find and deal with these issues in a new blog entry.
</p>
<blockquote>
he bad news: mysqlnd might have bugs. How to report and debug these bugs - using mysqli_debug() - is subject of this posting.
</blockquote>
<p>
They <a href="http://blog.ulf-wendel.de/?p=159">step you through</a> the process for finding out what's causing the problems (internal versus external debugging) and how to make client traces with the mysqi extension to make it even easier for the developers to track down the problem. They also suggest a few things to send along with your bug report - like the PHP code calling it or the SQL you're using to select/update/insert/delete the data from your database.
</p>]]></description>
      <pubDate>Mon, 03 Sep 2007 08:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevGuide.net: Dynamic Bitmap Graphics with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/7144</guid>
      <link>http://www.phpdeveloper.org/news/7144</link>
      <description><![CDATA[<p>
<i>Jacek Artymiak</i> published the <a href="http://www.devguide.net/index.php?q=node/30">second edition</a> of his "Dynamic Bitmap Graphics with PHP and GD" tutorial over on DevGuide.net today focusing specifically on creating bitmaps on the fly.
</p>
<p>
The 39 page guide ($15 USD from Lulu.com) provides a wealth of knowledge about working with graphics in PHP including a detailed look at some of the more advanced functionality of GD. The book covers your first steps with GD and graphics, working with primitives, creating an image based on external data, and embedding them into an XHTML/HTML page of your choosing.
</p>
<p>
The <a href="http://www.devguide.net/index.php?q=node/30">page for the book</a> on DevGuide.net itself even provides a great list of resources for those looking to get into graphics with PHP - with links to everything from the basic software (webservers, PHP, etc) out to the libraries you'll need and some other tutorials to help you even after you've worked through the book.
</p>]]></description>
      <pubDate>Mon, 22 Jan 2007 16:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Elizabeth Smith's Blog: Fun with compiling - Gtk+, PHP-Gtk2, and MSVC]]></title>
      <guid>http://www.phpdeveloper.org/news/6938</guid>
      <link>http://www.phpdeveloper.org/news/6938</link>
      <description><![CDATA[<p>
<i>Elizabeth Smith</i> has <a href="http://elizabethmariesmith.com/2006/12/18/fun-with-compiling-gtk-php-gtk2-and-msvc/">a new post</a> to her blog today covering some of the fun she's been having with compiling things like Gtk+ and PHP-Gtk2.
</p>
<blockquote>
So I've been using microsoft visual studio (actually it's Visual C++ Express, but uses the same stuff behind the scenes) to work on getting things compiled on windows. PHP-Gtk2 allows for some nifty extensions, well at least on linux. So I've been working to get versions of libglade, scintilla, gtksourceview and mozembed working on windows. It's a long, slow process. Here's the deal so far.
</blockquote>
<p>
She <a href="http://elizabethmariesmith.com/2006/12/18/fun-with-compiling-gtk-php-gtk2-and-msvc/">talks about</a> her current situation (what's compiling and what's not) and the software that she's trying to get up and running. She also mentions a problem she's been having with an error message talking about "unresolved external symbols" she'll need to track down (or get some help on - anyone out there seen it?)
</p>]]></description>
      <pubDate>Tue, 19 Dec 2006 14:34:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Elizabeth Smith's Blog: Compiling PHP5.2 on Windows with .Net toolchain - is it even possible?]]></title>
      <guid>http://www.phpdeveloper.org/news/6679</guid>
      <link>http://www.phpdeveloper.org/news/6679</link>
      <description><![CDATA[<p>
<i>Elizabeth Smith</i> has <a href="http://elizabethmariesmith.com/2006/11/09/compiling-php52-on-windows-with-net-toolchain-is-it-even-possible/">had an adventure</a> - one where she's tried to get something (seemingly) simple to work on a less than simple platform. She tried to compile PHP 5.2 on Windows with a .Net toolkit. This is her story:
</p>
<blockquote>
For three days I fought with compiling PHP5.2 on windows. The point was to be able to compile PHP-GTK2 a little more often. [...] I'm always up for learning something new and I thought I had enough google skills and entry level knowledge to get things going. Alas, it has all failed.
</blockquote>
<p>
She <a href="http://elizabethmariesmith.com/2006/11/09/compiling-php52-on-windows-with-net-toolchain-is-it-even-possible/">recounts the steps</a> she followed in her effort to get the setup working, including setting up the compile environment (no small task thanks to dependencies for Visual C++ Express Edition) and getting down into the PHP. This causes troubles of its own - from command line options not getting passed to external library dependencies - with the ultimate unfortunate result.
</p>
<blockquote>
<p>
All the way to the end and the linker fails AGAIN. What the heck? So I start doing some searching...turned off EVERYTHING and tried to build and ended up with weird iconv and libxml errors - even with disable-all.
</p>
<p>
nothing works.
</p>
</blockquote>]]></description>
      <pubDate>Fri, 10 Nov 2006 07:03:58 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Vidyut Luther's Blog: PHP Namespaces - Working with external teams and possibly frameworks]]></title>
      <guid>http://www.phpdeveloper.org/news/4914</guid>
      <link>http://www.phpdeveloper.org/news/4914</link>
      <description><![CDATA[<i>Vidyut Luther</i> has posted <a href="http://www.phpcult.com/archives/45-PHP-Namespaces-Working-with-external-teams-and-possibly-frameworks..html">a new item</a> on his blog today that presents a situation he's been given concerning namespaces.
<p>
<quote>
<i>
I've run into an issue, or rather a friend of mine has. He asked me for advice, I gave it to him, but I'm curious how others would do this. The problem is this:
<p>
Team A, has been working on some code for a few months, Team A has a class called "SomeClass". Team B, is an "outsourced" team, who is writing a SOAP interface to Team A's code. Somehow, due to whatever reasons, Team A and Team B developers didn't talk.
<p>
Team B also created a class and called it "SomeClass". These classes are in files called  "Aclass.class.php"  and  "Bclass.class.php" . There are some files, that include both files.. obviously, you end up with a "cannot redeclare class" fatal error. 
</i>
</quote>
<p>
<i>Vidyut</i>'s <a href="http://www.phpcult.com/archives/45-PHP-Namespaces-Working-with-external-teams-and-possibly-frameworks..html">suggestion</a> was to just to change the class names. Unfortunately, this might not work if there is no communication between the two parties - they cannot come to a compromise on the naming.
<p>
He question to the community is "How do you handle an issue of single namespace, or rather no namespace ?"]]></description>
      <pubDate>Wed, 01 Mar 2006 07:04:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andi Gutmans' Blog:  PHP is a great language!]]></title>
      <guid>http://www.phpdeveloper.org/news/4609</guid>
      <link>http://www.phpdeveloper.org/news/4609</link>
      <description><![CDATA[On his blog today, <i>Andi Gutmans</i> has <a href="http://andigutmans.blogspot.com/2006/01/php-is-great-language.html">posted his feelings</a> on the growing trend of PHP developers turnng to the C level of things to add new functionality to the PHP development.
<p>
<quote>
<i>
One thing I have noticed, is that quite often, PHP developers who are seeking for new PHP features are prematurely trying to implement them in C. Although, there are definitely cases where you want to write your code in C, I think in some cases PHP is too quickly dismissed. 
<p>
Developing features in PHP not only takes less time, but is also less prone to bugs, easier to maintain, and more stable and secure. Also, in the majority of cases, whether such a feature were implemented in C or PHP, would not make a significant different to overall application performance.
</i>
</quote>
<p>
He <a href="http://andigutmans.blogspot.com/2006/01/php-is-great-language.html">gives the example</a> of the ZSearch functionality that they mentioned in the <a href="http://www.phparch.com/webcasts/recordings/dec0205_zend.php">php|architect webcast</a> for the Zend framework - entirely implemented in PHP, not C. He also mentions a point that web developers would do good to take to heart - the bottlenecks usually aren't in the code - it's dealing with external resources that's the problem...]]></description>
      <pubDate>Thu, 05 Jan 2006 06:37:38 -0600</pubDate>
    </item>
  </channel>
</rss>
