<?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: Models in Zend Framework</title>
	<atom:link href="http://matthewturland.com/2010/03/26/models-in-zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/</link>
	<description></description>
	<lastBuildDate>Sat, 31 Dec 2011 15:29:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: The Best Models are Easy Models &#171; Epixa &#8211; web development musings</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-3175</link>
		<dc:creator>The Best Models are Easy Models &#171; Epixa &#8211; web development musings</dc:creator>
		<pubDate>Thu, 06 May 2010 03:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-3175</guid>
		<description>[...] Models in Zend Framework &#8211; Matthew Turland       Post a Comment  Name [...]</description>
		<content:encoded><![CDATA[<p>[...] Models in Zend Framework &#8211; Matthew Turland       Post a Comment  Name [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Green</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1948</link>
		<dc:creator>James Green</dc:creator>
		<pubDate>Sat, 03 Apr 2010 21:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1948</guid>
		<description>FWIW I find it best to decouple the model and the database. Instead, I have the model which knows almost nothing about the underlying persistence and one or more data loading/saving classes. The saving classes can be thrown the model and database connection (usually a Zend_Db_Adapter_Abstract instance) usually because the calling code knows it loaded that object through the same class. Allows us to cleanly switch between database schemas or even load representations from external sources such as a CRM.</description>
		<content:encoded><![CDATA[<p>FWIW I find it best to decouple the model and the database. Instead, I have the model which knows almost nothing about the underlying persistence and one or more data loading/saving classes. The saving classes can be thrown the model and database connection (usually a Zend_Db_Adapter_Abstract instance) usually because the calling code knows it loaded that object through the same class. Allows us to cleanly switch between database schemas or even load representations from external sources such as a CRM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Dickey</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1849</link>
		<dc:creator>Jeff Dickey</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1849</guid>
		<description>@Carlos Aguado: Exactly. The way I&#039;ve preferred to develop MVC applications (desktop, Web, whatever) is to use a view that has near-zero intelligence – it just serves as a mapping from a logical/functional API (exercised by the controller) to the code needed to paint the interface. Since the controller is basically a traffic cop (take this command input, get the appropriately-massaged data from the model and hand it off to the view), that means that most of the &quot;interesting&quot; code goes into a &quot;heavy&quot; model (which itself is a set of interfaces with various domain classes in between. This makes it easy to, say, change application types. (here&#039;s a Web site; here&#039;s a set of Web services; here&#039;s a desktop app.... see how much gets reused?) It&#039;s also easy (easier) to make heart-transplant-level architectural changes. Client wants a new database? Fine. They&#039;re booting their old ISP and the new one has several major differences? Sorted.

Of course, MVC is also The Poster Child™ for TDD and CI, but that&#039;s a whole other set of posts...</description>
		<content:encoded><![CDATA[<p>@Carlos Aguado: Exactly. The way I&#8217;ve preferred to develop MVC applications (desktop, Web, whatever) is to use a view that has near-zero intelligence – it just serves as a mapping from a logical/functional API (exercised by the controller) to the code needed to paint the interface. Since the controller is basically a traffic cop (take this command input, get the appropriately-massaged data from the model and hand it off to the view), that means that most of the &#8220;interesting&#8221; code goes into a &#8220;heavy&#8221; model (which itself is a set of interfaces with various domain classes in between. This makes it easy to, say, change application types. (here&#8217;s a Web site; here&#8217;s a set of Web services; here&#8217;s a desktop app&#8230;. see how much gets reused?) It&#8217;s also easy (easier) to make heart-transplant-level architectural changes. Client wants a new database? Fine. They&#8217;re booting their old ISP and the new one has several major differences? Sorted.</p>
<p>Of course, MVC is also The Poster Child™ for TDD and CI, but that&#8217;s a whole other set of posts&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne Riemann</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1798</link>
		<dc:creator>Arne Riemann</dc:creator>
		<pubDate>Mon, 29 Mar 2010 07:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1798</guid>
		<description>Thanks for this nice post,now i have to rethink my Model Architecture.</description>
		<content:encoded><![CDATA[<p>Thanks for this nice post,now i have to rethink my Model Architecture.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio Sironi</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1783</link>
		<dc:creator>Giorgio Sironi</dc:creator>
		<pubDate>Sun, 28 Mar 2010 21:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1783</guid>
		<description>Doctrine 2 is very different from Doctrine 1 and it allows you to have Plain Old PHP Objects instead of Active Records in your model (a la Hibernate). Very beneficial. :)</description>
		<content:encoded><![CDATA[<p>Doctrine 2 is very different from Doctrine 1 and it allows you to have Plain Old PHP Objects instead of Active Records in your model (a la Hibernate). Very beneficial. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Aguado</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1780</link>
		<dc:creator>Carlos Aguado</dc:creator>
		<pubDate>Sun, 28 Mar 2010 18:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1780</guid>
		<description>&quot;In a nutshell, the model handles data: storing it, retrieving it, filtering and validating it, and providing access to it.&quot;

Good to hear that filtering and validation are to be performed by the model. This is precisely my idea, as filtering and validation are also, somehow, &quot;domain logic&quot;. I had a long discussion about this with people that stated that filtering and validation are view&#039;s tasks. I don&#039;t agree with that at all...

Thanks for the article!</description>
		<content:encoded><![CDATA[<p>&#8220;In a nutshell, the model handles data: storing it, retrieving it, filtering and validating it, and providing access to it.&#8221;</p>
<p>Good to hear that filtering and validation are to be performed by the model. This is precisely my idea, as filtering and validation are also, somehow, &#8220;domain logic&#8221;. I had a long discussion about this with people that stated that filtering and validation are view&#8217;s tasks. I don&#8217;t agree with that at all&#8230;</p>
<p>Thanks for the article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Weinraub</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1735</link>
		<dc:creator>David Weinraub</dc:creator>
		<pubDate>Sat, 27 Mar 2010 14:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1735</guid>
		<description>A nice overview of the core ideas. Thanks!

The source code of DASPRiD&#039;s site contains an interesting implementation of an injection-container-based service architecture that calls mappers which build models.

Site itself: http://www.dasprids.de/
Source code: http://site.svn.dasprids.de/trunk

The App library, in particular, is completely generic: drop it into a project, add a little bootstrap, and start creating your own services, mappers, and models.

I&#039;ve just done one, though I fear I might have mucked it up a bit. More experienced hands would no doubt do a better job with it. I&#039;ll probably try a little more experimentation to develop familiarity with custom mappers, but I feel that there might some Doctrine in my future).

Cheers!</description>
		<content:encoded><![CDATA[<p>A nice overview of the core ideas. Thanks!</p>
<p>The source code of DASPRiD&#8217;s site contains an interesting implementation of an injection-container-based service architecture that calls mappers which build models.</p>
<p>Site itself: <a href="http://www.dasprids.de/" rel="nofollow">http://www.dasprids.de/</a><br />
Source code: <a href="http://site.svn.dasprids.de/trunk" rel="nofollow">http://site.svn.dasprids.de/trunk</a></p>
<p>The App library, in particular, is completely generic: drop it into a project, add a little bootstrap, and start creating your own services, mappers, and models.</p>
<p>I&#8217;ve just done one, though I fear I might have mucked it up a bit. More experienced hands would no doubt do a better job with it. I&#8217;ll probably try a little more experimentation to develop familiarity with custom mappers, but I feel that there might some Doctrine in my future).</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abcphp.com</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1728</link>
		<dc:creator>abcphp.com</dc:creator>
		<pubDate>Sat, 27 Mar 2010 09:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1728</guid>
		<description>&lt;strong&gt;Models in Zend Framework &#124; Matthew Turland...&lt;/strong&gt;

A question that frequently comes up in my interactions with other developers about Zend Framework is how to approach designing models. There’s a small collection of resources and advice that I generally give on the subject, so I thought I’d write up a ...</description>
		<content:encoded><![CDATA[<p><strong>Models in Zend Framework | Matthew Turland&#8230;</strong></p>
<p>A question that frequently comes up in my interactions with other developers about Zend Framework is how to approach designing models. There’s a small collection of resources and advice that I generally give on the subject, so I thought I’d write up a &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework News &#187; Blog Archive &#187; Models im Zend Framework</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1727</link>
		<dc:creator>Zend Framework News &#187; Blog Archive &#187; Models im Zend Framework</dc:creator>
		<pubDate>Sat, 27 Mar 2010 09:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1727</guid>
		<description>[...] http://matthewturland.com/2010/03/26/models-in-zend-framework/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://matthewturland.com/2010/03/26/models-in-zend-framework/" rel="nofollow">http://matthewturland.com/2010/03/26/models-in-zend-framework/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework in Action &#187; Matthew Turland: Models in Zend Framework</title>
		<link>http://matthewturland.com/2010/03/26/models-in-zend-framework/comment-page-1/#comment-1726</link>
		<dc:creator>Zend Framework in Action &#187; Matthew Turland: Models in Zend Framework</dc:creator>
		<pubDate>Sat, 27 Mar 2010 09:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=249#comment-1726</guid>
		<description>[...] Turland has written an article on models in Zend Framework. A question that frequently comes up in my interactions with other developers about Zend Framework [...]</description>
		<content:encoded><![CDATA[<p>[...] Turland has written an article on models in Zend Framework. A question that frequently comes up in my interactions with other developers about Zend Framework [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
