<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 15:22:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lars Strojny's Blog: NOWDOC + double quotes = HEREDOC]]></title>
      <guid>http://www.phpdeveloper.org/news/9974</guid>
      <link>http://www.phpdeveloper.org/news/9974</link>
      <description><![CDATA[<p>
<i>Lars Strojny</i> has <a href="http://usrportage.de/archives/884-NOWDOC-+-double-quotes-HEREDOC.html">posted about</a> a the new element that's been introduced in the PHP 5.3 branch - NOWDOC:
</p>
<blockquote>
PHP 5.3 introduces a new syntax element, NOWDOC. If you know HEREDOC, NOWDOC is easy to understand: it is in fact HEREDOC taken literally. Whily variables are expanded in HEREDOC, in NOWDOC they are not.
</blockquote>
<p>
NOWDOC is basically a HEREDOC except for one thing - no parsing is done inside of it, making it good for echoing out PHP code (that would otherwise need to be escaped all over).
</p>]]></description>
      <pubDate>Tue, 15 Apr 2008 10:25:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPRiot.com: Creating Custom Block Tags in Smarty]]></title>
      <guid>http://www.phpdeveloper.org/news/9556</guid>
      <link>http://www.phpdeveloper.org/news/9556</link>
      <description><![CDATA[<p>
On the {H{Riot.com site today, there's <a href="http://www.phpriot.com/articles/smarty-blocks">a new tutorial</a> talking about how to customize your site's Smarty templates a bit more using external plug-ins, specifically one for making those "code block" sections seen all over the web.
</p>
<blockquote>
We will first learn how block plug-ins can be used in your templates, and then learn how to create our own. Once we know how to create a block plug-in, we will cover a practical example that will show you how block plug-ins can effectively be used in your own web sites.
</blockquote>
<p>
<a href="http://www.phpriot.com/articles/smarty-blocks">The tutorial</a> assumes that you already have Smarty installed and that you're familiar enough with it to know how to work with the plug-in system right away. They include some samples of how it can be used (a default block, formatting it with HTML) and, of course, how to integrate this (PHP code and all) into your template and push your content into it.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 07:56:00 -0600</pubDate>
    </item>
  </channel>
</rss>
