<?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"
	>
<channel>
	<title>Comments on: Traits for a new template engine</title>
	<atom:link href="http://symfonynerds.com/blog/?feed=rss2&#038;p=280" rel="self" type="application/rss+xml" />
	<link>http://symfonynerds.com/blog/?p=280</link>
	<description>Nerds who love the symfony-project</description>
	<pubDate>Wed, 08 Sep 2010 04:03:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: lawrence</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-512</link>
		<dc:creator>lawrence</dc:creator>
		<pubDate>Fri, 30 Oct 2009 00:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-512</guid>
		<description>Fabian, seems like you could recreate some aspects of AOP using traits. But certain styles of action hooking would still need to be done with factory methods or closures.</description>
		<content:encoded><![CDATA[<p>Fabian, seems like you could recreate some aspects of AOP using traits. But certain styles of action hooking would still need to be done with factory methods or closures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-509</link>
		<dc:creator>Fabian</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-509</guid>
		<description>I am not really fond of mixins. Hooking code is unpredictable. And you can achieve code reuse by other means. Like injecting a service with IoC. 
I would never have thought somebody says: inheritance is for code reuse.
if you do want to code crossfunctional code only once, I would go into the direction of AOP. (Not sure if traits mimic that)</description>
		<content:encoded><![CDATA[<p>I am not really fond of mixins. Hooking code is unpredictable. And you can achieve code reuse by other means. Like injecting a service with IoC.<br />
I would never have thought somebody says: inheritance is for code reuse.<br />
if you do want to code crossfunctional code only once, I would go into the direction of AOP. (Not sure if traits mimic that)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lawrence</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-497</link>
		<dc:creator>lawrence</dc:creator>
		<pubDate>Mon, 26 Oct 2009 21:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-497</guid>
		<description>davide, 'traits' would not become part of the inheritance tree of the class that you include them in. So, for instance, if you have an IDE that shows you all the methods in your class, you would avoid the explosion of methods that Michele Simionato wrote of. Really, if you want to know the worst anti-pattern of Ruby Mixins, read Michele Simionato's article. I linked to it above.</description>
		<content:encoded><![CDATA[<p>davide, &#8216;traits&#8217; would not become part of the inheritance tree of the class that you include them in. So, for instance, if you have an IDE that shows you all the methods in your class, you would avoid the explosion of methods that Michele Simionato wrote of. Really, if you want to know the worst anti-pattern of Ruby Mixins, read Michele Simionato&#8217;s article. I linked to it above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davide</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-496</link>
		<dc:creator>davide</dc:creator>
		<pubDate>Mon, 26 Oct 2009 19:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-496</guid>
		<description>I think traits would be something like module mixins in ruby, if you're familiar...</description>
		<content:encoded><![CDATA[<p>I think traits would be something like module mixins in ruby, if you&#8217;re familiar&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What would the ideal template system be for Symfony?</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-490</link>
		<dc:creator>What would the ideal template system be for Symfony?</dc:creator>
		<pubDate>Sun, 25 Oct 2009 05:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-490</guid>
		<description>[...] About reusability, he says he is looking forward to having &#8216;traits&#8217; in PHP. See my last post for more about that. [...]</description>
		<content:encoded><![CDATA[<p>[...] About reusability, he says he is looking forward to having &#8216;traits&#8217; in PHP. See my last post for more about that. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Closer To The Ideal &#187; Blog Archive &#187; Traits will bring something like mixins to PHP</title>
		<link>http://symfonynerds.com/blog/?p=280#comment-488</link>
		<dc:creator>Closer To The Ideal &#187; Blog Archive &#187; Traits will bring something like mixins to PHP</dc:creator>
		<pubDate>Sat, 24 Oct 2009 18:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://symfonynerds.com/blog/?p=280#comment-488</guid>
		<description>[...] I&#8217;ve a new post up over at Symfony Nerds. It is all about how &#8216;traits&#8217; will bring something like Mixins to PHP. [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ve a new post up over at Symfony Nerds. It is all about how &#8216;traits&#8217; will bring something like Mixins to PHP. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
