<?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: PHPPositions &#8211; Genuine PHP jobs at Genuine Companies</title>
	<atom:link href="http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/</link>
	<description>Dave Marshall</description>
	<lastBuildDate>Sun, 24 Jan 2010 23:46:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ZFSnippets.com - Zend Framework Code Snippets &#124; DaveDevelopment</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-75974</link>
		<dc:creator>ZFSnippets.com - Zend Framework Code Snippets &#124; DaveDevelopment</dc:creator>
		<pubDate>Wed, 04 Mar 2009 12:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-75974</guid>
		<description>[...] for this. I&#8217;m aware of generic snippets sites and pastebin sites, but I thought it&#8217;d be another good learning opportunity to build my own with the Zend Framework, for the Zend [...]</description>
		<content:encoded><![CDATA[<p>[...] for this. I&#8217;m aware of generic snippets sites and pastebin sites, but I thought it&#8217;d be another good learning opportunity to build my own with the Zend Framework, for the Zend [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mute</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-69954</link>
		<dc:creator>Mute</dc:creator>
		<pubDate>Fri, 05 Dec 2008 17:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-69954</guid>
		<description>Nice work, I hate agencies...

Your email should go in the model/domain, however sending emails will probably not fit very logically into any of your models, as the email logic is specific to sending emails. This is where services come in, services are the parts of your domain that do not fit naturally within your model. Therefore I usually create an email service that my models can use.</description>
		<content:encoded><![CDATA[<p>Nice work, I hate agencies&#8230;</p>
<p>Your email should go in the model/domain, however sending emails will probably not fit very logically into any of your models, as the email logic is specific to sending emails. This is where services come in, services are the parts of your domain that do not fit naturally within your model. Therefore I usually create an email service that my models can use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Porter</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-68563</link>
		<dc:creator>James Porter</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-68563</guid>
		<description>Looking forward to wearing my Php Positions T-Shirt at PHPNW 08 ;)</description>
		<content:encoded><![CDATA[<p>Looking forward to wearing my Php Positions T-Shirt at PHPNW 08 ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-66395</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 09 Oct 2008 19:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-66395</guid>
		<description>Many people would put that in their models (as they see those as their business logic).
I would put it in the controller as my models are no more that active records (generated by Propel).

I wouldn&#039;t think of that to much though. :-)</description>
		<content:encoded><![CDATA[<p>Many people would put that in their models (as they see those as their business logic).<br />
I would put it in the controller as my models are no more that active records (generated by Propel).</p>
<p>I wouldn&#8217;t think of that to much though. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daveyboy</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-65791</link>
		<dc:creator>daveyboy</dc:creator>
		<pubDate>Tue, 30 Sep 2008 07:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-65791</guid>
		<description>No idea how much time I spent on it, but there&#039;s plenty more I&#039;ve got to do. The problem is, I work on it every now and then when I have ten minutes.

The biggest problem I have is where to put things when I am trying to follow best practices. For example, I want the users to receive an email when their posting has been approved. Is this business logic? Does it go in the model? Should I have some sort of Observer pattern implemented?</description>
		<content:encoded><![CDATA[<p>No idea how much time I spent on it, but there&#8217;s plenty more I&#8217;ve got to do. The problem is, I work on it every now and then when I have ten minutes.</p>
<p>The biggest problem I have is where to put things when I am trying to follow best practices. For example, I want the users to receive an email when their posting has been approved. Is this business logic? Does it go in the model? Should I have some sort of Observer pattern implemented?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.davedevelopment.co.uk/2008/09/29/phppositions-genuine-php-jobs-at-genuine-companies/comment-page-1/#comment-65789</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 30 Sep 2008 06:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=190#comment-65789</guid>
		<description>Nice work. Do you have any idea how much time you spent on it?

Something I wresled with when I started with Zend Framework was controlling the output of Zend Form in you view. Although the decorators are a nice concept, in my humble opinion there are better options.

The article by Matthew helps on this subject:
http://devzone.zend.com/article/3450-Decorators-with-Zend_Form

Have fun!</description>
		<content:encoded><![CDATA[<p>Nice work. Do you have any idea how much time you spent on it?</p>
<p>Something I wresled with when I started with Zend Framework was controlling the output of Zend Form in you view. Although the decorators are a nice concept, in my humble opinion there are better options.</p>
<p>The article by Matthew helps on this subject:<br />
<a href="http://devzone.zend.com/article/3450-Decorators-with-Zend_Form" rel="nofollow">http://devzone.zend.com/article/3450-Decorators-with-Zend_Form</a></p>
<p>Have fun!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
