<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PHP Optimization and Scalability &#8211; Slides and Source</title>
	<atom:link href="http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 10 May 2010 06:32:39 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ian</title>
		<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/#comment-964</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Tue, 03 Feb 2009 06:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/?p=71#comment-964</guid>
		<description>Common gotcha, what you&#039;re missing there is the apache developer libraries.  What distro are you on?  For example, on Ubuntu you can install those using &quot;sudo apt-get install apache2-threaded-dev&quot;</description>
		<content:encoded><![CDATA[<p>Common gotcha, what you&#8217;re missing there is the apache developer libraries.  What distro are you on?  For example, on Ubuntu you can install those using &#8220;sudo apt-get install apache2-threaded-dev&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brant</title>
		<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/#comment-963</link>
		<dc:creator>Brant</dc:creator>
		<pubDate>Tue, 03 Feb 2009 06:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/?p=71#comment-963</guid>
		<description>Installing APC isn&#039;t as easy as it sounds....

checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host&#039;.
See `config.log&#039; for more details.
ERROR: `/root/tmp/pear/APC/configure --with-apxs&#039; failed</description>
		<content:encoded><![CDATA[<p>Installing APC isn&#8217;t as easy as it sounds&#8230;.</p>
<p>checking whether the C compiler works&#8230; configure: error: cannot run C compiled programs.<br />
If you meant to cross compile, use `&#8211;host&#8217;.<br />
See `config.log&#8217; for more details.<br />
ERROR: `/root/tmp/pear/APC/configure &#8211;with-apxs&#8217; failed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/#comment-236</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 01 Nov 2008 01:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/?p=71#comment-236</guid>
		<description>I&#039;ve been toying with the idea of using a singleton for my database class... or one for read and another for right... or a singleton with somekind of factory init which passes back the db handle for read or write depending on an arg... Thoughts? I use a singleton for my error messages class, so the model/validate methods can write to it, the controller can check it, and the view can show the errors easily... It&#039;s like globals through a back-door, but right now I&#039;m saying global $DB_WRITE anyway...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been toying with the idea of using a singleton for my database class&#8230; or one for read and another for right&#8230; or a singleton with somekind of factory init which passes back the db handle for read or write depending on an arg&#8230; Thoughts? I use a singleton for my error messages class, so the model/validate methods can write to it, the controller can check it, and the view can show the errors easily&#8230; It&#8217;s like globals through a back-door, but right now I&#8217;m saying global $DB_WRITE anyway&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/#comment-231</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 01 Nov 2008 01:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/?p=71#comment-231</guid>
		<description>Oh, and what&#039;s the 2nd false argument to spl_autoload_register. It&#039;s not documented? Namespace?</description>
		<content:encoded><![CDATA[<p>Oh, and what&#8217;s the 2nd false argument to spl_autoload_register. It&#8217;s not documented? Namespace?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.gen-x-design.com/archives/php-optimization-and-scalability-slides-and-source/#comment-230</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 01 Nov 2008 01:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/?p=71#comment-230</guid>
		<description>I was delighted to learn that SPL is compiled by default in PHP5 now. I hadn&#039;t checked on that one in a long time...

Instead of include_once and require_once, do you recommend simply using include and require?

Also, with autoload (_autoload or spl method), that stuff is not loaded twice, because those are only called the first time the class file is needed, right?

Great slides. Wish I could have caught your presentation. Congrats, my young friend!</description>
		<content:encoded><![CDATA[<p>I was delighted to learn that SPL is compiled by default in PHP5 now. I hadn&#8217;t checked on that one in a long time&#8230;</p>
<p>Instead of include_once and require_once, do you recommend simply using include and require?</p>
<p>Also, with autoload (_autoload or spl method), that stuff is not loaded twice, because those are only called the first time the class file is needed, right?</p>
<p>Great slides. Wish I could have caught your presentation. Congrats, my young friend!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
