<?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>PHP development review</title>
	<atom:link href="http://php.devreview.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://php.devreview.com</link>
	<description>PHP software development news, reviews and articles</description>
	<lastBuildDate>Fri, 27 Aug 2010 05:12:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP News #7</title>
		<link>http://php.devreview.com/php-news-7/</link>
		<comments>http://php.devreview.com/php-news-7/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 05:10:53 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[CodeMash]]></category>
		<category><![CDATA[Embarcadero]]></category>
		<category><![CDATA[Jolt framework]]></category>
		<category><![CDATA[Phantm]]></category>
		<category><![CDATA[RAD Studio XE]]></category>
		<category><![CDATA[Zend framework]]></category>
		<category><![CDATA[ZendCon]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=804</guid>
		<description><![CDATA[PHP news for the fortnight ending August 27th, 2010. Jolt is a new PHP5.3+ framework aimed at fast and efficient web application development. CodeMash a multi development language technical conference on current practices, methodologies and technology trends. January 12-14, 2011, Sandusky, Ohio. Embarcadero RAD Studio XE with support for PHP Registration opens for ZendCon 2010. [...]


Related posts:<ol><li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-5/' rel='bookmark' title='Permanent Link: PHP News #5'>PHP News #5</a> <small>PHP news to August 6th, 2010. New PHP drivers for...</small></li>
<li><a href='http://php.devreview.com/php-news-6/' rel='bookmark' title='Permanent Link: PHP News #6'>PHP News #6</a> <small>PHP news to August 13th, 2010. New Yii1.1 and PHP5...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP news for the fortnight ending August 27th, 2010.</p>
<ul>
<li><a href="http://github.com/leftnode/Jolt">Jolt</a> is a new PHP5.3+ framework aimed at fast and efficient web application development.</li>
<li><a href="http://codemash.org/">CodeMash</a> a multi development language technical conference on current practices, methodologies and technology trends. January 12-14, 2011, Sandusky, Ohio.</li>
<li>Embarcadero <a href="http://www.embarcadero.com/rad-studio-xe-preview">RAD Studio XE</a> with support for PHP</li>
<li><a href="http://zendcon.com/registration/">Registration opens</a> for ZendCon 2010. Early bird by 19 September.</li>
<li><a href="http://devzone.zend.com/article/12481-Zend-Framework-1.10.8-Released">Zend Framework 1.10.8</a> Released with bug fixes</li>
<li><a href="http://bakery.cakephp.org/articles/view/cakephp-1-2-8-released">CakePHP 1.2.8</a> released of bugfixes and optimisations</li>
<li><a href="http://lara.epfl.ch/dokuwiki/phantm">Phantm</a> 1.05 released. Statically analyses PHP code to detect and report type mismatches</li>
</ul>


<p>Related posts:<ol><li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-5/' rel='bookmark' title='Permanent Link: PHP News #5'>PHP News #5</a> <small>PHP news to August 6th, 2010. New PHP drivers for...</small></li>
<li><a href='http://php.devreview.com/php-news-6/' rel='bookmark' title='Permanent Link: PHP News #6'>PHP News #6</a> <small>PHP news to August 13th, 2010. New Yii1.1 and PHP5...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Events and Content Updates</title>
		<link>http://php.devreview.com/php-events-content-updates/</link>
		<comments>http://php.devreview.com/php-events-content-updates/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 05:22:43 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[unconferences]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=798</guid>
		<description><![CDATA[PHP devReview is adding a section for PHP events. This can be conferences, unconferences or any significant gathering of PHP developers. It need not be a purely PHP event. Know of a relevant event, let us know, and we can add it to the list. Our list of PHP frameworks, code editors and book is [...]


Related posts:<ol><li><a href='http://php.devreview.com/article-does-every-php-developer-have-their-own-framework/' rel='bookmark' title='Permanent Link: Does every php developer have their own framework?'>Does every php developer have their own framework?</a> <small>I have tried a few php frameworks over the years,...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP devReview is adding a section for <a href="/php-event/">PHP events</a>. This can be conferences, unconferences or any significant gathering of PHP developers. It need not be a purely PHP event. Know of a relevant event, <a href="/contact/">let us know</a>, and we can add it to the list.</p>
<p>Our list of PHP frameworks, code editors and book is well out of date, and this will also be fixed soon.</p>
<p>Updating the site for <a href="http://wordpress.org">WordPress 3</a> has made this new functionality easier, and site updates such now be much quicker and easier.</p>


<p>Related posts:<ol><li><a href='http://php.devreview.com/article-does-every-php-developer-have-their-own-framework/' rel='bookmark' title='Permanent Link: Does every php developer have their own framework?'>Does every php developer have their own framework?</a> <small>I have tried a few php frameworks over the years,...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-events-content-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP News #6</title>
		<link>http://php.devreview.com/php-news-6/</link>
		<comments>http://php.devreview.com/php-news-6/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 11:16:25 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[HTML Sanitisation]]></category>
		<category><![CDATA[PHP_CodeBrowser]]></category>
		<category><![CDATA[Yii framework]]></category>
		<category><![CDATA[Zend framework]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=796</guid>
		<description><![CDATA[PHP news to August 13th, 2010. New Yii1.1 and PHP5 book. Sign of a framework reaching mass. PHP Code Browser 0.9 (beta) released. Visual analysis of your PHP code. Zend Framework 2 (2.0.0dev1). First development milestone released. Padraic Brady reviews some of the PHP based HTML sanitisers. Related posts:PHP News #5 PHP news to August [...]


Related posts:<ol><li><a href='http://php.devreview.com/php-news-5/' rel='bookmark' title='Permanent Link: PHP News #5'>PHP News #5</a> <small>PHP news to August 6th, 2010. New PHP drivers for...</small></li>
<li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP news to August 13th, 2010.</p>
<ul>
<li>New <a href="https://www.packtpub.com/yii-1-1-and-php5-for-agile-web-application-development/book">Yii1.1 and PHP5 book</a>. Sign of a framework reaching mass.</li>
<li>PHP Code Browser <a href="http://blog.mayflower.de/archives/575-PHP_CodeBrowser-0.9.0-is-out.html">0.9 (beta)</a> released. Visual analysis of your PHP code.</li>
<li>Zend Framework 2 (2.0.0dev1). First <a href="http://devzone.zend.com/article/12385-First-Development-Milestone-of-ZF-2.0-Released">development milestone released</a>.</li>
<li><a href="http://blog.astrumfutura.com/archives/431-html-Sanitisation-The-Devils-In-The-Details-And-The-Vulnerabilities.html">Padraic Brady reviews</a> some of the PHP based HTML sanitisers.</li>
<ul>


<p>Related posts:<ol><li><a href='http://php.devreview.com/php-news-5/' rel='bookmark' title='Permanent Link: PHP News #5'>PHP News #5</a> <small>PHP news to August 6th, 2010. New PHP drivers for...</small></li>
<li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP News #5</title>
		<link>http://php.devreview.com/php-news-5/</link>
		<comments>http://php.devreview.com/php-news-5/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 03:40:20 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[OSDC]]></category>
		<category><![CDATA[PHPNW conference]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Zend framework]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=729</guid>
		<description><![CDATA[PHP news to August 6th, 2010. New PHP drivers for for SQL Server released, under an Apache 2.0 license. Zend framework 1.10.7 released. Bug fixes including an update for Zend_Service_Twitter, as Twitter moves to OAuth. PHPNW conference on October 9 &#038; 10, 2010 in Manchester, UK. New PHP Excel extension from Ilia Alshanetsky. Call for [...]


Related posts:<ol><li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-1/' rel='bookmark' title='Permanent Link: PHP News #1'>PHP News #1</a> <small>Recent PHP news to July 9, 2010. Early release of...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP news to August 6th, 2010.</p>
<ul>
<li>New PHP drivers for for SQL Server <a href="http://blogs.technet.com/b/stbnewsbytes/archive/2010/08/05/microsoft-drivers-for-php-for-sql-server-2-0-released-today.aspx">released</a>, under an Apache 2.0 license.</li>
<li><a href="http://devzone.zend.com/article/12367-Zend-Framework-1.10.7-Released">Zend framework 1.10.7</a> released. Bug fixes including an update for Zend_Service_Twitter, as Twitter moves to OAuth.</li>
<li><a href="http://conference.phpnw.org.uk/phpnw10/">PHPNW conference</a> on October 9 &#038; 10, 2010 in Manchester, UK.</li>
<li>New <a href="http://ilia.ws/archives/222-PHP-Excel-Extension.html">PHP Excel extension</a> from Ilia Alshanetsky.</li>
<li><a href="http://2010.osdc.com.au/call-for-proposals">Call for proposals</a> at OSDC (Open Source Developers Conference) 2010 to be held in Melbourne, Australia from November 24th to 26th, 2010.</li>
</ul>


<p>Related posts:<ol><li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-4/' rel='bookmark' title='Permanent Link: PHP News #4'>PHP News #4</a> <small>News to July 30th, 2010. Slow week for new releases....</small></li>
<li><a href='http://php.devreview.com/php-news-1/' rel='bookmark' title='Permanent Link: PHP News #1'>PHP News #1</a> <small>Recent PHP news to July 9, 2010. Early release of...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP News #4</title>
		<link>http://php.devreview.com/php-news-4/</link>
		<comments>http://php.devreview.com/php-news-4/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 11:05:01 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[crVCL Framework]]></category>
		<category><![CDATA[PHP Frameworks]]></category>
		<category><![CDATA[RDSFramework]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[ZendCon]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=726</guid>
		<description><![CDATA[News to July 30th, 2010. Slow week for new releases. ZendCon 2010. November 1 &#8211; 4, Santa Clara, CA. Early bird registration until August 28th. Zend Unlimited Subscription program for business that need unlimited number of subscriptions to Zend&#8217;s software and technical support services crVCL PHP Framework, rapid application development framework inspired by JEDI VCL [...]


Related posts:<ol><li><a href='http://php.devreview.com/php-news-2/' rel='bookmark' title='Permanent Link: PHP News #2'>PHP News #2</a> <small>PHP developer news for week ending July 16th, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-1/' rel='bookmark' title='Permanent Link: PHP News #1'>PHP News #1</a> <small>Recent PHP news to July 9, 2010. Early release of...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>News to July 30th, 2010. Slow week for new releases.</p>
<ol>
<li><a href="http://www.zendcon.com/">ZendCon 2010</a>. November 1 &#8211; 4, Santa Clara, CA. Early bird registration until August 28th.</li>
<li><a href="http://www.zend.com/en/products/zend-unlimited">Zend Unlimited Subscription program</a> for business that need unlimited number of subscriptions to Zend&#8217;s software and technical support services</li>
<li><a href="http://code.google.com/p/crvcl/">crVCL PHP Framework</a>, rapid application development framework inspired by JEDI VCL and Java Spring</li>
<li><a href="http://www.rdsframework.com/">RDSFramework</a>, lightweight open source MVC framework</li>
</ol>


<p>Related posts:<ol><li><a href='http://php.devreview.com/php-news-2/' rel='bookmark' title='Permanent Link: PHP News #2'>PHP News #2</a> <small>PHP developer news for week ending July 16th, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/php-news-1/' rel='bookmark' title='Permanent Link: PHP News #1'>PHP News #1</a> <small>Recent PHP news to July 9, 2010. Early release of...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evolving PHP Frameworks</title>
		<link>http://php.devreview.com/evolving-php-frameworks/</link>
		<comments>http://php.devreview.com/evolving-php-frameworks/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 05:00:31 +0000</pubDate>
		<dc:creator>Ernie Leseberg</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Lithium]]></category>
		<category><![CDATA[PHP Frameworks]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Zend framework]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=721</guid>
		<description><![CDATA[There are no shortage of PHP frameworks, some grow large vibrant communities and a number wither and die over time. A number of the larger frameworks by user base have announced plans for the next steps in their evolution. Specifically we examine the next major versions of Zend Framework, Symfony, CodeIgniter and CakePHP. Zend Framework [...]


Related posts:<ol><li><a href='http://php.devreview.com/big-list-of-php-frameworks/' rel='bookmark' title='Permanent Link: The Big List of PHP Frameworks'>The Big List of PHP Frameworks</a> <small>For the start of a new year, it was time...</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/so-why-so-many-php-frameworks/' rel='bookmark' title='Permanent Link: So why so many PHP frameworks?'>So why so many PHP frameworks?</a> <small>Since producing the big list of PHP frameworks I have...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are no shortage of <a href="http://php.devreview.com/big-list-of-php-frameworks/">PHP frameworks</a>, some grow large vibrant communities and a number wither and die over time. A number of the larger frameworks by user base have announced plans for the next steps in their evolution. Specifically we examine the next major versions of Zend Framework, Symfony, CodeIgniter and CakePHP.</p>
<p><span id="more-721"></span></p>
<h2>Zend Framework</h2>
<p><img class="logo" src="http://s.devreview.com/logos/zend-framework-logo-256.png" alt="Zend Framework logo" title="Zend Framework logo" /><br />
<a href="http://framework.zend.com">Zend Framework</a> has recently outlined is vision for <a href="http://framework.zend.com/wiki/display/ZFDEV2/Zend+Framework+2.0+Requirements">version 2</a>, to not only build upon its strengths, but also improve some of the difficulties that it &#8220;&#8230;is cumbersome and difficult to learn, distribute, and extend, and one that is becoming less and less performant.&#8221; The requirements state that &#8220;[t]he primary thrust of ZF 2.0 is to make a more consistent, well-documented product, improving developer productivity and runtime performance&#8221;. The exact feature set is still under active discussion and there is active soliciting of comment and feedback from the wider community.</p>
<p>The minimum PHP requirement will be PHP 5.3, which allows the use of new language features such as namespaces. Backwards compatibility with ZF1 will not be maintained. Matthew Weier O&#8217;Phinney has <a href="http://weierophinney.net/matthew/archives/241-State-of-Zend-Framework-2.0.html">stated that ZF2</a> is more about &#8220;&#8230;rewrites and refactoring to fix architectural concerns&#8221; than new feature sets.</p>
<p>A Git <a href="http://git.zendframework.com/">repository for the framework</a> has been created, but it unlikely to see a substantial stable ZF2 release until early 2011.</p>
<h2>Symfony</h2>
<p><img class="logo" src="http://s.devreview.com/logos/symfony-logo-256.png" alt="Symfony Framework logo" title="Symfony Framework logo" /></p>
<p>Symfony 2.0 has already made a preview release, but a production ready version of Symfony2 is not expected until late 2010. Symfony2 has its own site<a href="http://symfony-reloaded.org/"> Symfony reloaded</a>. There is detail on performance improvements and features, and it states &#8220;Symfony2 is fast, flexible, and easy to learn. It allows developers to build better and more easily maintainable websites with PHP.&#8221;</p>
<p>Symfony2 is making use of an number of external components such as PHPUnit 3.5, Propel 1.5 and Doctine 2. Symfony2 has a <a href="http://github.com/symfony/symfony">public git repository</a>.</p>
<p>Backwards compatibility with symfony1 will be broken, and the minimum PHP requirement for Symfony2 will be PHP 5.3.2.</p>
<h2>CodeIgniter</h2>
<p><img class="logo" src="http://s.devreview.com/logos/ci_logo_flame.jpg" alt="CodeIgniter Framework logo" title="CodeIgniter Framework logo" /></p>
<p>Ellis Labs <a href="http://codeigniter.com/news/ellislab_moves_to_mercurial_assembla_bitbucket_codeigniter_2.0_baking/">officially announced</a> that &#8220;&#8230;CodeIgniter 2.0 is baking&#8230;&#8221; back in March. Exact details of what this will entail are not available, as CodeIgniter development is a lot more closed than some of the other frameworks. From their changelog, PHP4 support is depreciated but may still work until CI 2.1. Scaffolding and plugins have been removed, and some internal reorganisation.</p>
<p>There is a public <a href="http://bitbucket.org/ellislab/codeigniter/">Mercurial repository</a> at BitBucket.</p>
<p>No CI 2 release date has been announced.</p>
<h2>CakePHP</h2>
<p><img class="logo" src="http://s.devreview.com/logos/cakephp_logo_125_trans.png" alt="CakePHP Framework logo" title="CakePHP Framework logo" /></p>
<p>CakePHP had plans for Cake2 (PHP 5.2+) and Cake3 (PHP 5.3+) well back into 2009, but progress has been slow.</p>
<p>Cake2 has a <a href="http://cakephp.lighthouseapp.com/projects/42648/2-0-development-roadmap">roadmap</a> with tasks such as E_STRICT compliance, moving from PHP4, remove deprecated classes and features, use of exceptions, interfaces etc. There is a<a href="http://github.com/cakephp/cakephp/tree/2.0/cake"> Cake2 github repository</a>.</p>
<p>In 2009, some of the Cake development team forked the Cake3 code into a new framework called <a href="http://rad-dev.org/lithium/source">Lithium</a> which has a stated aim of &#8220;[a] php 5.3 only framework built for speed, simplicity, and maintainability&#8221;. Lithium is still under development, though the rapid release have slowed.</p>
<h2>Conclusion</h2>
<p>The new features of PHP5.3 are starting to take hold in the PHP development community now, and many frameworks as looking to take advantage of them. The plans and progress of Symfony2 and ZF2 look especially exciting for PHP development into the future.</p>


<p>Related posts:<ol><li><a href='http://php.devreview.com/big-list-of-php-frameworks/' rel='bookmark' title='Permanent Link: The Big List of PHP Frameworks'>The Big List of PHP Frameworks</a> <small>For the start of a new year, it was time...</small></li>
<li><a href='http://php.devreview.com/php-news-3/' rel='bookmark' title='Permanent Link: PHP News #3'>PHP News #3</a> <small>PHP developer news for week ending July 23rd, 2010. PHP...</small></li>
<li><a href='http://php.devreview.com/so-why-so-many-php-frameworks/' rel='bookmark' title='Permanent Link: So why so many PHP frameworks?'>So why so many PHP frameworks?</a> <small>Since producing the big list of PHP frameworks I have...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/evolving-php-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Output Formatting</title>
		<link>http://php.devreview.com/php-output-formatting/</link>
		<comments>http://php.devreview.com/php-output-formatting/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 02:33:52 +0000</pubDate>
		<dc:creator>Ernie Leseberg</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[concatenation]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[language construct]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[printf]]></category>
		<category><![CDATA[quoting]]></category>
		<category><![CDATA[strings]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=689</guid>
		<description><![CDATA[When it comes to creating output that will be returned to a user browser, there are a number of functions &#038; language constructs available to achieve this. This article will examine the use of echo, print &#038; printf. Echo echo allows for simple outputting of 1 or more strings. The following 4 simple examples which [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>When it comes to creating output that will be returned to a user browser, there are a number of functions &#038; language constructs available to achieve this. This article will examine the use of echo, print &#038; printf.</p>
<p><span id="more-689"></span></p>
<h2>Echo</h2>
<p>echo allows for simple outputting of 1 or more strings. The following 4 simple examples which produce the same output.</p>
<pre><code>&lt;?php
  echo 'Some Output';
?&gt;</pre>
<p></code></p>
<pre><code>&lt;?php
echo "Some Output";
?&gt;</pre>
<p></code></p>
<pre><code>&lt;?php
$output = "Some Output";
echo $output;
?&gt;</pre>
<p></code></p>
<pre><code>&lt;?php
echo ('Some Output');
?&gt;</pre>
<p></code></p>
<p>Echo is a language construct, not a function, even though it can be used in a function form with brackets as shown above for a single string. Echo cannot be called using variable functions. The following example will NOT work.</p>
<pre><code>($val == 5) ? echo 'true' : echo 'false';</pre>
<p></code></p>
<h3>Quoting</h3>
<p>The type of quotation marks used in the output of a string, influence the generated output. Strings in double quotations will be evaluated by PHP and so any variables will have their contents substituted for the variable name. Whereas single quotes as treated as literals. The following 2 echo statements will produce different outputs, with the variable substituted in the double quote example, but not in the single quote.</p>
<pre><code>$count = 'Two';
echo "$count more please";
</code></pre>
<pre><code>$count = 'Two';
echo '$count more please';
</code></pre>
<p>The evaluation within double quotes also allows control or escape sequences, such as \n for a linefeed &#038; \t for a tab. The <a href="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double">full list of escape characters</a> is in the PHP manual.</p>
<p>The display of double quotes within a double quoted string, will require use of the escape character, <strong>\</strong>, the backslash.</p>
<pre><code>&lt;?php
  echo "The man said \"it is true\" to the reporter.";
?&gt;</code></pre>
<p>The same is true for use of the single quote within a single quoted string.</p>
<pre><code>&lt;?php
  echo 'The order doesn\'t matter.';
?&gt;</code></pre>
<h3>Concatenation</h3>
<p>Echo handles multiple string concatenation (with the period operator), or multiple strings passed as parameters, either as literal strings or variables. So the following produce the same output.</p>
<pre><code>$dayPart = 'morning';
echo 'A good ' . $dayPart . '.';</code></pre>
<pre><code>$dayPart = 'morning';
echo 'A good ' , $dayPart , '.';</code></pre>
<h3>Short Cut</h3>
<p>There is a short cut syntax for echo, with an equals immediately after the short opening tag.</p>
<pre><code>&lt;?= $variable ?&gt;</code></pre>
<p>Use of this syntax requires that the short open tag &lt;? is allowed in the <a href="http://php.net/manual/en/ini.core.php">PHP configuration</a>. For maximum compatibility across systems, it is probably best to not use this format.</p>
<h2>Print</h2>
<p>Print works much the same as echo. Again it is a language construct not a function, but unlike echo, print does have a return value (true or false).</p>
<pre><code>&lt;?php
  print 'Some print output';
?&gt;</code></pre>
<p>The same quoting rules as outlined above apply for print on strings.</p>
<pre><code>&lt;?php
  $count = 'Two';
  print "$count more please";
?&gt;</code></pre>
<p>Multiple string concatenation (with the period operator) works with print, but multiple strings passed as parameters does not.</p>
<h2>Printf</h2>
<p>printf outputs a string, according to a supplied format. It allows for some very fine grained output control, and is suited to more complex output creation. The same results can be achieved by use of print or echo, but printf can allow the creation of more succinct and/or maintainable code. printf has the following signature: </p>
<p><code>printf (string format [, mixed args...])</code></p>
<p>where format is a string that has the basic outline with conversion specifications instead of variables, followed by parameters that will be substituted into the format string. The return value is the length of the outputted string. A simple example:</p>
<pre><code>&lt;?php
  $count = 3;
  $cost = 25.2;
  $format = "The %d items cost $%.2f.";
  printf($format, $count, $cost);
?&gt;</code></pre>
<p>The advantages of printf become more obvious as the number and complexity of substitutions increase.</p>
<pre><code>&lt;?php
foreach ($orderList as $order) {
  printf("Customer %s ordered %d items, with a total cost of $%.2f including $%.2f tax.",
	$order['first_name'].' '.$order['surname'],
	$order['count'],
	$order['cost'] * ($order['tax_rate'] + 1),
	$order['cost'] * $order['tax_rate']
  )
}
?&gt;</code></pre>
<p>The format for each conversion specification is: <code>%[-|+][padding character][-][width][.precision]type</code>. Only the leading % and the type specification is mandatory, with the output types as:</p>
<table>
<tr>
<td>b</td>
<td>Argument is treated as an integer, and presented as a binary number.</td>
</tr>
<tr class="even">
<td>c</td>
<td>Argument is treated as an integer, and presented as the character with that ASCII value.</td>
</tr>
<tr>
<td>d</td>
<td>Argument is treated as an integer, and presented as a (signed) decimal number.</td>
</tr>
<tr class="even">
<td>e</td>
<td>Argument is treated as scientific notation (e.g. 1.2e+2). The precision specifier stands for the number of digits after the decimal point since PHP 5.2.1. In earlier versions, it was taken as number of significant digits (one less)</td>
</tr>
<tr>
<td>E</td>
<td>Like %e but uses uppercase letter (e.g. 1.2E+2).</td>
</tr>
<tr class="even">
<td>u</td>
<td>Argument is treated as an integer, and presented as an unsigned decimal number.</td>
</tr>
<tr>
<td>f</td>
<td>Argument is treated as a float, and presented as a floating-point number (locale aware).</td>
</tr>
<tr class="even">
<td>F</td>
<td>Argument is treated as a float, and presented as a floating-point number (non-locale aware).</td>
</tr>
<tr>
<td>g</td>
<td>Shorter of %e and %f.</td>
</tr>
<tr class="even">
<td>G</td>
<td>Shorter of %E and %f.</td>
</tr>
<tr>
<td>o</td>
<td>Argument is treated as an integer, and presented as an octal number.</td>
</tr>
<tr class="even">
<td>s</td>
<td>Argument is treated as and presented as a string.</td>
</tr>
<tr>
<td>x</td>
<td>Argument is treated as an integer and presented as a hexadecimal number (with lowercase letters).</td>
</tr>
<tr class="even">
<td>X</td>
<td>Argument is treated as an integer and presented as a hexadecimal number (with uppercase letters).</td>
</tr>
</table>
<p>Above modified from PHP manual <a href="http://www.php.net/manual/en/function.sprintf.php">list of specifiers</a></p>
<p>The optional elements are:</p>
<ol>
<li>sign specifier (- or +)</li>
<li>padding specifier to the right size string. The default is space.</li>
<li>alignment specifier. - will make it left justified, with a default of right justified.</li>
<li>width specifier. Minimum number of characters.</li>
<li>precision specifier. Period (.) followed by a number that specifies how many digits to be displayed for floating point numbers, or a maximum character limit when applied to a string.</li>
</ol>
<p>To display an actual % sign, use %% in the format string.</p>
<h3>Argument Ordering and reuse</h3>
<p>Placeholder substitution need not be done in parameter order, and supplied parameters can be substituted more than once, as shown below:</p>
<pre><code>&lt;?php
  printf('%2$s played against %1$s and the winner was %1$s', 'Spain', 'Netherlands');
?&gt;</code></pre>
<pre><code>&lt;?php
  printf('%1$s as a string, %1$.2f as a floating point, %1$d as a decimal number, %1$o as octal, and %1$x in hexadecimal.', 123.653);
?&gt;</code></pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-output-formatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP News #3</title>
		<link>http://php.devreview.com/php-news-3/</link>
		<comments>http://php.devreview.com/php-news-3/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 02:00:15 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[indieconf]]></category>
		<category><![CDATA[Phalanx]]></category>
		<category><![CDATA[php release]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=683</guid>
		<description><![CDATA[PHP developer news for week ending July 23rd, 2010. PHP 5.2.14 released. Bug &#038; security release and the end of active support for the 5.2 line. PHP 5.3.3 released. Over 100 fixes with a number of security enhancements. CakePHP 1.3.3 rainbow icing edition released. Phalanx PHP Framework. Event driven PHP5.3+ framework. Conferences CodeIgniter Con 2010. [...]


Related posts:<ol><li><a href='http://php.devreview.com/the-last-php4-release/' rel='bookmark' title='Permanent Link: The last PHP4 release'>The last PHP4 release</a> <small>PHP 4.4.9 has been released. This is to be the...</small></li>
<li><a href='http://php.devreview.com/php-news-523-released/' rel='bookmark' title='Permanent Link: PHP 5.2.3 Released'>PHP 5.2.3 Released</a> <small>A new PHP version has been released: 5.2.3. The development...</small></li>
<li><a href='http://php.devreview.com/end-of-php4/' rel='bookmark' title='Permanent Link: End of PHP4'>End of PHP4</a> <small>It has been announced that PHP4 support is to cease...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP developer news for week ending July 23rd, 2010.</p>
<ul>
<li>PHP <a href="http://www.php.net/archive/2010.php#id2010-07-22-1">5.2.14</a> released. Bug &#038; security release and the end of active support for the 5.2 line.</li>
<li>PHP <a href="http://www.php.net/archive/2010.php#id2010-07-22-2">5.3.3</a> released. Over 100 fixes with a number of security enhancements.</li>
<li><a href="http://bakery.cakephp.org/articles/view/cakephp-1-3-3-rainbow-icing-edition-released">CakePHP 1.3.3</a> rainbow icing edition released.</li>
<li><a href="http://sourceforge.net/projects/phalanx-php/">Phalanx PHP Framework</a>. Event driven PHP5.3+ framework.</li>
</ul>
<h3>Conferences</h3>
<ul>
<li><a href="http://cicon2010.com/">CodeIgniter Con 2010</a>. August 14 &#038; 15, Bristol UK.</li>
<li><a href="http://www.symfonyday.com/en/">Symfony day</a>. October 8th, 2010 in Cologne, Germany.</li>
<li><a href="http://indieconf.com/">indieconf</a>. Conference for independent web professionals. November 13, Raleigh, North Carolina, USA.</li>
</ul>


<p>Related posts:<ol><li><a href='http://php.devreview.com/the-last-php4-release/' rel='bookmark' title='Permanent Link: The last PHP4 release'>The last PHP4 release</a> <small>PHP 4.4.9 has been released. This is to be the...</small></li>
<li><a href='http://php.devreview.com/php-news-523-released/' rel='bookmark' title='Permanent Link: PHP 5.2.3 Released'>PHP 5.2.3 Released</a> <small>A new PHP version has been released: 5.2.3. The development...</small></li>
<li><a href='http://php.devreview.com/end-of-php4/' rel='bookmark' title='Permanent Link: End of PHP4'>End of PHP4</a> <small>It has been announced that PHP4 support is to cease...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP News #2</title>
		<link>http://php.devreview.com/php-news-2/</link>
		<comments>http://php.devreview.com/php-news-2/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 06:51:40 +0000</pubDate>
		<dc:creator>dev review admin</dc:creator>
				<category><![CDATA[PHP Developer News]]></category>
		<category><![CDATA[CouchDB]]></category>
		<category><![CDATA[PHP For Android]]></category>
		<category><![CDATA[Pro PHP Refactoring]]></category>
		<category><![CDATA[Swiftlet]]></category>
		<category><![CDATA[WebMatrix]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=656</guid>
		<description><![CDATA[PHP developer news for week ending July 16th, 2010. PHP For Android (PFA). Use your PHP skills on an Android device. CouchDB the document-oriented, Non-Relational Database Management Server (NRDBMS) goes 1.0. WebMatrix. Microsoft making it easier to install PHP apps on Windows. A new book &#8211; Pro PHP Refactoring from Apress. Swiftlet. Another lightweight MVC [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>PHP developer news for week ending July 16th, 2010.</p>
<ul>
<li><a href="http://phpforandroid.net/">PHP For Android</a> (PFA). Use your PHP skills on an Android device.</li>
<li><a href="http://www.couch.io/">CouchDB</a> the document-oriented, Non-Relational Database Management Server (NRDBMS) goes 1.0.</li>
<li><a href="http://www.microsoft.com/web/webmatrix/">WebMatrix</a>. Microsoft making it easier to install PHP apps on Windows.</li>
<li>A new book &#8211; <a href="http://www.apress.com/book/view/1430227273">Pro PHP Refactoring</a> from Apress.</p>
<li><a href="http://swiftlet.org/">Swiftlet</a>. Another lightweight MVC style framework for PHP 5.1+. Actually has some documentation.</li>
</ul>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/php-news-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why use PHP?</title>
		<link>http://php.devreview.com/why-use-php/</link>
		<comments>http://php.devreview.com/why-use-php/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 02:22:20 +0000</pubDate>
		<dc:creator>Ernie Leseberg</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Notepad]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[WAMP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://php.devreview.com/?p=676</guid>
		<description><![CDATA[If you are looking to create dynamic functionality on a web site, there are no shortage of options for the server programming language. So why use PHP? Free to obtain and use The source for PHP as well as binaries for most operating systems are available free of charge for download either from PHP downloads [...]


Related posts:<ol><li><a href='http://php.devreview.com/news-google-gears-for-offline-applications/' rel='bookmark' title='Permanent Link: Google gears for offline applications'>Google gears for offline applications</a> <small>Google has made available the beta of Google Gears which...</small></li>
<li><a href='http://php.devreview.com/choose-a-minimum-php-version/' rel='bookmark' title='Permanent Link: Choose a minimum PHP version'>Choose a minimum PHP version</a> <small>Ok, you are about to code a great new application...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are looking to create dynamic functionality on a web site, there are no shortage of options for the server programming language. So why use PHP?</p>
<p><span id="more-676"></span></p>
<h2>Free to obtain and use</h2>
<p>The source for PHP as well as binaries for most operating systems are available free of charge for download either from <a href="http://www.php.net/downloads.php">PHP downloads</a> page or OS specific sites or package managers. There are no ongoing license fees to run a PHP install. Common web servers which you will also require such as <a href="http://httpd.apache.org/">Apache</a> are also freely available.</p>
<h2>Easy to set up</h2>
<p>The various package managers for Linux distributions make a PHP based web server install easy. There are also alternatives such as <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> &#038; <a href="http://www.wampserver.com/en/">WAMP</a> which can install required components and extras such as MySQL, on Windows and Linux.</p>
<h2>Easy to get coding</h2>
<p>
Creating and editing PHP code does not require any fancy software. A simple text editor such as vi or Notepad is all you need. The are many free text editors that provide extra functionality such as colour coding, autocompletion and syntax checking. Full blown integrated development environments (IDE) are also available which can assist with other bells and whistles.</p>
<h2>Easy to achieve results</h2>
<p>PHP integrates seamlessly with HTML code, and the two can sit side by side in a single code file. A static html page can quickly be made dynamic through PHP conditional statements and looping. There is also a huge amount of existing PHP code (snippets, classes to full frameworks) that can be quickly integrated with new code to produce powerful results in a short time frame. <em>This is also a potential downside of PHP. What is quick and easy today, can be a maintenance nightmare tomorrow.</em></p>
<h2>Third party Code</h2>
<p>PHP has many hundreds of inbuilt functions, and very wide range of connections for databases, web services etc. However there will be the need for functionality that is not built into PHP? Most likely other developers have had a similar need, and in the spirit of sharing or profit, these solutions are often made available. 2 official sources are PEAR (PHP Extension and Application Repository) [http://pear.php.net/] &#038; PECL (PHP Extensions repository). Here you can find numerous classes &#038; packages to provide extra functionality. But this is just the tip of the iceberg. Numerous sites provide code code, and there are no shortage of PHP component frameworks, such as <a href="http://ezcomponents.org/">ezComponents</a> &#038; <a href="http://framework.zend.com/">Zend Framework</a> to name just 2, and class code sites such as &#038; <a href="http://www.phpclasses.org/">PHP Classes</a>. <em>Note: Always buyer beware on third party code.</em></p>
<h2>No forced development style</h2>
<p>PHP is very flexible in how developers can use it. Procedural programming or object orientated. Monolithic scripts with intermingled functionality or well defined and separated solutions. It is up to the developer based on their preference and experience to create their own solution, and none is forced upon them.</p>
<h2>Portable</h2>
<p>PHP is an interpreted language, and PHP code is highly portable. Correctly written code can be easily moved from one OS to another, and should preform the same function.</p>
<h2>Widely deployed</h2>
<p>Not only is PHP available for all the major operating systems, external PHP powered web servers are extremely common. PHP is standard in most web hosts offerings, from the cheapest to the high end.</p>
<h2>Excellent support base</h2>
<h3>PHP Manual</h3>
<p>The <a href="http://www.php.net/manual/en/">PHP manual</a> which is online and can be downloaded locally (almost 4Mb compressed) is available in English and many other languages, and goes far beyond a simple function reference.</p>
<h3>Fellow Developers</h3>
<p>Have a problem with your PHP code, there are no shortage of forums and groups which you can ask questions at. Many programmers also share their experiences of problems and solutions, so a google search will generally bring back plenty of ideas for solutions.</p>
<h3>Books</h3>
<p>There are plenty of <a href="http://php.devreview.com/cat/development-books/">books on PHP</a> from getting started to issues faced by the largest of applications.</p>


<p>Related posts:<ol><li><a href='http://php.devreview.com/news-google-gears-for-offline-applications/' rel='bookmark' title='Permanent Link: Google gears for offline applications'>Google gears for offline applications</a> <small>Google has made available the beta of Google Gears which...</small></li>
<li><a href='http://php.devreview.com/choose-a-minimum-php-version/' rel='bookmark' title='Permanent Link: Choose a minimum PHP version'>Choose a minimum PHP version</a> <small>Ok, you are about to code a great new application...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://php.devreview.com/why-use-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.346 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-10 21:13:47 -->
