<?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: Introducing Zend View Helpers</title>
	<atom:link href="http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:49:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Steve Davies</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-19557</link>
		<dc:creator>Steve Davies</dc:creator>
		<pubDate>Fri, 10 Jun 2011 13:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-19557</guid>
		<description>hi,

Can anyone tell me where the link for part 2 to this tutorial is?

Cheers,
Steve</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>Can anyone tell me where the link for part 2 to this tutorial is?</p>
<p>Cheers,<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-11043</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 08 Oct 2010 17:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-11043</guid>
		<description>Why are you creating html in a string. I thought  MVC practices dictated that html is only generated in views .phtml files.

Are view helpers an exception to this where it&#039;s best practice to embed html in a string? If so how much html should you embed in strings in the helper and at what point do you move that html to a .phtml view?</description>
		<content:encoded><![CDATA[<p>Why are you creating html in a string. I thought  MVC practices dictated that html is only generated in views .phtml files.</p>
<p>Are view helpers an exception to this where it&#8217;s best practice to embed html in a string? If so how much html should you embed in strings in the helper and at what point do you move that html to a .phtml view?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-10553</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Mon, 20 Sep 2010 06:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-10553</guid>
		<description>for those of you who get application error enter this in the production part of the application.ini file:

resources.view.helperPath.App_View_Helper = &quot;App/View/Helper&quot;
resources.view.helperPathPrefix.App_View_Helper = &quot;App_View_Helper&quot;</description>
		<content:encoded><![CDATA[<p>for those of you who get application error enter this in the production part of the application.ini file:</p>
<p>resources.view.helperPath.App_View_Helper = &#8220;App/View/Helper&#8221;<br />
resources.view.helperPathPrefix.App_View_Helper = &#8220;App_View_Helper&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joddy street</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-10019</link>
		<dc:creator>joddy street</dc:creator>
		<pubDate>Wed, 01 Sep 2010 06:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-10019</guid>
		<description>The Site Looks amazing !! Great touch-up Jon</description>
		<content:encoded><![CDATA[<p>The Site Looks amazing !! Great touch-up Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: knodumi</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-9907</link>
		<dc:creator>knodumi</dc:creator>
		<pubDate>Sat, 28 Aug 2010 11:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-9907</guid>
		<description>I added this to action. don&#039;t know that it&#039;s a proper way, but it works
$this-&gt;_helper-&gt;json($bookList-&gt;toArray());
thanks again for this series</description>
		<content:encoded><![CDATA[<p>I added this to action. don&#8217;t know that it&#8217;s a proper way, but it works<br />
$this-&gt;_helper-&gt;json($bookList-&gt;toArray());<br />
thanks again for this series</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: knodumi</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-9903</link>
		<dc:creator>knodumi</dc:creator>
		<pubDate>Sat, 28 Aug 2010 08:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-9903</guid>
		<description>another great tutorial, Thanks a lot. I tried this with jquery autocomplete &quot;Custom data and display&quot; example (only to get key/value feature)which shown in http://bit.ly/addWR0 to get key/value selection. First I tried it simply on form with static array.It worked

$formElement-&gt;setJQueryParams(array(&#039;source&#039; =&gt; array(
    array(&#039;value&#039;=&gt;&#039;NY&#039;,&#039;label&#039;=&gt;&#039;New York&#039;),
    array(&#039;value&#039;=&gt;&#039;BLN&#039;,&#039;label&#039;=&gt;&#039;Berlin&#039;),
    array(&#039;value&#039;=&gt;&#039;BTN&#039;,&#039;label&#039;=&gt;&#039;Boston&#039;)
)));

Then I tried with dynamic data with databases. In here I implement an array of arrays (value=&gt;, label=&gt;) and I add this to form element

$formElement-&gt;setJQueryParam(&#039;source&#039;,&#039;/admin/book/book-list&#039;); //the url to get array object

but I don&#039;t know how to send the array of arrays (value=&gt;, label=&gt;)  as ajax response via json from action file.

I wrote this on action, but it not worked 
$this-&gt;_helper-&gt;json(array_values($bookList));

I will be glad if anyone can help to fix this to me.

thanks again for zendcasts series, It&#039;s really helpful to me</description>
		<content:encoded><![CDATA[<p>another great tutorial, Thanks a lot. I tried this with jquery autocomplete &#8220;Custom data and display&#8221; example (only to get key/value feature)which shown in <a href="http://bit.ly/addWR0" rel="nofollow">http://bit.ly/addWR0</a> to get key/value selection. First I tried it simply on form with static array.It worked</p>
<p>$formElement-&gt;setJQueryParams(array(&#8216;source&#8217; =&gt; array(<br />
    array(&#8216;value&#8217;=&gt;&#8217;NY&#8217;,'label&#8217;=&gt;&#8217;New York&#8217;),<br />
    array(&#8216;value&#8217;=&gt;&#8217;BLN&#8217;,'label&#8217;=&gt;&#8217;Berlin&#8217;),<br />
    array(&#8216;value&#8217;=&gt;&#8217;BTN&#8217;,'label&#8217;=&gt;&#8217;Boston&#8217;)<br />
)));</p>
<p>Then I tried with dynamic data with databases. In here I implement an array of arrays (value=&gt;, label=&gt;) and I add this to form element</p>
<p>$formElement-&gt;setJQueryParam(&#8216;source&#8217;,'/admin/book/book-list&#8217;); //the url to get array object</p>
<p>but I don&#8217;t know how to send the array of arrays (value=&gt;, label=&gt;)  as ajax response via json from action file.</p>
<p>I wrote this on action, but it not worked<br />
$this-&gt;_helper-&gt;json(array_values($bookList));</p>
<p>I will be glad if anyone can help to fix this to me.</p>
<p>thanks again for zendcasts series, It&#8217;s really helpful to me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafa</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-9848</link>
		<dc:creator>Rafa</dc:creator>
		<pubDate>Thu, 26 Aug 2010 14:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-9848</guid>
		<description>Hi there!
Nice screencast! Just one question. I&#039;ve tried to use JQuery controls into layouts (not in the view scripts) but I don&#039;t know why it doesn&#039;t work. Could anybody help me with that? 

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hi there!<br />
Nice screencast! Just one question. I&#8217;ve tried to use JQuery controls into layouts (not in the view scripts) but I don&#8217;t know why it doesn&#8217;t work. Could anybody help me with that? </p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonno</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-9779</link>
		<dc:creator>Jonno</dc:creator>
		<pubDate>Tue, 24 Aug 2010 14:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-9779</guid>
		<description>Jon rocks my socks!</description>
		<content:encoded><![CDATA[<p>Jon rocks my socks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GaVrA</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-8436</link>
		<dc:creator>GaVrA</dc:creator>
		<pubDate>Sat, 10 Jul 2010 15:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-8436</guid>
		<description>Hey jon!

Can you explain why are you not putting helper files under application/views/helpers?

I tried to follow you with that folder structure, but just ended up with bunch of errors.

I ended up puting Notice.php in application/views/helpers folder and calling that class Zend_View_Helper_Notice and i managed to get everything to work.

Thanks for these screencasts!</description>
		<content:encoded><![CDATA[<p>Hey jon!</p>
<p>Can you explain why are you not putting helper files under application/views/helpers?</p>
<p>I tried to follow you with that folder structure, but just ended up with bunch of errors.</p>
<p>I ended up puting Notice.php in application/views/helpers folder and calling that class Zend_View_Helper_Notice and i managed to get everything to work.</p>
<p>Thanks for these screencasts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slavic</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-6248</link>
		<dc:creator>Slavic</dc:creator>
		<pubDate>Sun, 21 Mar 2010 16:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-6248</guid>
		<description>Hi Jon, 

thanks - I don&#039;t yet use Zend_Acl, I use only Zend_Auth so i might need to read first about the acl features. 

However, I fixed my problem by accessing Zend_Auth in the very view helper class, which I think is pretty much what you meant.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi Jon, </p>
<p>thanks &#8211; I don&#8217;t yet use Zend_Acl, I use only Zend_Auth so i might need to read first about the acl features. </p>
<p>However, I fixed my problem by accessing Zend_Auth in the very view helper class, which I think is pretty much what you meant.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-6239</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sun, 21 Mar 2010 10:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-6239</guid>
		<description>Hi Slavic, I think a singleton strategy would work for this, where you create a class that &quot;owns&quot; that little bit of data. Ideally it would be connected to Zend_Acl and you could just query Zend_Acl&#039;s methods to get the answer for who&#039;s logged in. I did an example like this a couple months back. Hope that helps!</description>
		<content:encoded><![CDATA[<p>Hi Slavic, I think a singleton strategy would work for this, where you create a class that &#8220;owns&#8221; that little bit of data. Ideally it would be connected to Zend_Acl and you could just query Zend_Acl&#8217;s methods to get the answer for who&#8217;s logged in. I did an example like this a couple months back. Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slavic</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-6225</link>
		<dc:creator>Slavic</dc:creator>
		<pubDate>Sat, 20 Mar 2010 20:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-6225</guid>
		<description>I&#039;ll be glad to know the answer.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll be glad to know the answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slavic</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-6224</link>
		<dc:creator>Slavic</dc:creator>
		<pubDate>Sat, 20 Mar 2010 20:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-6224</guid>
		<description>Hi,

very very well done webcasts. Love them.

Im struggling with a problem though:
I have a helper that should show the usual &quot;Welcome Guest!&quot; or &quot;Logged in as [user]&quot; in my application. The problem is that I need to pass the identity object to the helper before it is being used in the layout. In other words, I have no idea how to &quot;initialize&quot; my helper so that it knows who is or is not currently logged in.

Thanks a bunch.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>very very well done webcasts. Love them.</p>
<p>Im struggling with a problem though:<br />
I have a helper that should show the usual &#8220;Welcome Guest!&#8221; or &#8220;Logged in as [user]&#8221; in my application. The problem is that I need to pass the identity object to the helper before it is being used in the layout. In other words, I have no idea how to &#8220;initialize&#8221; my helper so that it knows who is or is not currently logged in.</p>
<p>Thanks a bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew bogucki</title>
		<link>http://www.zendcasts.com/introducing-zend-view-helpers/2009/02/comment-page-1/#comment-4725</link>
		<dc:creator>andrew bogucki</dc:creator>
		<pubDate>Sat, 16 Jan 2010 13:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=140#comment-4725</guid>
		<description>﻿Your article is very usefulness. Can you please post some additional information about this? take care</description>
		<content:encoded><![CDATA[<p>﻿Your article is very usefulness. Can you please post some additional information about this? take care</p>
]]></content:encoded>
	</item>
</channel>
</rss>

