<?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>Aviblock.com &#187; xhp</title>
	<atom:link href="http://www.aviblock.com/blog/tag/xhp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aviblock.com/blog</link>
	<description>My musings on web development</description>
	<lastBuildDate>Mon, 30 May 2011 15:07:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>The end of the PHP vs Template language debate?</title>
		<link>http://www.aviblock.com/blog/2010/02/10/the-end-of-the-php-vs-template-language-debate/</link>
		<comments>http://www.aviblock.com/blog/2010/02/10/the-end-of-the-php-vs-template-language-debate/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:36:39 +0000</pubDate>
		<dc:creator>Avi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhp]]></category>

		<guid isPermaLink="false">http://www.aviblock.com/blog/?p=92</guid>
		<description><![CDATA[For years there has been a ferocious debate about whether it is better to abstract away HTML creation with PHP by using a template language, or whether we should stick with PHP itself as the template language. I always thought the best way to go was a with a hybrid. A templating language which resembles [...]]]></description>
			<content:encoded><![CDATA[<p>For years there has been a ferocious debate about whether it is better to abstract away HTML creation with PHP by using a template language, or whether we should stick with PHP itself as the template language. I always thought the best way to go was a with a hybrid. A templating language which resembles XML, sort of like what you get with JSTL. There have been <a href="http://phptal.org/">some</a> <a href="http://flow3.typo3.org/documentation/manuals/fluid/">attempts </a>, which have been pretty good. Facebook, however, just took this <a href="http://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919">one step further</a>, and integrated XML into PHP with XHP. This is sort of reminicient of <a href="http://blogs.msdn.com/jimoneil/archive/2009/06/15/x-is-for-xml-literal.aspx">XML Literals</a> in VB. They have released the code on <a href="http://github.com/facebook/xhp">github</a> already. The best part about it is that every XML element is represented by a class, leaving room to create sophisticated widgets out of XML tags! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.aviblock.com/blog/2010/02/10/the-end-of-the-php-vs-template-language-debate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

