<?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: models auto-loading</title>
	<atom:link href="http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/</link>
	<description>Phrozn, Phing &#38; Zend Framework Musings</description>
	<lastBuildDate>Tue, 15 Nov 2011 15:38:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: K. Shahzad</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-1857</link>
		<dc:creator>K. Shahzad</dc:creator>
		<pubDate>Sat, 12 Nov 2011 08:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-1857</guid>
		<description>Thumbs Up ! this solved my problem. I am new to zend and learning it. Was wondering, how to load a class.</description>
		<content:encoded><![CDATA[<p>Thumbs Up ! this solved my problem. I am new to zend and learning it. Was wondering, how to load a class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-1748</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Wed, 06 Apr 2011 21:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-1748</guid>
		<description>@grabur: I agree with you on simply using Pear naming convention.

I&#039;ve used Zend_Loader_Autoloader_Resource and at the end of the day - I simply don&#039;t need it. There is no need to reinvent the PATH and __autoloader.

Thanks.</description>
		<content:encoded><![CDATA[<p>@grabur: I agree with you on simply using Pear naming convention.</p>
<p>I&#8217;ve used Zend_Loader_Autoloader_Resource and at the end of the day &#8211; I simply don&#8217;t need it. There is no need to reinvent the PATH and __autoloader.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework 多模块时模型自动加载(models auto-loading) &#187; 阿飞呓语</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-1110</link>
		<dc:creator>Zend Framework 多模块时模型自动加载(models auto-loading) &#187; 阿飞呓语</dc:creator>
		<pubDate>Thu, 08 Jul 2010 06:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-1110</guid>
		<description>[...] http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/   唱首情歌给丹听 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/" rel="nofollow">http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/</a>   唱首情歌给丹听 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework Blog &#187; Blog Archive &#187; Aus den Zend Framework Blogs</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-820</link>
		<dc:creator>Zend Framework Blog &#187; Blog Archive &#187; Aus den Zend Framework Blogs</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-820</guid>
		<description>[...] schreibt ?ber das automatische Laden von Models in einer Zend Framework [...]</description>
		<content:encoded><![CDATA[<p>[...] schreibt ?ber das automatische Laden von Models in einer Zend Framework [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework: models auto-loading &#124; King F1</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-818</link>
		<dc:creator>Zend Framework: models auto-loading &#124; King F1</dc:creator>
		<pubDate>Thu, 05 Nov 2009 04:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-818</guid>
		<description>[...] Address: http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Address: <a href="http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/" rel="nofollow">http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BornForCode</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-414</link>
		<dc:creator>BornForCode</dc:creator>
		<pubDate>Mon, 29 Jun 2009 11:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-414</guid>
		<description>How do i dynamically load the models? I have the following structure:

--application
----modules
------front
--------models
--------controllers

What do i have to write to load a Category.php from front/models in the front/controllers/IndexController.php</description>
		<content:encoded><![CDATA[<p>How do i dynamically load the models? I have the following structure:</p>
<p>&#8211;application<br />
&#8212;-modules<br />
&#8212;&#8212;front<br />
&#8212;&#8212;&#8211;models<br />
&#8212;&#8212;&#8211;controllers</p>
<p>What do i have to write to load a Category.php from front/models in the front/controllers/IndexController.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grabur</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-232</link>
		<dc:creator>grabur</dc:creator>
		<pubDate>Sat, 11 Apr 2009 02:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-232</guid>
		<description>Agreed use a Zend Controller Action Helper Plugin instead of given solution (http://www.spotsec.com/blogs/archive/zend-model-loading-modelloader.html).

I&#039;d like to add that just using PEAR naming convention might actually be the easiest solution.

$users = My_Model_Users()

Is elegant and means you can easily get to the model from view helpers and controllers, and also from other modules. 

Of course you could use a more elaborate loader, but using the PEAR naming convention is simple. 

You could also just add a models folder to your include path and use:

$story = new News_Story()

For a News Module.</description>
		<content:encoded><![CDATA[<p>Agreed use a Zend Controller Action Helper Plugin instead of given solution (<a href="http://www.spotsec.com/blogs/archive/zend-model-loading-modelloader.html" rel="nofollow">http://www.spotsec.com/blogs/archive/zend-model-loading-modelloader.html</a>).</p>
<p>I&#8217;d like to add that just using PEAR naming convention might actually be the easiest solution.</p>
<p>$users = My_Model_Users()</p>
<p>Is elegant and means you can easily get to the model from view helpers and controllers, and also from other modules. </p>
<p>Of course you could use a more elaborate loader, but using the PEAR naming convention is simple. </p>
<p>You could also just add a models folder to your include path and use:</p>
<p>$story = new News_Story()</p>
<p>For a News Module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPMag.ru: Zend Framework: models auto-loading &#124; Cole Design Studios</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-215</link>
		<dc:creator>PHPMag.ru: Zend Framework: models auto-loading &#124; Cole Design Studios</dc:creator>
		<pubDate>Mon, 06 Apr 2009 13:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-215</guid>
		<description>[...] the PHPMag.ru site comes a recent post looking at a technique for creating auto-loading models in your Zend Framework application.   When [...]</description>
		<content:encoded><![CDATA[<p>[...] the PHPMag.ru site comes a recent post looking at a technique for creating auto-loading models in your Zend Framework application.   When [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lizdeika</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-214</link>
		<dc:creator>lizdeika</dc:creator>
		<pubDate>Mon, 06 Apr 2009 08:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-214</guid>
		<description>Zend_Loader::loadClass does change your include_path with $dirs provided, so updating include_path with alternative solution c) is the same thing :)</description>
		<content:encoded><![CDATA[<p>Zend_Loader::loadClass does change your include_path with $dirs provided, so updating include_path with alternative solution c) is the same thing <img src='http://www.phpmag.ru/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPMag.ru: Zend Framework: models auto-loading &#124; pcsourcenetwork.com</title>
		<link>http://www.phpmag.ru/2009/03/23/zend-framework-models-auto-loading/comment-page-1/#comment-211</link>
		<dc:creator>PHPMag.ru: Zend Framework: models auto-loading &#124; pcsourcenetwork.com</dc:creator>
		<pubDate>Sat, 04 Apr 2009 20:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=511#comment-211</guid>
		<description>[...] the PHPMag.ru site comes a recent post looking at a technique for creating auto-loading models in your Zend Framework application.   When [...]</description>
		<content:encoded><![CDATA[<p>[...] the PHPMag.ru site comes a recent post looking at a technique for creating auto-loading models in your Zend Framework application.   When [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

