<?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>mindlace &#187; drupal</title>
	<atom:link href="http://mindlace.net/category/microcode/internet/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://mindlace.net</link>
	<description>a necessary absence</description>
	<lastBuildDate>Sun, 21 Aug 2011 23:23:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Drupal 7 Schema</title>
		<link>http://mindlace.net/2008/06/23/drupal-7-schema/</link>
		<comments>http://mindlace.net/2008/06/23/drupal-7-schema/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 20:42:22 +0000</pubDate>
		<dc:creator>mindlace</dc:creator>
				<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://mindlace.net/?p=790</guid>
		<description><![CDATA[For my own edification and to facilitate the addition of UUIDs to Drupal, I have used SchemaSpy to create an overview of Drupal&#8217;s database schema as generated by today&#8217;s HEAD.]]></description>
			<content:encoded><![CDATA[<p>For my own edification and to facilitate the addition of UUIDs to Drupal, I have used SchemaSpy to create an <a title="Drupal Schema" href="http://old.mindlace.net/wp-content/uploads/2008/06/schema/">overview of Drupal&#8217;s database schema</a> as generated by today&#8217;s HEAD.</p>
]]></content:encoded>
			<wfw:commentRss>http://mindlace.net/2008/06/23/drupal-7-schema/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generating UUIDs in PHP (for Drupal)</title>
		<link>http://mindlace.net/2008/06/23/generating-uuids-in-php-for-drupal/</link>
		<comments>http://mindlace.net/2008/06/23/generating-uuids-in-php-for-drupal/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 17:15:41 +0000</pubDate>
		<dc:creator>mindlace</dc:creator>
				<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://mindlace.net/?p=785</guid>
		<description><![CDATA[I have begun my quest to convert Drupal over to using UUIDs instead of IDs so that merging/branching drupal databases will be easier. The first thing to figure out is how best to generate UUIDs in PHP. The naive pure-php approaches that use rand() have quickly proven to be non-viable (generating 10 of them hasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I have begun my quest to convert Drupal over to using UUIDs instead of IDs so that merging/branching drupal databases will be easier.</p>
<p>The first thing to figure out is how best to generate UUIDs in PHP. The naive pure-php approaches that use rand() have quickly proven to be non-viable (generating 10 of them hasn&#8217;t completed after several minutes), at least on my test virtual machine, presumably on account of running out of randomness.</p>
<p>The <a href="http://www.ossp.org/pkg/lib/uuid/">OSSP UUID</a> module for PHP5 is much better, generating 60k &#8220;type 4&#8243; (completely random) uuids per second. However, the memory usage grows the more UUIDs you generate, so that could be an issue. So despite the fact that this module implies a C module that has to be available to PHP, I&#8217;m going to use it.</p>
<p>I will try to keep my implementation open to creating UUIDs in the DB, as PostgreSQL uses the same library to create UUIDs, so no sense in reinventing the wheel. MySQL UUIDs are broken in any sort of replicated environment (in that you can get the same UUID repeatedly from a given <code>SELECT UUID();</code>) so I must have a language-level version available.</p>
<p>So now that I&#8217;ve elected to settle on the OSSP UUID module, I can take the next steps towards making it work in Drupal.</p>
]]></content:encoded>
			<wfw:commentRss>http://mindlace.net/2008/06/23/generating-uuids-in-php-for-drupal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

