<?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: Modular Zend Framework Skeleton 2009</title>
	<atom:link href="http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/</link>
	<description>Programming and Technology</description>
	<lastBuildDate>Thu, 15 Jul 2010 13:40:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brianfegan</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-866</link>
		<dc:creator>brianfegan</dc:creator>
		<pubDate>Thu, 15 Jul 2010 13:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-866</guid>
		<description>i&#039;ll answer my own question here in case anyone else is curious. if you set your path as /js in the front-end, zend will redirect you to /public/js on the back-end.</description>
		<content:encoded><![CDATA[<p>i&#8217;ll answer my own question here in case anyone else is curious. if you set your path as /js in the front-end, zend will redirect you to /public/js on the back-end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianfegan</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-865</link>
		<dc:creator>brianfegan</dc:creator>
		<pubDate>Wed, 14 Jul 2010 21:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-865</guid>
		<description>i know all files accessible to the client are supposed to be put in the /public folder. but i&#039;m having a problem with my modular setup where zend is seeing /public and looking for publicController in /modules/default/.

Any ideas?</description>
		<content:encoded><![CDATA[<p>i know all files accessible to the client are supposed to be put in the /public folder. but i&#8217;m having a problem with my modular setup where zend is seeing /public and looking for publicController in /modules/default/.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-737</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 17 Mar 2010 00:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-737</guid>
		<description>I&#039;m terribly sorry, the comments box ate the markup, I&#039;ll try to post the important bits again if you don&#039;t mind.


And in the template you can access them like this:

 td tal:replace=&quot;key&quot; /td 

which will result in

 td $value /td

To utilize doctrine’s lazy loading such as

$table1-&gt;Table2-&gt;table2ID;

in templates, I found that only the following seems to work:

 td tal:replace=&quot;php:table1.Table2.table2ID&quot; 


Thanks,
Michael</description>
		<content:encoded><![CDATA[<p>I&#8217;m terribly sorry, the comments box ate the markup, I&#8217;ll try to post the important bits again if you don&#8217;t mind.</p>
<p>And in the template you can access them like this:</p>
<p> td tal:replace=&#8221;key&#8221; /td </p>
<p>which will result in</p>
<p> td $value /td</p>
<p>To utilize doctrine’s lazy loading such as</p>
<p>$table1-&gt;Table2-&gt;table2ID;</p>
<p>in templates, I found that only the following seems to work:</p>
<p> td tal:replace=&#8221;php:table1.Table2.table2ID&#8221; </p>
<p>Thanks,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-736</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 16 Mar 2010 23:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-736</guid>
		<description>It seems that I&#039;ve made some progress, though I don&#039;t know if this is the right way to do it.

In the controller, which extends Zend_View at some point, assign the variables as such:

$this-&gt;view-&gt;assign(&#039;key&#039;, $value);

And in the template you can access them like this:



which will result in

$value

To utilize doctrine&#039;s lazy loading such as 

$table1-&gt;Table2-&gt;table2ID;

in templates, I found that only the following seems to work:




Again, thank you for sharing your knowledge and work.

Regards,
Michael</description>
		<content:encoded><![CDATA[<p>It seems that I&#8217;ve made some progress, though I don&#8217;t know if this is the right way to do it.</p>
<p>In the controller, which extends Zend_View at some point, assign the variables as such:</p>
<p>$this-&gt;view-&gt;assign(&#8216;key&#8217;, $value);</p>
<p>And in the template you can access them like this:</p>
<p>which will result in</p>
<p>$value</p>
<p>To utilize doctrine&#8217;s lazy loading such as </p>
<p>$table1-&gt;Table2-&gt;table2ID;</p>
<p>in templates, I found that only the following seems to work:</p>
<p>Again, thank you for sharing your knowledge and work.</p>
<p>Regards,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-735</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 15 Mar 2010 01:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-735</guid>
		<description>Hi Brandon

Thank you so much for your skeleton app, it really helped me kickstart a project.

I&#039;ve run into some difficulty when dealing with PHPTAL though.

I just can&#039;t figure out how, when and where to load variables into the PHPTAL object so it can be used in the template.

Could you please give me a hint on how to make variables available to the template?

Kind Regards,
Michael</description>
		<content:encoded><![CDATA[<p>Hi Brandon</p>
<p>Thank you so much for your skeleton app, it really helped me kickstart a project.</p>
<p>I&#8217;ve run into some difficulty when dealing with PHPTAL though.</p>
<p>I just can&#8217;t figure out how, when and where to load variables into the PHPTAL object so it can be used in the template.</p>
<p>Could you please give me a hint on how to make variables available to the template?</p>
<p>Kind Regards,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Stotes</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-603</link>
		<dc:creator>Adam Stotes</dc:creator>
		<pubDate>Fri, 15 Jan 2010 05:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-603</guid>
		<description>Hey Brandon,

I&#039;ve recently attempted to implement your 2009 Zend Framework Skeleton, with Zend Server CE.

According to the Debug, the modules have been loaded in. 

2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading blog
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for blog
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for blog
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for blog
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module blog (blog)
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading reporting
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for reporting
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for reporting
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for reporting
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module reporting (reporting)
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading default
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for default
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for default
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for default
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module default (default)


However when attempting to access any modules other than the default module, I am getting a &quot;no routes&quot; error. From my understanding of your post and from reading through the modules.php in the bootstrap the module should be loaded into the routes already?

I&#039;ve tried a few different attempts to figure out what is wrong with the routing but to no avail.

If you could provide any help or guidance, it would be very much appreciated.

Thanks,</description>
		<content:encoded><![CDATA[<p>Hey Brandon,</p>
<p>I&#8217;ve recently attempted to implement your 2009 Zend Framework Skeleton, with Zend Server CE.</p>
<p>According to the Debug, the modules have been loaded in. </p>
<p>2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading blog<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for blog<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for blog<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for blog<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module blog (blog)<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading reporting<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for reporting<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for reporting<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for reporting<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module reporting (reporting)<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading default<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loading config for default<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering models for default<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Registering lib files for default<br />
2010-01-15T15:12:42+11:00 DEBUG (7): ApplicationModuleBroker.registerModule: Loaded module default (default)</p>
<p>However when attempting to access any modules other than the default module, I am getting a &#8220;no routes&#8221; error. From my understanding of your post and from reading through the modules.php in the bootstrap the module should be loaded into the routes already?</p>
<p>I&#8217;ve tried a few different attempts to figure out what is wrong with the routing but to no avail.</p>
<p>If you could provide any help or guidance, it would be very much appreciated.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-602</link>
		<dc:creator>Marcel</dc:creator>
		<pubDate>Fri, 15 Jan 2010 02:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-602</guid>
		<description>Hi Brandon,

GREAT work!

I love the structure of you skelleton and would like to use it as a base to start learning Z F.

Its weired...

For some reason i cant figure out how to create 
a new modules and register it.

I always get redirected to the error page.

Could you please show a demo with modules setup ?

Help is MUCH appreciated.


Kind Regards,

Marcel</description>
		<content:encoded><![CDATA[<p>Hi Brandon,</p>
<p>GREAT work!</p>
<p>I love the structure of you skelleton and would like to use it as a base to start learning Z F.</p>
<p>Its weired&#8230;</p>
<p>For some reason i cant figure out how to create<br />
a new modules and register it.</p>
<p>I always get redirected to the error page.</p>
<p>Could you please show a demo with modules setup ?</p>
<p>Help is MUCH appreciated.</p>
<p>Kind Regards,</p>
<p>Marcel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hein</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-582</link>
		<dc:creator>Hein</dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-582</guid>
		<description>A small improvement ;-)

On line 132 from modules.php i get the warning:

&quot;bool assign : assignment in condition:


The line :

while ($entry = readdir($moddir)){
........

}

should be:

while (false !== ($entry = readdir($moddir))) {
........
}

Thanks, very nice article!</description>
		<content:encoded><![CDATA[<p>A small improvement ;-)</p>
<p>On line 132 from modules.php i get the warning:</p>
<p>&#8220;bool assign : assignment in condition:</p>
<p>The line :</p>
<p>while ($entry = readdir($moddir)){<br />
&#8230;&#8230;..</p>
<p>}</p>
<p>should be:</p>
<p>while (false !== ($entry = readdir($moddir))) {<br />
&#8230;&#8230;..<br />
}</p>
<p>Thanks, very nice article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Frangelli</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-301</link>
		<dc:creator>Leonardo Frangelli</dc:creator>
		<pubDate>Thu, 18 Jun 2009 17:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-301</guid>
		<description>Brandon,

Thank you for these informations, i`m looking for it for a long time, i will try use it in a test project, but i will try with Zend_Db.

Man, thaks again and congratulations you write very well, i`m brazilian and my english is not very good, but i coud understand everything.

Chees[].</description>
		<content:encoded><![CDATA[<p>Brandon,</p>
<p>Thank you for these informations, i`m looking for it for a long time, i will try use it in a test project, but i will try with Zend_Db.</p>
<p>Man, thaks again and congratulations you write very well, i`m brazilian and my english is not very good, but i coud understand everything.</p>
<p>Chees[].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erik</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/comment-page-1/#comment-246</link>
		<dc:creator>erik</dc:creator>
		<pubDate>Wed, 06 May 2009 11:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52#comment-246</guid>
		<description>Very nice.

Thanx.</description>
		<content:encoded><![CDATA[<p>Very nice.</p>
<p>Thanx.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
