<?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 vandenbos.org</title>
	<atom:link href="http://blog.vandenbos.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vandenbos.org</link>
	<description>Matthijs van den Bos&#039; thoughts on web development topics</description>
	<lastBuildDate>Tue, 13 Jul 2010 05:03:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Zend Framework: module config by Bazmo</title>
		<link>http://blog.vandenbos.org/2009/07/07/zend-framework-module-config/comment-page-1/#comment-1886</link>
		<dc:creator>Bazmo</dc:creator>
		<pubDate>Tue, 13 Jul 2010 05:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=66#comment-1886</guid>
		<description>Hi,

Am I missing something or wouldn&#039;t it be better to add the module options to the Zend_Config object in Zend_Registry?

Bazmo</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Am I missing something or wouldn&#8217;t it be better to add the module options to the Zend_Config object in Zend_Registry?</p>
<p>Bazmo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Been offline for two weeks&#8230; by Maarten Tibau</title>
		<link>http://blog.vandenbos.org/2010/02/08/been-offline-for-two-weeks/comment-page-1/#comment-1885</link>
		<dc:creator>Maarten Tibau</dc:creator>
		<pubDate>Mon, 21 Jun 2010 13:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=184#comment-1885</guid>
		<description>Hi Matthijs,

I&#039;ve bought your book on ZF.  Finally a dutch book on ZF, it was something I was waiting for a long time!  I have quite a bit experience with ZF, but your topic on the &quot;module configuration&quot; interests me very much.  I would also like to help you find a perfect solution if you like.  Please send me an e-mail if you like, I also have some other idea&#039;s that you might find interesting!

