<?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: Accessing your configuration data that&#039;s stored in application.ini</title>
	<atom:link href="http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Tue, 13 Mar 2012 12:47:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Markus</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-74881</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 24 Aug 2011 23:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-74881</guid>
		<description>Thanks for that nice bootstrap snippet!</description>
		<content:encoded><![CDATA[<p>Thanks for that nice bootstrap snippet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Glover</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-70021</link>
		<dc:creator>Jeremy Glover</dc:creator>
		<pubDate>Thu, 21 Jul 2011 19:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-70021</guid>
		<description>Thanks for this Rob. I tried the bootstrap approach and it worked like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks for this Rob. I tried the bootstrap approach and it worked like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-39369</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Fri, 10 Sep 2010 20:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-39369</guid>
		<description>Picha, 

when you return something from an _initXX(), it becomes available in the bootstrap for use later.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Picha, </p>
<p>when you return something from an _initXX(), it becomes available in the bootstrap for use later.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: picha</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-39368</link>
		<dc:creator>picha</dc:creator>
		<pubDate>Fri, 10 Sep 2010 20:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-39368</guid>
		<description>Why do you return stuff from _initXXX() methods?
I&#039;ve seen it done in Zend&#039;s own documentation but haven&#039;t seen anything actually use those return values. Does that come into play in unit testing, maybe?</description>
		<content:encoded><![CDATA[<p>Why do you return stuff from _initXXX() methods?<br />
I've seen it done in Zend's own documentation but haven't seen anything actually use those return values. Does that come into play in unit testing, maybe?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: takehsin</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-32517</link>
		<dc:creator>takehsin</dc:creator>
		<pubDate>Tue, 30 Mar 2010 15:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-32517</guid>
		<description>And what about module configuration? Can we have /mymodule/configs/config.ini in which we can put the same options as in application.ini? e.g. resources.session., resources.mail. etc.</description>
		<content:encoded><![CDATA[<p>And what about module configuration? Can we have /mymodule/configs/config.ini in which we can put the same options as in application.ini? e.g. resources.session., resources.mail. etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve P. Sharpe</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-30737</link>
		<dc:creator>Steve P. Sharpe</dc:creator>
		<pubDate>Mon, 08 Feb 2010 12:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-30737</guid>
		<description>Hi Rob,

Thanks for this, it really helped! 

Bookmarked...</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>Thanks for this, it really helped! </p>
<p>Bookmarked...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neck</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-29727</link>
		<dc:creator>Neck</dc:creator>
		<pubDate>Sun, 20 Dec 2009 01:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-29727</guid>
		<description>Note that you can actually combine bootstrap&#039;s registry with zend registry (why having duplicates ?)

    protected function _initRegistry() {   $this-&gt;setContainer(Zend_Registry::getInstance());
    }</description>
		<content:encoded><![CDATA[<p>Note that you can actually combine bootstrap's registry with zend registry (why having duplicates ?)</p>
<p>    protected function _initRegistry() {   $this-&gt;setContainer(Zend_Registry::getInstance());<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-29500</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Sun, 06 Dec 2009 10:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-29500</guid>
		<description>bin,

&lt;pre class=&quot;phpcode&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&#160;&#160;&#160;&#160;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;protected&#160;function&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;_initDatabaseRegistry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;()&lt;br /&gt;&#160;&#160;&#160;&#160;{&lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$this&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;bootstrap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;db&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&#160;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$this&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;getResource&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;db&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Zend_Registry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;db&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&#160;&#160;&#160;&#160;}&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

Regards,

Rob...
</description>
		<content:encoded><![CDATA[<p>bin,</p>
<pre class="phpcode"><span style="color: #0000BB">
&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_initDatabaseRegistry</span><span style="color: #007700">()
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">(</span><span style="color: #DD0000">"db"</span><span style="color: #007700">);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$db&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getResource</span><span style="color: #007700">(</span><span style="color: #DD0000">"db"</span><span style="color: #007700">);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Zend_Registry</span><span style="color: #007700">::</span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'db'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$db</span><span style="color: #007700">);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$db</span><span style="color: #007700">;
&nbsp;&nbsp;&nbsp;&nbsp;}
</span>
</pre>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bin</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-29458</link>
		<dc:creator>bin</dc:creator>
		<pubDate>Fri, 04 Dec 2009 07:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-29458</guid>
		<description>Hello
Thanks for your post.
Help me. How to access database ressources in application.ini and write to Zend_Registry ?

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hello<br />
Thanks for your post.<br />
Help me. How to access database ressources in application.ini and write to Zend_Registry ?</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/accessing-your-configuration-data-in-application-ini/#comment-29376</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Mon, 30 Nov 2009 15:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=837#comment-29376</guid>
		<description>Thanks Jon,

Fixed :)

Rob...</description>
		<content:encoded><![CDATA[<p>Thanks Jon,</p>
<p>Fixed :)</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
</channel>
</rss>

