<?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 Frameworks &#187; Review</title>
	<atom:link href="http://www.phpframeworks.com/news/p/category/review/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpframeworks.com/news</link>
	<description>We compare all kinds of PHP frameworks and help you choose the right php framework for your project.</description>
	<lastBuildDate>Sat, 11 Feb 2012 04:00:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>refernce list</title>
		<link>http://www.phpframeworks.com/news/p/34386/refernce-list</link>
		<comments>http://www.phpframeworks.com/news/p/34386/refernce-list#comments</comments>
		<pubDate>Fri, 28 Oct 2011 14:31:04 +0000</pubDate>
		<dc:creator>IcemanX</dc:creator>
				<category><![CDATA[Development tools]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[php framework comparison]]></category>
		<category><![CDATA[backlink]]></category>
		<category><![CDATA[Consulting]]></category>
		<category><![CDATA[crVCL PHP Framework]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=34386</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/34386/refernce-list">refernce list</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
refernce list is a post from: PHP Frameworks
We plan to create a reference list about users, they use our consulting or project resources like the crVCL PHP Framework. If you like to get a backlink from here to your Website or Webapplication please submit us the following informations
- company name
- your full name
- your title
- [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/34386/refernce-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HaloMVC &#8211; Pure MVC PHP Framework. Lightweight!</title>
		<link>http://www.phpframeworks.com/news/p/31358/halomvc-pure-mvc-php-framework-lightweight</link>
		<comments>http://www.phpframeworks.com/news/p/31358/halomvc-pure-mvc-php-framework-lightweight#comments</comments>
		<pubDate>Mon, 11 Jul 2011 06:40:01 +0000</pubDate>
		<dc:creator>halomvc</dc:creator>
				<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=31358</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/31358/halomvc-pure-mvc-php-framework-lightweight">HaloMVC &#8211; Pure MVC PHP Framework. Lightweight!</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
very lightweight and 100% MVC architecture. Uses the best widely tested and used by other popular frameworks components for Models and Templating Engines. We took the best parts of enterprise frameworks and created our lightweight framework without the overhead components which are only used for enterprise apps. Smaller and midsized projects will benefit from our framework's simplicity and power at the same. Using popular opensource products such as ActiveRecord and Twig Template Engine.]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/31358/halomvc-pure-mvc-php-framework-lightweight/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lexa-tools framework for PHP 5.3</title>
		<link>http://www.phpframeworks.com/news/p/29587/lexa-tools-framework-for-php-5-3</link>
		<comments>http://www.phpframeworks.com/news/p/29587/lexa-tools-framework-for-php-5-3#comments</comments>
		<pubDate>Sat, 04 Jun 2011 05:50:22 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Development tools]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[php framework comparison]]></category>
		<category><![CDATA[best php framework]]></category>
		<category><![CDATA[fastest php framework]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[lexa-tools]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[which is the best php framework]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=29587</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/29587/lexa-tools-framework-for-php-5-3">lexa-tools framework for PHP 5.3</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
lexa-tools framework for PHP 5.3 is a post from: PHP Frameworks
lexa-tools library is not as much a framework as a set of utililies (tools). You are free to organize the site as you’d like. No special folder structure is required. No need to declare any classes. No config files and no magic conventions. The library [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/29587/lexa-tools-framework-for-php-5-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thin PHP Framework</title>
		<link>http://www.phpframeworks.com/news/p/24758/thin-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/24758/thin-php-framework#comments</comments>
		<pubDate>Mon, 21 Mar 2011 21:43:22 +0000</pubDate>
		<dc:creator>ngduc</dc:creator>
				<category><![CDATA[Development tools]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[php php5 web framework]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=24758</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/24758/thin-php-framework">Thin PHP Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Thin PHP Framework is a post from: PHP Frameworks
ThinPHPFramework Website
ThinPHP is a lightweight, flexible PHP5 MVC framework. It aims to be a fast, simple and highly extensible framework. It is designed to allow RAD (Rapid Application Development), help you jump start your project, start coding your ideas in minutes with minimal learning curve.
ThinPHP is small [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/24758/thin-php-framework/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2011 Top 10 PHP Frameworks &#8211; statistics by phpframeworks.com</title>
		<link>http://www.phpframeworks.com/news/p/24081/2011-top-10-php-frameworks-statistics-by-phpframeworks-com</link>
		<comments>http://www.phpframeworks.com/news/p/24081/2011-top-10-php-frameworks-statistics-by-phpframeworks-com#comments</comments>
		<pubDate>Thu, 24 Feb 2011 09:39:44 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[php framework comparison]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[phpframework]]></category>
		<category><![CDATA[phpframeworks]]></category>
		<category><![CDATA[phpframeworks.com]]></category>
		<category><![CDATA[top 10 php frameworks]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=24081</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/24081/2011-top-10-php-frameworks-statistics-by-phpframeworks-com">2011 Top 10 PHP Frameworks &#8211; statistics by phpframeworks.com</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
2011 Top 10 PHP Frameworks &#8211; statistics by phpframeworks.com is a post from: PHP Frameworks
Developer based in phpframeworks.com voting statistics, as of February 2011, the results are as follows:
Top 10 Hot PHP Frameworks

1 Yii (106 votes)  talk Yii at forum  discuss Yii
2 CodeIgniter (91 votes)  talk CodeIgniter at forum  discuss CodeIgniter
3 [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/24081/2011-top-10-php-frameworks-statistics-by-phpframeworks-com/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>oh-php-framework looking for developer</title>
		<link>http://www.phpframeworks.com/news/p/23869/oh-php-framework-looking-for-developer</link>
		<comments>http://www.phpframeworks.com/news/p/23869/oh-php-framework-looking-for-developer#comments</comments>
		<pubDate>Mon, 14 Feb 2011 21:28:01 +0000</pubDate>
		<dc:creator>cicciodarkast</dc:creator>
				<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[php framework comparison]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=23869</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/23869/oh-php-framework-looking-for-developer">oh-php-framework looking for developer</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
oh-php-framework looking for developer is a post from: PHP Frameworks
The community of Openplanning promoter and initiator of the oh-oh-php-framework aka svilippatori framework looks to make progress, hoping to set up a team of international development.
Thanks!
contact to: info@openplanning.net
oh-php-framework
openplanning.net
Oh is a framework for rapid develop. oh
Related Blogs


]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/23869/oh-php-framework-looking-for-developer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spawn-Framework 1.2.6 released!</title>
		<link>http://www.phpframeworks.com/news/p/18834/spawn-framework-1-2-6-released</link>
		<comments>http://www.phpframeworks.com/news/p/18834/spawn-framework-1-2-6-released#comments</comments>
		<pubDate>Mon, 13 Sep 2010 19:52:30 +0000</pubDate>
		<dc:creator>spawnm</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=18834</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/18834/spawn-framework-1-2-6-released">Spawn-Framework 1.2.6 released!</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Spawn-Framework 1.2.6 released! is a post from: PHP Frameworks
The most important changes:
New class &#8211; sf_translate !
Add new methods to sf_acl:
    * inherit($name, $inherit)
    * getGroupRole($name)
    * getRole()
    * removeGroupRole($name, $role)
    * removeGroup($name)
    * removeRole($name)
    [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/18834/spawn-framework-1-2-6-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banshee PHP framework</title>
		<link>http://www.phpframeworks.com/news/p/9667/banshee-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/9667/banshee-php-framework#comments</comments>
		<pubDate>Thu, 06 May 2010 21:48:40 +0000</pubDate>
		<dc:creator>banshee</dc:creator>
				<category><![CDATA[MVC]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=9667</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/9667/banshee-php-framework">Banshee PHP framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Banshee PHP framework is a post from: PHP Frameworks
Banshee is a PHP framework with the main focus on security. Several techniques are used to prevent SQL injection, cross-site scripting and cross-site request forgery. Authentication and authorization are done in a transparent and easy way, so it&#8217;s not easy to make a mistake there. An auditing [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/9667/banshee-php-framework/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vork, open-source PHP framework designed for rapid development of performance-oriented scalable applications</title>
		<link>http://www.phpframeworks.com/news/p/6573/vork-open-source-php-framework-designed-for-rapid-development-of-performance-oriented-scalable-applications</link>
		<comments>http://www.phpframeworks.com/news/p/6573/vork-open-source-php-framework-designed-for-rapid-development-of-performance-oriented-scalable-applications#comments</comments>
		<pubDate>Thu, 25 Feb 2010 02:47:36 +0000</pubDate>
		<dc:creator>NewUser</dc:creator>
				<category><![CDATA[Development tools]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[php framework comparison]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon rds]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Changelog]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[mongo]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[ms sql]]></category>
		<category><![CDATA[ms sql server]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[nosql]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[rds]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[sqlite3]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=6573</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/6573/vork-open-source-php-framework-designed-for-rapid-development-of-performance-oriented-scalable-applications">Vork, open-source PHP framework designed for rapid development of performance-oriented scalable applications</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Vork, open-source PHP framework designed for rapid development of performance-oriented scalable applications is a post from: PHP Frameworks
Vork Enterprise PHP Framework
Vork is an open-source PHP framework designed for rapid development of performance-oriented scalable applications.
The mission of Vork is to provide an MVC architecture and full-featured toolkit in a gimmick-free no-frills approach without adding overhead, creating [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/6573/vork-open-source-php-framework-designed-for-rapid-development-of-performance-oriented-scalable-applications/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yii PHP Framework Practical Getting Started Tutorial(In Chinese)</title>
		<link>http://www.phpframeworks.com/news/p/724/yii-php-framework-practical-getting-started-tutorialin-chinese</link>
		<comments>http://www.phpframeworks.com/news/p/724/yii-php-framework-practical-getting-started-tutorialin-chinese#comments</comments>
		<pubDate>Thu, 05 Nov 2009 06:10:15 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Getting started]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=724</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/724/yii-php-framework-practical-getting-started-tutorialin-chinese">Yii PHP Framework Practical Getting Started Tutorial(In Chinese)</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Yii PHP Framework Practical Getting Started Tutorial(In Chinese) is a post from: PHP Frameworks
 Yii PHP Framework实用入门教程
by 周公的专栏
说明：因为最近工作工作关系，需要开发一个在Linux下运行的Web Application，需要对现在比较流行的一些PHP框架做一个了解和评估，下面的这篇文章是笔者最近学习一个比较新的PHP Framework的一点经历和操作步骤，因为官方的手册写得比较晦涩（特别是中文的），曾经尝试遍读它那个手册再动手，读了一大半发现仍无法理解，于是干脆先下手为强了，因而也就有了下面的文章。&#160;
&#160;
介绍
Yii 是一个基于组件、纯OOP的、用于开发大型 Web 应用的高性能 PHP 框架。它将 Web 编程中的可重用性发挥到极致，能够显著加速开发进程。Yii适合大流量的应用，如门户、BBS、CMS及B2B系统等，功能丰富，性能优异，不过它的中文文档还不完善，并且有些命令行的操作是针对非Windows用户的，不易理解，所以制作了这篇文档。
下载地址：http://www.yiiframework.com/download/
中文文档地址：http://www.yiiframework.com/doc/guide/zh_cn
配置
下面针对本人的机器相关软件环境及路径做下说明：
Apache2.2.4+PHP5.2.5+MySQL5.1.39
在这里需要说明的是需要在设置Windows环境变量，在Path中添加PHP运行环境所在的目录（如本人在原有配置后加上”;C:\PHP”），因为使用Yii时需要PHP的运行环境。此外，在PHP版本选择时建议不要选择比较高的版本，本人是从PHP5.3.0-&#62;PHP5.2.11-&#62;PHP5.2.5一路降下来才运行成功的，建议尽量暂时不要使用PHP5.3.0、PHP5.2.11，本人在使用这两个版本过程中经常遇到一个ext目录下的dll文件不能加载的情况，当然你确认自己对PHP的配置相当熟悉的话例外。
因为在Yii中需要开启pdo和pdo_mysql，所以请确保在运行环境所使用的php.ini中取消了extension=php_mysql.dll、extension=php_pdo.dll、extension=php_pdo_mysql.dll的注释。
Apache的网站根路径为D:\wwwroot，在这个根路径下创建一个名为YiiDemo的文件夹，将从网上下载到的Yii压缩包解压之后，拷贝进D:\wwwroot\YiiDemo文件夹，文件结构如下：

&#160;
注：上图中demos、framework、requirements是Yii压缩包中的文件夹，其它文件和文件夹是本人使用Eclipse时创建的。此外，在D:\wwwroot\YiiDemo\framework文件夹下有一个yiic.bat文件，这个文件可以帮助我们快速生成网站架构和MVC相关的文件。
另外，在本实例中MySQL和PHP都是用了utf8编码，不建议使用gb2312编码，能显示的中文字符太少，并且对其它东亚语系不支持，甚至连生僻点的繁体中文都不能显示，而utf8可以解决这个问题。
创建网站初始结构
启动Windows命令行程序（在开始菜单上找到“运行”，然后输入“cmd”并回车），可以看到如下命令行窗口：

&#160;
在命令行方式下切换到Yii的framework目录下用以执行yiic命令（实际执行的是yiic.bat），如下：

&#160;
看到如上图所示的信息之后，就可以使用yiic来创建网站结构了，在本例中我们在D:\wwwroot\YiiDemo\framework（注意Apache中网站根路径为D:\wwwroot）下创建网站，网站名字为study，先在D:\wwwroot\YiiDemo\framework下手动创建study这个文件夹，然后使用如下命令创建网站：yiic webapp 网站路径，如下图：

&#160;
在输入创建网站的命令之后就会看到如上图所示的提示，键入”y”之后就会在D:\wwwroot\YiiDemo\study目录创建网站的框架结构，如下图所示：

&#160;
按照本人机器配置，现在就可以看到Yii框架的雏形显示了，网址是：http://localhost/YiiDemo/study/index.php。
生成MVC文件
按照默认配置还不能使用数据库，要想获取与数据库的练习，需要更改配置，打开D:\wwwroot\YiiDemo\study\protected\config文件夹下的main.php文件，更改components中的配置即可，’db’这一参数被注释掉了，将’db’参数设置如下：
&#8216;db&#8217;=&#62;array(
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;connectionString&#8217;=&#62;&#8217;mysql:host=localhost;dbname=study&#8217;,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;username&#8217;=&#62;&#8217;root&#8217;,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;password&#8217;=&#62;&#8217;jeri&#8217;,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ),
保存之后即可连接MySQL数据库了，实际使用时要根据自己的实际情况配置。
在此将继续使用yiic这个命令行工具，通过cd切换工作路径到D:\wwwroot\YiiDemo\study这个文件夹，然后在命令行中可以创建model和view文件。如下：

&#160;
需要注意的是，如上图所示，因为yiic.bat文件在D:\wwwroot\YiiDemo\framework文件夹下，而当前命令行的工作路径是D:\wwwroot\YiiDemo\study，所以在运行yiic时建议使用全路径。

使用yiic shell命令就可以进入shell命令行，在命令行看到的输入提示变为“&#62;&#62;”，键入model 表名就会创建对应表的model文件，上图下面就是使用“model user”成功之后就可以看到上图对应的情况。
还可以使用crud (crud分别是create/read/update/delete的缩写，表示常用的增删改查数据库操作)表名创建对应的coltroller和view文件，如下图所示：

&#160;
比如针对表user、userlist等使用model和crud命令之后，我们就可以在浏览器中查看这些文件了，如查看userlist表中的数据，可以在浏览器中输入http://localhost/YiiDemo/study/index.php?r=userlist，看到如下所示的图：

&#160;
可以看到尽管MySQL和PHP都是用了utf8编码，但是数据库中的RealName字段因为是中文数据导致不能正常显示，出现这种情况是因为采用了默认的字符集连接MySQL，在PHP中直接连接MySQL时，如果使用了utf8编码，我们会在PHP代码中做如下设置：mysql_query(&#8221;set names &#8216;utf8&#8242;&#8221;);但是在Yii中没有提供这样的机会，我们只需要更改D:\wwwroot\YiiDemo\framework\db文件夹下的CDbConnection.php文件中的
public $charset;
改为public $charset=&#8217;utf8&#8242;;就能正常显示了，如下图所示：
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
好了，至此没有写一行代码，但是已经完成了一个网站的大体框架，并且能初步实现增删改查功能了。
]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/724/yii-php-framework-practical-getting-started-tutorialin-chinese/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symfony 1.3 goes beta</title>
		<link>http://www.phpframeworks.com/news/p/602/symfony-1-3-goes-beta-3</link>
		<comments>http://www.phpframeworks.com/news/p/602/symfony-1-3-goes-beta-3#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:14:37 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/27/symfony-1-3-goes-beta#comment14619</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/602/symfony-1-3-goes-beta-3">symfony 1.3 goes beta</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Any chance of bug #6651 being fixed for symfony 1.3 ? http://trac.symfony-project.org/ticket/6651

It's been opened for 4 months and there's not been any update.

Thanks in advance,

FWH<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/Dso7-Bk4lGw" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/602/symfony-1-3-goes-beta-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why will Symfony 2.0 finally use PHP 5.3?</title>
		<link>http://www.phpframeworks.com/news/p/599/why-will-symfony-2-0-finally-use-php-5-3-2</link>
		<comments>http://www.phpframeworks.com/news/p/599/why-will-symfony-2-0-finally-use-php-5-3-2#comments</comments>
		<pubDate>Wed, 28 Oct 2009 00:10:31 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/27/why-will-symfony-2-0-finally-use-php-5-3#comment14616</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/599/why-will-symfony-2-0-finally-use-php-5-3-2">Why will Symfony 2.0 finally use PHP 5.3?</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
I'm really happy with this!!!

Though PHP 5.3 is already out, I can't use it so much as I like to, because all the projects I manage and maintain used Symfony 1.2 or a minor version, then, I' m still bound to PHP 5.2.

With this news now I'm sure I'll use Symfony 2.0 with PHP 5.3 and finally have the power of namespaces and my beloved closures :D, in my everyday work!!!<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/rtLbV6dDPHk" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/599/why-will-symfony-2-0-finally-use-php-5-3-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why will Symfony 2.0 finally use PHP 5.3?</title>
		<link>http://www.phpframeworks.com/news/p/598/why-will-symfony-2-0-finally-use-php-5-3</link>
		<comments>http://www.phpframeworks.com/news/p/598/why-will-symfony-2-0-finally-use-php-5-3#comments</comments>
		<pubDate>Tue, 27 Oct 2009 18:31:32 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/27/why-will-symfony-2-0-finally-use-php-5-3#comment14605</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/598/why-will-symfony-2-0-finally-use-php-5-3">Why will Symfony 2.0 finally use PHP 5.3?</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
This is great news. Looking forward to the upcoming releases.<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/6KLQ_XPNhKk" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/598/why-will-symfony-2-0-finally-use-php-5-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Symfony BugHuntDay</title>
		<link>http://www.phpframeworks.com/news/p/594/announcing-symfony-bughuntday-3</link>
		<comments>http://www.phpframeworks.com/news/p/594/announcing-symfony-bughuntday-3#comments</comments>
		<pubDate>Tue, 27 Oct 2009 05:19:14 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/25/announcing-symfony-bughuntday#comment14583</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/594/announcing-symfony-bughuntday-3">Announcing Symfony BugHuntDay</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
i'm willing to join this, but :&#60; 
i&#039;m in china.
i&#039;ve perpared to promote symfony here.
i appreciate symfony very much.!<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/TpUr6hguxT4" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/594/announcing-symfony-bughuntday-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>symfony 1.3 goes beta</title>
		<link>http://www.phpframeworks.com/news/p/593/symfony-1-3-goes-beta-2</link>
		<comments>http://www.phpframeworks.com/news/p/593/symfony-1-3-goes-beta-2#comments</comments>
		<pubDate>Tue, 27 Oct 2009 01:25:04 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/27/symfony-1-3-goes-beta#comment14579</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/593/symfony-1-3-goes-beta-2">symfony 1.3 goes beta</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Is there a new link for ANSICON? Geocities has this message: GEOCITIES IS CLOSING ON OCTOBER 26, 2009.
New GeoCities accounts are no longer available.  :)<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/UJUIKhDiMx4" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/593/symfony-1-3-goes-beta-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony and Doctrine 2</title>
		<link>http://www.phpframeworks.com/news/p/584/symfony-and-doctrine-2-3</link>
		<comments>http://www.phpframeworks.com/news/p/584/symfony-and-doctrine-2-3#comments</comments>
		<pubDate>Mon, 26 Oct 2009 12:26:32 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/05/symfony-and-doctrine-2#comment14574</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/584/symfony-and-doctrine-2-3">Symfony and Doctrine 2</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Hi everyone,

When i use "php symfony doctrine:build-model"

I get this:

PHP Fatal error:  Call to undefined method sfDoctrineConvertMappingTask::setConfiguration() in /home/tferreira/tproject/plugins/sfDoctrine2Plugin/lib/task/sfDoctrineBuildModelTask.class.php on line 79

Fatal error: Call to undefined method sfDoctrineConvertMappingTask::setConfiguration() in /home/tferreira/tproject/plugins/sfDoctrine2Plugin/lib/task/sfDoctrineBuildModelTask.class.php on line 79

Can anyone help me please? Thanks<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/ECrqhY9rZLE" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/584/symfony-and-doctrine-2-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Symfony BugHuntDay</title>
		<link>http://www.phpframeworks.com/news/p/583/announcing-symfony-bughuntday-2</link>
		<comments>http://www.phpframeworks.com/news/p/583/announcing-symfony-bughuntday-2#comments</comments>
		<pubDate>Mon, 26 Oct 2009 07:08:12 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/25/announcing-symfony-bughuntday#comment14573</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/583/announcing-symfony-bughuntday-2">Announcing Symfony BugHuntDay</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Looking forward to see some people of the symfony community there!<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/S3DKgpuYbt4" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/583/announcing-symfony-bughuntday-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony Live 2010 Schedule announced&#8230; with a surprise</title>
		<link>http://www.phpframeworks.com/news/p/564/symfony-live-2010-schedule-announced-with-a-surprise-5</link>
		<comments>http://www.phpframeworks.com/news/p/564/symfony-live-2010-schedule-announced-with-a-surprise-5#comments</comments>
		<pubDate>Thu, 22 Oct 2009 13:13:19 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/06/symfony-live-2010-schedule-announced-with-a-surprise#comment14571</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/564/symfony-live-2010-schedule-announced-with-a-surprise-5">Symfony Live 2010 Schedule announced&#8230; with a surprise</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Will it be in English or French?

I can speak quite a lot of French, but English is my mother tongue.

Just curious :-)<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/rxPY0oqryeo" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/564/symfony-live-2010-schedule-announced-with-a-surprise-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing symfony 1.3.0 alpha2</title>
		<link>http://www.phpframeworks.com/news/p/562/announcing-symfony-1-3-0-alpha2-13</link>
		<comments>http://www.phpframeworks.com/news/p/562/announcing-symfony-1-3-0-alpha2-13#comments</comments>
		<pubDate>Thu, 22 Oct 2009 06:26:12 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.symfony-project.org/blog/2009/10/12/announcing-symfony-1-3-0-alpha2#comment14570</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/562/announcing-symfony-1-3-0-alpha2-13">Announcing symfony 1.3.0 alpha2</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Congratulations symfony!<img src="http://feeds.feedburner.com/~r/symfony/blog/comments/~4/z0GvZb06Jao" height="1">]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/562/announcing-symfony-1-3-0-alpha2-13/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Feature Rich PHP Web Applications using Zend with New Book from Packt</title>
		<link>http://www.phpframeworks.com/news/p/543/create-feature-rich-php-web-applications-using-zend-with-new-book-from-packt</link>
		<comments>http://www.phpframeworks.com/news/p/543/create-feature-rich-php-web-applications-using-zend-with-new-book-from-packt#comments</comments>
		<pubDate>Wed, 21 Oct 2009 05:46:53 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/p/543/create-feature-rich-php-web-applications-using-zend-with-new-book-from-packt</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/543/create-feature-rich-php-web-applications-using-zend-with-new-book-from-packt">Create Feature Rich PHP Web Applications using Zend with New Book from Packt</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Create Feature Rich PHP Web Applications using Zend with New Book from Packt is a post from: PHP Frameworks
Zend Framework 1.8 Web Application Development written by Keith Pope is a new book from Packt that is aimed at helping PHP web developers who want to get started with Zend Framework.
FOR IMMEDIATE RELEASE PRLog (Press Release) [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/543/create-feature-rich-php-web-applications-using-zend-with-new-book-from-packt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

