<?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: HTML Helpers: Friend or foe?</title>
	<atom:link href="http://zahnster.com/frameworks/html-helpers-friend-or-foe/feed" rel="self" type="application/rss+xml" />
	<link>http://zahnster.com/frameworks/html-helpers-friend-or-foe</link>
	<description>my name's jade. i'm a child of the internet.</description>
	<lastBuildDate>Thu, 25 Feb 2010 19:30:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://zahnster.com/frameworks/html-helpers-friend-or-foe/comment-page-1#comment-7</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 20 Jul 2007 20:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://zahnster.com/?p=21#comment-7</guid>
		<description>Thanks for your comments, guys. Those are very good points and make me feel a lot more confident in continuing to use Helpers.</description>
		<content:encoded><![CDATA[<p>Thanks for your comments, guys. Those are very good points and make me feel a lot more confident in continuing to use Helpers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Morgan</title>
		<link>http://zahnster.com/frameworks/html-helpers-friend-or-foe/comment-page-1#comment-6</link>
		<dc:creator>Michael Morgan</dc:creator>
		<pubDate>Fri, 20 Jul 2007 16:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://zahnster.com/?p=21#comment-6</guid>
		<description>Yes they are quite useful and can offer the developer a lot more support later on. Lets say for example you had 1,000 links pointing to external sites throughout your site and you wanted to change it so they opened in a new window. If they were standard HTML links you would have to go through each one and edit it individually. Using this &#039;helper&#039; method means that within the function that handles the link creation you could easily change it to affect all links.

You could also add conditionals in the function to determine what page the link is being called on so you can set differences in links depending on what page they are on.

Just my two cents
- &lt;a href=&quot;http://ww.pythonsblog.com&quot; title=&quot;Michael Morgan&quot; rel=&quot;nofollow&quot;&gt;Michael&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Yes they are quite useful and can offer the developer a lot more support later on. Lets say for example you had 1,000 links pointing to external sites throughout your site and you wanted to change it so they opened in a new window. If they were standard HTML links you would have to go through each one and edit it individually. Using this &#8216;helper&#8217; method means that within the function that handles the link creation you could easily change it to affect all links.</p>
<p>You could also add conditionals in the function to determine what page the link is being called on so you can set differences in links depending on what page they are on.</p>
<p>Just my two cents<br />
- <a href="http://ww.pythonsblog.com" title="Michael Morgan" rel="nofollow">Michael</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Christensen</title>
		<link>http://zahnster.com/frameworks/html-helpers-friend-or-foe/comment-page-1#comment-5</link>
		<dc:creator>Adam Christensen</dc:creator>
		<pubDate>Tue, 10 Jul 2007 02:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://zahnster.com/?p=21#comment-5</guid>
		<description>That answer is easy!  Of course they are handy!  Once you use one of those helpers, you know you can always extend that functionality if need be.

For instance, let&#039;s say you end up using the &lt;code&gt;$html-&gt;image&lt;/code&gt;.  That by default uses a path relative to &lt;code&gt;webroot/images&lt;/code&gt;.  Perfect, but what if you want to serve those images off another server?  You can modify the helper to pull from http://assets.yourdomain.com/images without touching all/any of your images.

Now can I think of an example for &lt;code&gt;$html-&gt;link&lt;/code&gt;?  no.  But you never know.</description>
		<content:encoded><![CDATA[<p>That answer is easy!  Of course they are handy!  Once you use one of those helpers, you know you can always extend that functionality if need be.</p>
<p>For instance, let&#8217;s say you end up using the <code>$html-&gt;image</code>.  That by default uses a path relative to <code>webroot/images</code>.  Perfect, but what if you want to serve those images off another server?  You can modify the helper to pull from <a href="http://assets.yourdomain.com/images" rel="nofollow">http://assets.yourdomain.com/images</a> without touching all/any of your images.</p>
<p>Now can I think of an example for <code>$html-&gt;link</code>?  no.  But you never know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

