<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>amnuts &#187; zend_view_stream</title>
	<atom:link href="http://blog.amnuts.com/tag/zend_view_stream/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amnuts.com</link>
	<description>php projects, javascript, and... stuff.</description>
	<lastBuildDate>Fri, 07 May 2010 09:11:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend Framework hidden gems</title>
		<link>http://blog.amnuts.com/2009/03/24/zend-framework-hidden-gems/</link>
		<comments>http://blog.amnuts.com/2009/03/24/zend-framework-hidden-gems/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 17:16:20 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[streams]]></category>
		<category><![CDATA[zend_view]]></category>
		<category><![CDATA[zend_view_stream]]></category>

		<guid isPermaLink="false">http://blog.amnuts.com/?p=133</guid>
		<description><![CDATA[Sometimes you come across hidden little gems in the Zend Framework that save you time, even if that&#8217;s just down to the amount of text you need to type.  The Zend_View holds one of these little gems&#8230;
Did you know that you can use the short php open tags and echo tag in your view [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you come across hidden little gems in the Zend Framework that save you time, even if that&#8217;s just down to the amount of text you need to type.  The Zend_View holds one of these little gems&#8230;</p>
<p>Did you know that you can use the short php open tags and echo tag in your view scripts, and you don&#8217;t even need to have this turned on in the php.ini file?</p>
<p>So you can have things like:</p>
<p><code>&lt;? $this->viewHelper(); ?&gt;</code></p>
<p>and:</p>
<p><code>&lt;?= $this->variable; ?&gt;</code></p>
<p>instead of:</p>
<p><code>&lt;?php $this->viewHelper(); ?&gt;</code><br />
<code>&lt;?php echo $this->variable; ?&gt;</code></p>
<p>Might not seem a lot, but when you have a lot of view scripts to write then you can save quite a few key strokes.</p>
<p>It&#8217;s able to do this, even if you have short_tags off (as it should be!) because Zend_View uses a stream to open and seek through the view script &#8211; Zend_View_Stream.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amnuts.com/2009/03/24/zend-framework-hidden-gems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
