<?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: Zend Framework Tutorial Series: Part 1 &#8211; The Module Based Application</title>
	<atom:link href="http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html/feed" rel="self" type="application/rss+xml" />
	<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html</link>
	<description>The blog of Andrei Gabreanu</description>
	<lastBuildDate>Thu, 03 May 2012 07:45:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Hooouuta</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1902</link>
		<dc:creator>Hooouuta</dc:creator>
		<pubDate>Thu, 03 May 2012 07:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1902</guid>
		<description>hello, i use the zend_acl so when i modify the application bootsrap the authentification page doesn&#039;t work any more ! what can i do ? i despreatly need help pleez. thank you</description>
		<content:encoded><![CDATA[<p>hello, i use the zend_acl so when i modify the application bootsrap the authentification page doesn&#8217;t work any more ! what can i do ? i despreatly need help pleez. thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carthapilus</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1797</link>
		<dc:creator>Carthapilus</dc:creator>
		<pubDate>Fri, 02 Dec 2011 21:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1797</guid>
		<description>Hi man, thank you for the information, it help me a lot.

</description>
		<content:encoded><![CDATA[<p>Hi man, thank you for the information, it help me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen Corso</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1741</link>
		<dc:creator>Owen Corso</dc:creator>
		<pubDate>Sun, 30 Oct 2011 17:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1741</guid>
		<description>the link to the files doesn&#039;t work and its not updated for zf 1.11 :(</description>
		<content:encoded><![CDATA[<p>the link to the files doesn&#8217;t work and its not updated for zf 1.11 <img src='http://phpdev.ro/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeed</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1739</link>
		<dc:creator>Zeed</dc:creator>
		<pubDate>Tue, 25 Oct 2011 22:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1739</guid>
		<description>such a pity it&#039;s not for zend lib 1.11 :-(</description>
		<content:encoded><![CDATA[<p>such a pity it&#8217;s not for zend lib 1.11 <img src='http://phpdev.ro/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Гафаров Артур</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1672</link>
		<dc:creator>Гафаров Артур</dc:creator>
		<pubDate>Thu, 15 Sep 2011 07:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1672</guid>
		<description>Hello.I have a question. Can I add resource type at autoloader via application.ini. Now it is in Bootstrap: 

protected function _initAutoloaderResources()   {      
     $resourceLoader = new Zend_Loader_Autoloader_Resource(array(        
          &#039;basePath&#039;        =&gt; APPLICATION_PATH,        
          &#039;namespace&#039;   =&gt; &#039;&#039;    
     ));     
     $resourceLoader-&gt;addResourceType(&#039;Model&#039;, &#039;models&#039;, &#039;Model_&#039;);   
}

If I will write in app.ini autoloaderNamespaces[] = &quot;Model_&quot; it will not associate path to this namespace.Thank you.</description>
		<content:encoded><![CDATA[<p>Hello.I have a question. Can I add resource type at autoloader via application.ini. Now it is in Bootstrap: </p>
<p>protected function _initAutoloaderResources()   {      <br />
     $resourceLoader = new Zend_Loader_Autoloader_Resource(array(       <br />
          &#8217;basePath&#8217;        =&gt; APPLICATION_PATH,       <br />
          &#8217;namespace&#8217;   =&gt; &#8221;    <br />
     ));    <br />
     $resourceLoader-&gt;addResourceType(&#8216;Model&#8217;, &#8216;models&#8217;, &#8216;Model_&#8217;);   <br />
}</p>
<p>If I will write in app.ini autoloaderNamespaces[] = &#8220;Model_&#8221; it will not associate path to this namespace.Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Gabreanu</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1362</link>
		<dc:creator>Andrei Gabreanu</dc:creator>
		<pubDate>Tue, 07 Jun 2011 17:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1362</guid>
		<description>In the case of ZF, modules are not what you thought they are. Those are the plugins (ex: an Auth plugin which you can reuse). In ZF modules help you break down an application into several parts. Here are some examples:

a) Frontend / Backend (you have a webapplication which your users use but you have an admin also to manage the users and the privileges and so on)
b) Website / API . You have a web app. which your users use but also the same app. can be used via an API. It makes sense to make a module out of it since if you do a separate app, you will end up duplicating code that you *already* wrote for the frontend (ofcourse this means that you thought of your models structure properly and they can be accessed regardless of the method (an API or an MVC system).

Hope the answer helped helped!</description>
		<content:encoded><![CDATA[<p>In the case of ZF, modules are not what you thought they are. Those are the plugins (ex: an Auth plugin which you can reuse). In ZF modules help you break down an application into several parts. Here are some examples:</p>
<p>a) Frontend / Backend (you have a webapplication which your users use but you have an admin also to manage the users and the privileges and so on)<br />
b) Website / API . You have a web app. which your users use but also the same app. can be used via an API. It makes sense to make a module out of it since if you do a separate app, you will end up duplicating code that you *already* wrote for the frontend (ofcourse this means that you thought of your models structure properly and they can be accessed regardless of the method (an API or an MVC system).</p>
<p>Hope the answer helped helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1361</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 07 Jun 2011 17:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1361</guid>
		<description>Sorry for the newbie question but I am currently working on web applications using the Zend Framework. I wanted to know what is the advantage of making the application modular based. At first, I thought that modules helped you avoid copy pasting code that could be used in several parts of your application. The way the folder structure is in this example seems that module based application in Zend is much different than what I thought.</description>
		<content:encoded><![CDATA[<p>Sorry for the newbie question but I am currently working on web applications using the Zend Framework. I wanted to know what is the advantage of making the application modular based. At first, I thought that modules helped you avoid copy pasting code that could be used in several parts of your application. The way the folder structure is in this example seems that module based application in Zend is much different than what I thought.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Misteryyy</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1047</link>
		<dc:creator>Misteryyy</dc:creator>
		<pubDate>Wed, 26 Jan 2011 05:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1047</guid>
		<description>I have it :). I haven´t models/Repositories but models/repositories :). I know that Linux is case-sensitive, but this is new information for me :)</description>
		<content:encoded><![CDATA[<p>I have it <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I haven´t models/Repositories but models/repositories <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I know that Linux is case-sensitive, but this is new information for me <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Misteryyy</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-1046</link>
		<dc:creator>Misteryyy</dc:creator>
		<pubDate>Wed, 26 Jan 2011 05:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-1046</guid>
		<description>Hi, &lt;br&gt;I have problem with autoloading classes from module directory on Linux (Win 7 works fine). &lt;br&gt;My structure is following&lt;br&gt;modules&lt;br&gt;-admin&lt;br&gt;--controllers&lt;br&gt;--forms&lt;br&gt;--models&lt;br&gt;---repositories&lt;br&gt;---entities&lt;br&gt;-frontend&lt;br&gt;so on . Its basically the same like yours.&lt;br&gt;If I am trying to create new instance from admin/controller/TestController.php&lt;br&gt;new Admin_Model_Entities_Video(); (file is in admin/models/entities/Video.php ) i get error that php can´t find this class. &lt;br&gt;&lt;br&gt;I tried to copy this file straight to admin/models/Video.php&lt;br&gt;and if I call new Admin_Model_Video() I is all right. &lt;br&gt;&lt;br&gt;Don´t you have any idea why is that? It doesn¨t work only on Linux. &lt;br&gt;Thanks for help. Misteryyy&lt;br&gt;&lt;br&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Hi, <br />I have problem with autoloading classes from module directory on Linux (Win 7 works fine). <br />My structure is following<br />modules<br />-admin<br />&#8211;controllers<br />&#8211;forms<br />&#8211;models<br />&#8212;repositories<br />&#8212;entities<br />-frontend<br />so on . Its basically the same like yours.<br />If I am trying to create new instance from admin/controller/TestController.php<br />new Admin_Model_Entities_Video(); (file is in admin/models/entities/Video.php ) i get error that php can´t find this class. </p>
<p>I tried to copy this file straight to admin/models/Video.php<br />and if I call new Admin_Model_Video() I is all right. </p>
<p>Don´t you have any idea why is that? It doesn¨t work only on Linux. <br />Thanks for help. Misteryyy</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Misteryyy</title>
		<link>http://phpdev.ro/zf-tutorial-series-part-1-module-based-app.html#comment-324</link>
		<dc:creator>Misteryyy</dc:creator>
		<pubDate>Wed, 26 Jan 2011 00:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://phpdev.ro/?p=1012#comment-324</guid>
		<description>I have it :). I haven´t models/Repositories but models/repositories :). I know that Linux is case-sensitive, but this is new information for me :)</description>
		<content:encoded><![CDATA[<p>I have it <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I haven´t models/Repositories but models/repositories <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I know that Linux is case-sensitive, but this is new information for me <img src='http://phpdev.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/3 queries in 0.002 seconds using disk
Object Caching 329/329 objects using disk

Served from: phpdev.ro @ 2012-05-19 03:09:36 -->