Greetz!
Maarten</description>
		<content:encoded><![CDATA[<p>Hi Matthijs,</p>
<p>I&#8217;ve bought your book on ZF.  Finally a dutch book on ZF, it was something I was waiting for a long time!  I have quite a bit experience with ZF, but your topic on the &#8220;module configuration&#8221; interests me very much.  I would also like to help you find a perfect solution if you like.  Please send me an e-mail if you like, I also have some other idea&#8217;s that you might find interesting!</p>
<p>Greetz!<br />
Maarten</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: per module translation sources by Jane Duyan</title>
		<link>http://blog.vandenbos.org/2009/07/09/zend-framework-per-module-translation-sources/comment-page-1/#comment-1884</link>
		<dc:creator>Jane Duyan</dc:creator>
		<pubDate>Fri, 04 Jun 2010 14:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=106#comment-1884</guid>
		<description>Interesting blog. I&#039;m just quite confused with how that tool works.</description>
		<content:encoded><![CDATA[<p>Interesting blog. I&#8217;m just quite confused with how that tool works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module config by Zend Framework: 模块(Module)特定的配置</title>
		<link>http://blog.vandenbos.org/2009/07/07/zend-framework-module-config/comment-page-1/#comment-1883</link>
		<dc:creator>Zend Framework: 模块(Module)特定的配置</dc:creator>
		<pubDate>Wed, 02 Jun 2010 15:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=66#comment-1883</guid>
		<description>[...] You can read about Matthijs solution on his blog: Zend Framework: Module Config. [...]</description>
		<content:encoded><![CDATA[<p>[...] You can read about Matthijs solution on his blog: Zend Framework: Module Config. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module specific frontcontroller plugins by User_Friendly</title>
		<link>http://blog.vandenbos.org/2009/09/03/zend-framework-module-specific-frontcontroller-plugins/comment-page-1/#comment-1882</link>
		<dc:creator>User_Friendly</dc:creator>
		<pubDate>Wed, 02 Jun 2010 14:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=158#comment-1882</guid>
		<description>My solution, after reading this article and few others, was to subclass Zend_Application_Resource_Modules and override the init() method. Iterate through all modules, getting the options from the config files, merge them to the application&#039;s bootstrap options passing it as an array to setOptions(array($moduleName =&gt; $moduleOptions)). This is done before parent::init() so the bootstrap&#039;s options get updated before each module bootstrap, since all module bootstraps look for their configs inside the application&#039;s bootstrap configuration.</description>
		<content:encoded><![CDATA[<p>My solution, after reading this article and few others, was to subclass Zend_Application_Resource_Modules and override the init() method. Iterate through all modules, getting the options from the config files, merge them to the application&#8217;s bootstrap options passing it as an array to setOptions(array($moduleName =&gt; $moduleOptions)). This is done before parent::init() so the bootstrap&#8217;s options get updated before each module bootstrap, since all module bootstraps look for their configs inside the application&#8217;s bootstrap configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module specific layout by Behrang</title>
		<link>http://blog.vandenbos.org/2009/07/19/zend-framework-module-specific-layout/comment-page-1/#comment-1881</link>
		<dc:creator>Behrang</dc:creator>
		<pubDate>Sat, 29 May 2010 06:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=130#comment-1881</guid>
		<description>Hi I&#039;m newbie in zend so please tell me where exactly put the class with which file name and path I need it.
thanks</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m newbie in zend so please tell me where exactly put the class with which file name and path I need it.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module specific layout by eijunk</title>
		<link>http://blog.vandenbos.org/2009/07/19/zend-framework-module-specific-layout/comment-page-1/#comment-1880</link>
		<dc:creator>eijunk</dc:creator>
		<pubDate>Wed, 26 May 2010 17:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=130#comment-1880</guid>
		<description>Hi,

Thank you for your helpful articles.

To get my scripts work fine, I needed to change some parts of the example.
And I hope my comment here would help those who are struggling.

I use application.ini for module configuration, and its settings are as follows:

;default module
default.resources.layout.layout = &quot;layout&quot;
default.resources.layout.layoutPath = APPLICATION_PATH &quot;/layouts/scripts/&quot;
^^^^^^^^
;admin module
admin.resources.layout.layout = &quot;adminlayout&quot;
admin.resources.layout.layoutPath = APPLICATION_PATH &quot;/modules/admin/layouts/scripts/&quot;

And I edited some lines of your LayoutLoader script as follows:

//$moduleDir = Zend_Controller_Front::getInstance()-&gt;getModuleDirectory();
Zend_Layout::getMvcInstance()-&gt;setLayoutPath($layoutPath);

Since the layoutPaths of my configuration are defined with absolute paths, I needed to change the parameter for the setLayoutPath() method.


Best wishes.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for your helpful articles.</p>
<p>To get my scripts work fine, I needed to change some parts of the example.<br />
And I hope my comment here would help those who are struggling.</p>
<p>I use application.ini for module configuration, and its settings are as follows:</p>
<p>;default module<br />
default.resources.layout.layout = &#8220;layout&#8221;<br />
default.resources.layout.layoutPath = APPLICATION_PATH &#8220;/layouts/scripts/&#8221;<br />
^^^^^^^^<br />
;admin module<br />
admin.resources.layout.layout = &#8220;adminlayout&#8221;<br />
admin.resources.layout.layoutPath = APPLICATION_PATH &#8220;/modules/admin/layouts/scripts/&#8221;</p>
<p>And I edited some lines of your LayoutLoader script as follows:</p>
<p>//$moduleDir = Zend_Controller_Front::getInstance()-&gt;getModuleDirectory();<br />
Zend_Layout::getMvcInstance()-&gt;setLayoutPath($layoutPath);</p>
<p>Since the layoutPaths of my configuration are defined with absolute paths, I needed to change the parameter for the setLayoutPath() method.</p>
<p>Best wishes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module config by Michelangelo</title>
		<link>http://blog.vandenbos.org/2009/07/07/zend-framework-module-config/comment-page-1/#comment-1879</link>
		<dc:creator>Michelangelo</dc:creator>
		<pubDate>Wed, 19 May 2010 10:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=66#comment-1879</guid>
		<description>Hi 

I have tried to follow the tutorial and now I have all set but I get this error:
Fatal error: Uncaught exception &#039;Zend_Loader_PluginLoader_Exception&#039; with message &#039;Plugin by name &#039;Profile&#039; was not found in the registry; used paths: Zend_View_Helper_

I have an helper for the Admin module folder but If I call the Default module I see that error. How have I split the modules?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I have tried to follow the tutorial and now I have all set but I get this error:<br />
Fatal error: Uncaught exception &#8216;Zend_Loader_PluginLoader_Exception&#8217; with message &#8216;Plugin by name &#8216;Profile&#8217; was not found in the registry; used paths: Zend_View_Helper_</p>
<p>I have an helper for the Admin module folder but If I call the Default module I see that error. How have I split the modules?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module config by bill</title>
		<link>http://blog.vandenbos.org/2009/07/07/zend-framework-module-config/comment-page-1/#comment-1878</link>
		<dc:creator>bill</dc:creator>
		<pubDate>Thu, 13 May 2010 21:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=66#comment-1878</guid>
		<description>Hm.. I used Jeroen&#039;s layout plugin, it solved the problem</description>
		<content:encoded><![CDATA[<p>Hm.. I used Jeroen&#8217;s layout plugin, it solved the problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend Framework: module config by bill</title>
		<link>http://blog.vandenbos.org/2009/07/07/zend-framework-module-config/comment-page-1/#comment-1877</link>
		<dc:creator>bill</dc:creator>
		<pubDate>Thu, 13 May 2010 21:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenbos.org/?p=66#comment-1877</guid>
		<description>resources.modulesetup[] =
I&#039;ve already put this line at the first line of my [production] segment but it still takes the resources given in application.ini. 

this is my module.ini
[production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.layout.layoutPath = APPLICATION_PATH &quot;/modules/testmodule/layouts/scripts/&quot;
resources.layout.layout = &quot;reallayout&quot;
resources.frontController.controllerDirectory = APPLICATION_PATH &quot;/modules/testmodule/controllers&quot;
resources.frontController.params.displayExceptions = 0



and this is my application.ini
[production]
resources.modulesetup[] = &quot;&quot;
resources.modules[] = &quot;&quot;
pluginPaths.Cyberlab_Application_Resource = &quot;Cyberlab/Application/Resource&quot;
resources.frontController.controllerDirectory = APPLICATION_PATH &quot;/controllers&quot;
resources.frontController.params.displayExceptions = 0
resources.frontController.moduleDirectory = APPLICATION_PATH &quot;/modules&quot;
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
includePaths.library = APPLICATION_PATH &quot;/../library&quot;
bootstrap.path = APPLICATION_PATH &quot;/Bootstrap.php&quot;
bootstrap.class = &quot;Bootstrap&quot;
appnamespace = &quot;Application&quot;
resources.view[] =
resources.layout.layoutPath = APPLICATION_PATH &quot;/layouts/scripts/&quot;
resources.layout.layout = &quot;common&quot;

this makes my module&#039;s layout stick to the one inside default layout path.
does anyone know how to solve this?</description>
		<content:encoded><![CDATA[<p>resources.modulesetup[] =<br />
I&#8217;ve already put this line at the first line of my [production] segment but it still takes the resources given in application.ini. </p>
<p>this is my module.ini<br />
[production]<br />
phpSettings.display_startup_errors = 1<br />
phpSettings.display_errors = 1<br />
resources.layout.layoutPath = APPLICATION_PATH &#8220;/modules/testmodule/layouts/scripts/&#8221;<br />
resources.layout.layout = &#8220;reallayout&#8221;<br />
resources.frontController.controllerDirectory = APPLICATION_PATH &#8220;/modules/testmodule/controllers&#8221;<br />
resources.frontController.params.displayExceptions = 0</p>
<p>and this is my application.ini<br />
[production]<br />
resources.modulesetup[] = &#8220;&#8221;<br />
resources.modules[] = &#8220;&#8221;<br />
pluginPaths.Cyberlab_Application_Resource = &#8220;Cyberlab/Application/Resource&#8221;<br />
resources.frontController.controllerDirectory = APPLICATION_PATH &#8220;/controllers&#8221;<br />
resources.frontController.params.displayExceptions = 0<br />
resources.frontController.moduleDirectory = APPLICATION_PATH &#8220;/modules&#8221;<br />
phpSettings.display_startup_errors = 1<br />
phpSettings.display_errors = 1<br />
includePaths.library = APPLICATION_PATH &#8220;/../library&#8221;<br />
bootstrap.path = APPLICATION_PATH &#8220;/Bootstrap.php&#8221;<br />
bootstrap.class = &#8220;Bootstrap&#8221;<br />
appnamespace = &#8220;Application&#8221;<br />
resources.view[] =<br />
resources.layout.layoutPath = APPLICATION_PATH &#8220;/layouts/scripts/&#8221;<br />
resources.layout.layout = &#8220;common&#8221;</p>
<p>this makes my module&#8217;s layout stick to the one inside default layout path.<br />
does anyone know how to solve this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
