<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Info Tech Scraps &#187; PHP</title>
	<atom:link href="http://www.infoscraps.com/topics/programming/php-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infoscraps.com</link>
	<description>Information Technology at your finger tips...</description>
	<lastBuildDate>Tue, 27 Oct 2009 17:24:43 +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>Yii PHP Framework</title>
		<link>http://www.infoscraps.com/2009/10/25/yii-php-framework/</link>
		<comments>http://www.infoscraps.com/2009/10/25/yii-php-framework/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 13:32:43 +0000</pubDate>
		<dc:creator>Srinivasan A Paul Joseph</dc:creator>
				<category><![CDATA[MVC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://www.infoscraps.com/?p=143</guid>
		<description><![CDATA[Yii PHP Framework was a pleasant surprise for me when I initially found about it. For quite some time, I&#8217;ve been intrigued by Ruby on Rails for it&#8217;s ease of use and rapid development nature. Though I&#8217;m not a big fan of Ruby language or Python for that matter, I&#8217;m of course a huge fan [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Yii PHP Framework" href="http://www.yiiframework.com/" rel="shadowbox"><img class="size-medium wp-image-199 alignright" src="http://www.infoscraps.com/wp-content/uploads/2009/10/2009-10-25_211120-300x104.png" alt="Yii PHP Framework" width="300" height="104" /></a><a href="http://www.yiiframework.com/" target="_blank"><strong>Yii PHP Framework</strong></a> was a pleasant surprise for me when I initially found about it. For quite some time, I&#8217;ve been intrigued by Ruby on Rails for it&#8217;s ease of use and rapid development nature. Though I&#8217;m not a big fan of Ruby language or Python for that matter, I&#8217;m of course a huge fan of PHP.</p>
<p><span id="more-143"></span>So, I&#8217;ve been on the lookout for a good Framework in PHP that I can rely on for whenever I need to build a website rapidly. I&#8217;ve so far tried the following frameworks:</p>
<ul>
<li>CakePHP</li>
<li>CodeIgniter</li>
<li>Zend</li>
</ul>
<p>To find more, please visit: <a href="http://www.phpframeworks.com/" target="_blank">PHP Frameworks</a>.</p>
<p>When I was browsing PHP Frameworks site months ago, I came across a framework named Yii that promised that it was the fastest PHP framework. I&#8217;ve got intrigued and checked out its features and quite surprised to find that it has excellent features while being high performing and less resource hungry. The following are some of it&#8217;s key features:</p>
<ul>
<li><strong>Model-View-Controller (MVC) design pattern</strong>: Yii adopts this  proven technique in Web programming which can better separate logic from  presentation.</li>
<li><strong>Database Access Objects (DAO) and Active Record</strong>: Yii allows  developers to model database data in terms of objects and save their  effort of writing long and repetitive SQL statements.</li>
<li><strong>Integration with jQuery</strong>: as one of the most popular  JavaScript framework, jQuery enables writing highly efficient and  versatile JavaScript interfaces.</li>
<li><strong>Form input and validation</strong>: Yii makes collecting form input  extremely easy and safe. Yii comes with a set of validators which can be  used to ensure validity of input data, and it also has helper methods  and widgets to indicate errors when validation fails.</li>
<li><strong>Web 2.0 widgets</strong>: powered by jQuery, Yii comes with a set of  Web 2.0 widgets, such as auto-complete input field, treeview, and so on.</li>
<li><strong>Authentication and authorization</strong>: Yii has built-in  authentication support. It also supports authorization via hierarchical  role-based access control (RBAC).</li>
<li><strong>Theming</strong>: it enables change of the outlook of an Yii  application instantly.</li>
<li><strong>Web services</strong>: Yii supports automatic generation of complex  WSDL service specifications and management of Web service request  handling.</li>
<li><strong>Internationalization (I18N) and localization (L10N)</strong>: Yii  supports message translation, date and time formatting, number  formatting, and interface localization.</li>
<li><strong>Layered caching scheme</strong>: Yii supports data caching, page  caching, fragment caching and dynamic content. The storage medium of  caching can be changed easily without touching the application code.</li>
<li><strong>Error handling and logging</strong>: errors are handled and presented  more nicely, and log messages can be categorized, filtered and routed to  different destinations.</li>
<li><strong>Security</strong>: Yii is equipped with many security measures to help  secure Web applications to prevent cyber attacks. These measures  include cross-site scripting (XSS) prevention, cross-site request  forgery (CSRF) prevention, cookie tampering prevention, etc.</li>
<li><strong>Compliance to XHTML</strong>: Code generated by Yii components and  command line tools complies to the XHTML standard.</li>
<li><strong>Automatic code generation</strong>: Yii provides the tools that can  automatically generate the code that you need, such as a skeleton  application, CRUD applications, etc.</li>
<li><strong>Purely object-oriented</strong>: Yii framework sticks to strict OOP  paradigm. It does not define any global function or variable. And the  class hierarchy that it defines allows maximum reusability and  customization.</li>
<li><strong>Friendly with third-party code</strong>: Yii is carefully designed to  work well with third-party code. For example, you can use code from PEAR  or Zend Framework in your Yii application.</li>
<li><strong>Detailed documentation</strong>: every single method or property is  clearly documented. A comprehensive tutorial is also provided together  with other minor tutorials.</li>
<li><strong>Extension library</strong>: Yii provides an extension library  consisting of user-contributed components. This makes the above feature  list never ending.</li>
</ul>
<p>Go ahead and <a href="http://wwww.yiiframework.com/" target="_blank">check it out</a> now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.infoscraps.com/2009/10/25/yii-php-framework/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
