<?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, 25 May 2013 09:48:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lars Strojny's Blog: PHP Segfaulting with PECL/UUID and PECL/IMAGICK]]></title>
      <guid>http://www.phpdeveloper.org/news/15098</guid>
      <link>http://www.phpdeveloper.org/news/15098</link>
      <description><![CDATA[<p>
If you've been using (or will be using) the <a href="http://usrportage.de/archives/pecl/uuid">uuid</a> and <a href="http://usrportage.de/archives/pecl/imagick">imagick</a> extensions for PHP, you might be able to save yourself a lot of headache by reading <a href="http://usrportage.de/archives/922-PHP-segfaulting-with-pecluuid-and-peclimagick.html">this new post</a> from <i>Lars Strojny</i> about his segfault woes.
</p>
<blockquote>
Ran into a bug yesterday, where <a href="http://usrportage.de/archives/pecl/uuid">http://pecl.php.net/uuid</a> in combination with <a href="http://usrportage.de/archives/pecl/imagick">http://pecl.php.net/imagick</a> yielded a segfault when using uuid_create().
</blockquote>
<p>
After trying to trace it down with a backtrace and cachegrind results, he (and <a href="http://valokuva.org/">Mikko</a> & <a href="http://blog.thepimp.net/">Pierre</a>) found that both extensions were built against the libuuid.so.1 file. While that wasn't the issue directly, they did find a work-around that helped the issue - renaming some ini files so uuid was loaded first.
</p>]]></description>
      <pubDate>Wed, 08 Sep 2010 14:17:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: String substitution using UUIDs]]></title>
      <guid>http://www.phpdeveloper.org/news/10883</guid>
      <link>http://www.phpdeveloper.org/news/10883</link>
      <description><![CDATA[<p>
On the Debuggable blog, <i>Felix Geisendorfer</i> shows how to <a href="http://www.debuggable.com/posts/string-substitution-using-uuids:48ad0e84-7c80-4bfd-b6be-4e8d4834cda3">create a string parser</a> that allows you to pull out parts of the string you don't currently want manipulated to be put back later.
</p>
<blockquote>
If you've ever written any non-trivial String processing code, you've probably ran into the situation where you wanted to exclude certain parts of your string for a certain operation. Usually that would mean you have to tokenize your string, or adjust the operation you want to run so it doesn't affect the part of the string you want to exclude from it. Both of those solutions can be fairly time intensive so I was looking for a shortcut and found one.
</blockquote>
<p>
He provides the code for this string substitution class, a method substitute() that matches based on a regular expression and, if found, stores the parts for later use.
</p>]]></description>
      <pubDate>Fri, 22 Aug 2008 12:04:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload Thumbnails]]></title>
      <guid>http://www.phpdeveloper.org/news/8007</guid>
      <link>http://www.phpdeveloper.org/news/8007</link>
      <description><![CDATA[<p>
The Bakery has four new items posted today including articles looking at load balancing, the Request component and UUID behavior in your CakePHP application.
</p>
<ul>
<li><a href="http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2">Load Balancing and MySQL Master and Slaves</a> - If you are currently using MySql master/slave replication for load balancing and wish to transport to cakePHP, it really couldn't be easier.
<li><a href="http://bakery.cakephp.org/articles/view/request-information-component-4">Request Information Component</a> - Need more insight into how a controller structures a CakePHP request? This little component will log important information and variables for each request to your application's debug log.
<li><a href="http://bakery.cakephp.org/articles/view/uuid-behavior">Uuid Behavior</a> - I have a requirement to use UUID's as primary keys. I was initially using MySQL triggers to call uuid() on insert but in the end decided a behavior makes more sense. This behavior adds a UUID to the field specified in your models.
<li><a href="http://bakery.cakephp.org/articles/view/improved-upload-behaviour-with-thumbnails-and-name-correction">Improved Upload Behaviour with Thumbnails and Name Correction</a> - This is an improved version of Chris Partridge's upload behaviour (http://bin.cakephp.org/saved/17539). The behaviour is able to generate thumbnails if used for images (JPEG/PNG only). 
</ul>
<p>
CakePHP users can check out these and more great articles, tutorials and more on <a href="http://bakery.cakephp.org/">The Bakery</a>.
</p>]]></description>
      <pubDate>Fri, 08 Jun 2007 09:37:00 -0500</pubDate>
    </item>
  </channel>
</rss>
