<?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; Introduction</title>
	<atom:link href="http://www.phpframeworks.com/news/p/category/introduction/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>jCombo PHP + JavaScript Hybrid Framework</title>
		<link>http://www.phpframeworks.com/news/p/40814/jcombo-php-javascript-hybrid-framework</link>
		<comments>http://www.phpframeworks.com/news/p/40814/jcombo-php-javascript-hybrid-framework#comments</comments>
		<pubDate>Mon, 06 Feb 2012 09:39:42 +0000</pubDate>
		<dc:creator>jonpress</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[Share]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[php framework comparison]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=40814</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/40814/jcombo-php-javascript-hybrid-framework">jCombo PHP + JavaScript Hybrid Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
jCombo PHP + JavaScript Hybrid Framework is a post from: PHP Frameworks
 jCombo (http://jcombo.com/) is an Open Source PHP Ajax Framework that allows you to easily build powerful, dynamic, data-driven web applications. jCombo doesn&#8217;t require special skills to use as it combines the best existing technologies into one convenient package &#8211; It aggregates some of the [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/40814/jcombo-php-javascript-hybrid-framework/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swiftlet: MVC micro-framework</title>
		<link>http://www.phpframeworks.com/news/p/40675/swiftlet-mvc-micro-framework</link>
		<comments>http://www.phpframeworks.com/news/p/40675/swiftlet-mvc-micro-framework#comments</comments>
		<pubDate>Sat, 04 Feb 2012 23:45:03 +0000</pubDate>
		<dc:creator>ElbertF</dc:creator>
				<category><![CDATA[Development tools]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=40675</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/40675/swiftlet-mvc-micro-framework">Swiftlet: MVC micro-framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Swiftlet: MVC micro-framework is a post from: PHP Frameworks
Swiftlet is quite possibly the smallest MVC framework you&#8217;ll ever use.
Buzzword compliance
✔ Micro-Framework
✔ Namespaced
✔ Unit tested
✔ Pluggable
✔ PHP5
✔ MVC
✔ OOP
✘ ORM 
http://swiftlet.org
Related Blogs


]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/40675/swiftlet-mvc-micro-framework/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>Agile Toolkit — PHP Web UI Framework</title>
		<link>http://www.phpframeworks.com/news/p/24849/agile-toolkit-php-web-ui-framework</link>
		<comments>http://www.phpframeworks.com/news/p/24849/agile-toolkit-php-web-ui-framework#comments</comments>
		<pubDate>Sat, 26 Mar 2011 07:16:28 +0000</pubDate>
		<dc:creator>romans</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[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[php framework comparison]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=24849</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/24849/agile-toolkit-php-web-ui-framework">Agile Toolkit — PHP Web UI Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Agile Toolkit — PHP Web UI Framework is a post from: PHP Frameworks
Not often you come over the framework which provides out-of-the-box User Interface, has powerful Model-View-Controller concept and is Easy to Use at the same time. Agile Toolkit does this in style. But what is also important, it&#8217;s solid and extensible. The interactive introduction [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/24849/agile-toolkit-php-web-ui-framework/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is php framework?</title>
		<link>http://www.phpframeworks.com/news/p/24132/what-is-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/24132/what-is-php-framework#comments</comments>
		<pubDate>Sat, 26 Feb 2011 16:02:48 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[what is php framework]]></category>
		<category><![CDATA[what is php frameworks]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=24132</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/24132/what-is-php-framework">what is php framework?</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
what is php framework? is a post from: PHP Frameworks
The idea behind a framework is to offer a design you can use across multiple applications. All applications have a number of basic things in common. A framework is designed to provide a structure for those common elements (database interaction, presentation layer, application logic) so you [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/24132/what-is-php-framework/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tuxxedo Engine &#8212; Introduction</title>
		<link>http://www.phpframeworks.com/news/p/18708/tuxxedo-engine-introduction</link>
		<comments>http://www.phpframeworks.com/news/p/18708/tuxxedo-engine-introduction#comments</comments>
		<pubDate>Fri, 17 Sep 2010 17:48:41 +0000</pubDate>
		<dc:creator>Kalle Sommer Nielsen</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[New Frameworks Report]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=18708</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/18708/tuxxedo-engine-introduction">Tuxxedo Engine &#8212; Introduction</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Tuxxedo Engine &#8212; Introduction is a post from: PHP Frameworks
Greetings
I&#8217;m Kalle and I would like to introduce a brand new PHP5 based framework, named Tuxxedo Engine. Tuxxedo is a small open source org., managed by a few people set to create scalable/performance, API rich and modern applications, for this purpose we started working on Tuxxedo [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/18708/tuxxedo-engine-introduction/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zeanwork Framework PHP &#8211; from Brazil</title>
		<link>http://www.phpframeworks.com/news/p/18653/zeanwork-framework-php-from-brazil</link>
		<comments>http://www.phpframeworks.com/news/p/18653/zeanwork-framework-php-from-brazil#comments</comments>
		<pubDate>Thu, 09 Sep 2010 12:21:53 +0000</pubDate>
		<dc:creator>Josemar Davi Luedke</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=18653</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/18653/zeanwork-framework-php-from-brazil">Zeanwork Framework PHP &#8211; from Brazil</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Zeanwork Framework PHP &#8211; from Brazil is a post from: PHP Frameworks
Hello!
We have a new brazilian PHP framework, it is the Zeanwork, that was developed by me.
I invite you to know about this project!
Official Website: http://zeanwork.com.br
Documentation: http://zeanwork.com.br/doc
Download: http://zeanwork.com.br/downloads
Forum: http://zeanwork.com.br/forum
Tutorials: http://zeanwork.com.br/tutorials
Screencasts: http://zeanwork.com.br/screencasts
Currently, all the project documentation is only avaliable in Portuguese, but its something worth checking [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/18653/zeanwork-framework-php-from-brazil/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhpBURN</title>
		<link>http://www.phpframeworks.com/news/p/15806/phpburn</link>
		<comments>http://www.phpframeworks.com/news/p/15806/phpburn#comments</comments>
		<pubDate>Thu, 01 Jul 2010 03:38:31 +0000</pubDate>
		<dc:creator>phpburn</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[DAO]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[phpburn]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=15806</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/15806/phpburn">PhpBURN</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
PhpBURN is a post from: PHP Frameworks
[ www.phpburn.com ]
The PhpBURN is a complete PHP framework and is compose by three main modules ( but not the only ones because everyone can develop your own modules and integrate it to the tool ). The main principle in this tool is the MVC pattern.
ORM ( Model or M ):
Without [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/15806/phpburn/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>Celeroo PHP Framework</title>
		<link>http://www.phpframeworks.com/news/p/595/celeroo-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/595/celeroo-php-framework#comments</comments>
		<pubDate>Tue, 27 Oct 2009 09:18:51 +0000</pubDate>
		<dc:creator>celeroo</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[PHP Ajax Framework]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[php framework comparison]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=595</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/595/celeroo-php-framework">Celeroo PHP Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Celeroo PHP Framework is a post from: PHP Frameworks
Hello, I want to introduce a new lightweight developer-centric PHP framework.
Full details and download is available at http://www.celeroo.com/frame/frame.html
Here is more about the features:
PHP4: YES, but will be dropped in the next update
PHP5: YES
MVC: YES
Multiple DB&#8217;s: YES
ORM: Open to integrate an ORM
DB Objects: YES
Templates: NO
Caching: NO
Validation: NO
Ajax: Open [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/595/celeroo-php-framework/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why APF (Adventure PHP Framework)?</title>
		<link>http://www.phpframeworks.com/news/p/574/why-apf-adventure-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/574/why-apf-adventure-php-framework#comments</comments>
		<pubDate>Sat, 24 Oct 2009 21:40:57 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[Development tools]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Top 10 PHP Frameworks]]></category>
		<category><![CDATA[php framework comparison]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=574</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/574/why-apf-adventure-php-framework">Why APF (Adventure PHP Framework)?</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Why APF (Adventure PHP Framework)? is a post from: PHP Frameworks
You think: &#8220;The APF is just another framework&#8221;, too? On this page you can find reasons why you should definitely use use the adventure php framework (APF)!
The APF supports you to rapidly create enterprise ready web applicatons or modules, that are fast, secure and reusable. [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/574/why-apf-adventure-php-framework/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to implement view based caching</title>
		<link>http://www.phpframeworks.com/news/p/551/how-to-implement-view-based-caching</link>
		<comments>http://www.phpframeworks.com/news/p/551/how-to-implement-view-based-caching#comments</comments>
		<pubDate>Wed, 21 Oct 2009 10:19:40 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[view based caching]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=551</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/551/how-to-implement-view-based-caching">How to implement view based caching</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
How to implement view based caching is a post from: PHP Frameworks
1. Introduction
Within a discussion in the developers-guide.net forum, the idea of view based caching was born. Triggered by Alberto, we began to talk about performance optimization and various caching methods. The conclusion was, that caching of pieces of HTML is an effective way to [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/551/how-to-implement-view-based-caching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventure PHP Framework supports Dependency Injection</title>
		<link>http://www.phpframeworks.com/news/p/527/apf-supports-dependency-injection</link>
		<comments>http://www.phpframeworks.com/news/p/527/apf-supports-dependency-injection#comments</comments>
		<pubDate>Tue, 20 Oct 2009 14:36:03 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=527</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/527/apf-supports-dependency-injection">Adventure PHP Framework supports Dependency Injection</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Adventure PHP Framework supports Dependency Injection is a post from: PHP Frameworks
The free Adventure PHP Framework version 1.10 has been released. The framework is designed to assist in the implementation of object oriented and reusable PHP based web applications and encourages the use of design patterns. Besides work on cleaning up the code and enhancing [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/527/apf-supports-dependency-injection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discussing PHP Frameworks: What, When, Why and Which?</title>
		<link>http://www.phpframeworks.com/news/p/487/discussing-php-frameworks-what-when-why-and-which</link>
		<comments>http://www.phpframeworks.com/news/p/487/discussing-php-frameworks-what-when-why-and-which#comments</comments>
		<pubDate>Sun, 18 Oct 2009 15:30:43 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[php frameworks]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=487</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/487/discussing-php-frameworks-what-when-why-and-which">Discussing PHP Frameworks: What, When, Why and Which?</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Discussing PHP Frameworks: What, When, Why and Which? is a post from: PHP Frameworks
What is a PHP Framework?
PHP is the world’s most popular scripting language for many different reasons – flexibility, ease-of-use, among others – but often times coding in PHP, or any language for that matter, can get rather monotonous and repetitive. That’s where [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/487/discussing-php-frameworks-what-when-why-and-which/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vork Enterprise PHP Framework</title>
		<link>http://www.phpframeworks.com/news/p/81/vork-enterprise-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/81/vork-enterprise-php-framework#comments</comments>
		<pubDate>Tue, 13 Oct 2009 06:01:04 +0000</pubDate>
		<dc:creator>phprox</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=81</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/81/vork-enterprise-php-framework">Vork Enterprise PHP Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Vork Enterprise PHP Framework is a post from: PHP Frameworks
Vork (http://www.Vork.us) 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 slow abstraction layers or re-inventing native PHP functionality.
Rapid Application Development

Native [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/81/vork-enterprise-php-framework/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend Framework 1.9.3 PL1</title>
		<link>http://www.phpframeworks.com/news/p/73/zend-framework-1-9-3-pl1</link>
		<comments>http://www.phpframeworks.com/news/p/73/zend-framework-1-9-3-pl1#comments</comments>
		<pubDate>Tue, 13 Oct 2009 04:04:15 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=73</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/73/zend-framework-1-9-3-pl1">Zend Framework 1.9.3 PL1</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Zend Framework 1.9.3 PL1 is a post from: PHP Frameworks
Zend Technologies heeft verleden week de derde maintenance release voor versie 1.9 van zijn Zend Framework uitgebracht. Nog diezelfde dag kwam opvolger 1.9.3 PL1 beschikbaar wegens een probleem met Zend_Db::factory(). Zend Framework is een opensource, objectgeoriënteerd framework voor het ontwikkelen van webapplicaties. Het is gemaakt met [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/73/zend-framework-1-9-3-pl1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Zend Framework 1.8 Delivers Rapid Application Development (RAD) for PHP</title>
		<link>http://www.phpframeworks.com/news/p/71/new-zend-framework-1-8-delivers-rapid-application-development-rad-for-php</link>
		<comments>http://www.phpframeworks.com/news/p/71/new-zend-framework-1-8-delivers-rapid-application-development-rad-for-php#comments</comments>
		<pubDate>Mon, 12 Oct 2009 09:34:53 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=71</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/71/new-zend-framework-1-8-delivers-rapid-application-development-rad-for-php">New Zend Framework 1.8 Delivers Rapid Application Development (RAD) for PHP</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
New Zend Framework 1.8 Delivers Rapid Application Development (RAD) for PHP is a post from: PHP Frameworks
Open source project benefits PHP developers and managers with new code generation and application management features, including programming support for the Amazon cloud
CUPERTINO, Calif., May 1, 2009 – Zend Technologies, Inc., the PHP Company, announced today a new version [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/71/new-zend-framework-1-8-delivers-rapid-application-development-rad-for-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real Rapid Application Development</title>
		<link>http://www.phpframeworks.com/news/p/66/real-rapid-application-development</link>
		<comments>http://www.phpframeworks.com/news/p/66/real-rapid-application-development#comments</comments>
		<pubDate>Mon, 12 Oct 2009 07:15:07 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Share]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=66</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/66/real-rapid-application-development">Real Rapid Application Development</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Real Rapid Application Development is a post from: PHP Frameworks
Real Rapid Application Development
http://sites.google.com/site/phptequila/Home/real-rapid-application-development
Real Rapid Application Development
In this tutorial we will review how to create a really fast applications using Tequila framework, we will use the same DB as in First tutorial, but you can use the following techniques with any other DB
We assume:
123* You already [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/66/real-rapid-application-development/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tequila PHP Framework</title>
		<link>http://www.phpframeworks.com/news/p/60/tequila-php-framework</link>
		<comments>http://www.phpframeworks.com/news/p/60/tequila-php-framework#comments</comments>
		<pubDate>Mon, 12 Oct 2009 06:57:45 +0000</pubDate>
		<dc:creator>wood</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[New Frameworks Report]]></category>
		<category><![CDATA[tequila]]></category>

		<guid isPermaLink="false">http://www.phpframeworks.com/news/?p=60</guid>
		<description><![CDATA[<p><a href="http://www.phpframeworks.com/news/p/60/tequila-php-framework">Tequila PHP Framework</a> is a post from: <a href="http://www.phpframeworks.com/">PHP Frameworks</a></p>
Tequila PHP Framework is a post from: PHP Frameworks
Tequila PHP Framework
http://sites.google.com/site/phptequila/Home/tutorial&#8211;your-first-app
Tequila, Fast, Easy, Powerful PHP code in seconds.
What is Tequila?
Tequila is a highly productive MVC-PHP framework to code super fast, clean applications.
Just start with your database and make your applications in seconds.  Maintaining and extending is fast and easy with clear division of models [...]]]></description>
		<wfw:commentRss>http://www.phpframeworks.com/news/p/60/tequila-php-framework/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

