<?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 for Rather Insane</title>
	<atom:link href="http://ratherinsane.com/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://ratherinsane.com/blog</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 21:55:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.8-bleeding-10187</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Zend_Cache for Web Services by Chris Beer</title>
		<link>http://ratherinsane.com/blog/2008/10/25/zend_cache-for-web-services/comment-page-1#comment-7</link>
		<dc:creator>Chris Beer</dc:creator>
		<pubDate>Wed, 10 Dec 2008 12:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://ratherinsane.com/blog/?p=83#comment-7</guid>
		<description>Great. I think that's a perfectly fair approach, as long as it gets documented somewhere. I'd like to use Zend_Registry in my code someday to take the magic out of the global variables I have floating around.</description>
		<content:encoded><![CDATA[<p>Great. I think that&#8217;s a perfectly fair approach, as long as it gets documented somewhere. I&#8217;d like to use Zend_Registry in my code someday to take the magic out of the global variables I have floating around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Cache for Web Services by Surfr</title>
		<link>http://ratherinsane.com/blog/2008/10/25/zend_cache-for-web-services/comment-page-1#comment-6</link>
		<dc:creator>Surfr</dc:creator>
		<pubDate>Wed, 10 Dec 2008 09:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://ratherinsane.com/blog/?p=83#comment-6</guid>
		<description>Many thanks Chris. I ended up creating a singleton from my FedoraSOAPClient class and instanciate it in the bootstrap, then save it to the Zend_Registry for later use. I'm probabkly breaking some OO Best Practice rules by doing so, but it works for me.</description>
		<content:encoded><![CDATA[<p>Many thanks Chris. I ended up creating a singleton from my FedoraSOAPClient class and instanciate it in the bootstrap, then save it to the Zend_Registry for later use. I&#8217;m probabkly breaking some OO Best Practice rules by doing so, but it works for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Cache for Web Services by Chris Beer</title>
		<link>http://ratherinsane.com/blog/2008/10/25/zend_cache-for-web-services/comment-page-1#comment-5</link>
		<dc:creator>Chris Beer</dc:creator>
		<pubDate>Tue, 09 Dec 2008 00:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://ratherinsane.com/blog/?p=83#comment-5</guid>
		<description>Hi,

I'm instantiating my Fedora class in &lt;a href="http://bazaar.launchpad.net/%7Echris-beer/bvault/wgbh/annotate/38?file_id=config.php-20080925170715-hyif2ilad0sgrds9-1" rel="nofollow"&gt;config.php&lt;/a&gt;. I'm still trying to figure out the balance between config.php and bootstrap.php; hopefully the variables defined in config.php are useful outside of the Zend Framework client.

The advantage of using Zend_Cache to cache the Fedora requests is that it is relatively transparent, so in my code the only place you'll see that I'm even doing caching is:
&lt;code&gt;
$fedora = Zend_Cache::factory('Class', 'File', array('cached_entity' =&#62; new Fedora_Object(), 'cached_methods' =&#62; array('getObjectXML', 'getDatastreamDissemination', 'getDissemination'), 'cache_by_default' =&#62; false));
&lt;/code&gt;

This puts the caching layer over my Fedora class and tells Zend_Cache to cache those three cached methods and pass the rest right through. 

Rather than creating those instances everywhere, have you considered some sort of singleton class?

Let me know how things go.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m instantiating my Fedora class in <a href="http://bazaar.launchpad.net/%7Echris-beer/bvault/wgbh/annotate/38?file_id=config.php-20080925170715-hyif2ilad0sgrds9-1" rel="nofollow">config.php</a>. I&#8217;m still trying to figure out the balance between config.php and bootstrap.php; hopefully the variables defined in config.php are useful outside of the Zend Framework client.</p>
<p>The advantage of using Zend_Cache to cache the Fedora requests is that it is relatively transparent, so in my code the only place you&#8217;ll see that I&#8217;m even doing caching is:<br />
<code><br />
$fedora = Zend_Cache::factory('Class', 'File', array('cached_entity' =&gt; new Fedora_Object(), 'cached_methods' =&gt; array('getObjectXML', 'getDatastreamDissemination', 'getDissemination'), 'cache_by_default' =&gt; false));<br />
</code></p>
<p>This puts the caching layer over my Fedora class and tells Zend_Cache to cache those three cached methods and pass the rest right through. </p>
<p>Rather than creating those instances everywhere, have you considered some sort of singleton class?</p>
<p>Let me know how things go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Cache for Web Services by Surfr</title>
		<link>http://ratherinsane.com/blog/2008/10/25/zend_cache-for-web-services/comment-page-1#comment-3</link>
		<dc:creator>Surfr</dc:creator>
		<pubDate>Mon, 08 Dec 2008 12:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://ratherinsane.com/blog/?p=83#comment-3</guid>
		<description>This is of great interest to me as I am also developing a Zend Framework application to provide a web frontend to a Fedora respository. 

I'm trying to understand how you are using the $fedora object in your bootstrap class. I'd rather create instances of my FedoraSOAPClient class from within various clases within application/models/* and my Controllers. Is this possible? Is this in your bvault code as I can't seem to see anything in the bootstrap.

http://bazaar.launchpad.net/~chris-beer/bvault/wgbh/annotate/38?file_id=bootstrap.php-20080924210122-b7675owtu9oq690p-10

Would love to look through some more code where yo are using Zend_Cache to cache SOAP queries to Fedora if at all possible.</description>
		<content:encoded><![CDATA[<p>This is of great interest to me as I am also developing a Zend Framework application to provide a web frontend to a Fedora respository. </p>
<p>I&#8217;m trying to understand how you are using the $fedora object in your bootstrap class. I&#8217;d rather create instances of my FedoraSOAPClient class from within various clases within application/models/* and my Controllers. Is this possible? Is this in your bvault code as I can&#8217;t seem to see anything in the bootstrap.</p>
<p><a href="http://bazaar.launchpad.net/~chris-beer/bvault/wgbh/annotate/38?file_id=bootstrap.php-20080924210122-b7675owtu9oq690p-10" rel="nofollow">http://bazaar.launchpad.net/~chris-beer/bvault/wgbh/annotate/38?file_id=bootstrap.php-20080924210122-b7675owtu9oq690p-10</a></p>
<p>Would love to look through some more code where yo are using Zend_Cache to cache SOAP queries to Fedora if at all possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework 1.6: Zend_Paginator by Built from source. &#187; Blog Archive &#187; Zend_Paginator</title>
		<link>http://ratherinsane.com/blog/2008/07/29/zend-framework-16-zend_paginator/comment-page-1#comment-2</link>
		<dc:creator>Built from source. &#187; Blog Archive &#187; Zend_Paginator</dc:creator>
		<pubDate>Wed, 03 Sep 2008 19:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://ratherinsane.com/blog/?p=35#comment-2</guid>
		<description>[...] My only criticism of the new Zend_Paginator is it offers a daunting amount of possibilities. &#8212;Chris Beer   I&#8217;ve seen dozens of different paginators in the last couple of years, and to be honest, [...]</description>
		<content:encoded><![CDATA[<p>[...] My only criticism of the new Zend_Paginator is it offers a daunting amount of possibilities. &mdash;Chris Beer   I&#8217;ve seen dozens of different paginators in the last couple of years, and to be honest, [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
