<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_AnyKoro_分类_Yii Framework</title><id>http://feed.cnblogs.com/blog/u/53802/category/343478/rss</id><updated>2012-05-27T23:44:04Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/category/343478.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/53802/category/343478/rss"/><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/31/2308522.html</id><title type="text">Yii中延迟加载(autoload)使用方法</title><summary type="text">代写</summary><published>2011-12-31T02:57:00Z</published><updated>2011-12-31T02:57:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/31/2308522.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/31/2308522.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/26/2301771.html</id><title type="text">Yii的路由机制分析</title><summary type="text">在Yii中，route是一个非常重要的步骤。通过route我们可以定制更加个性互的Url。同时很多时候，如果route规则复杂也会容易出问题。所以，研究清楚route的机制是十分重要的。在这里希望你能先参看Yii Framework的process flow分析首先，让我们先看一段代码，此段代码出现在CWebApplication中， 1 /** 2 * @var array the configuration specifying a controller which should handle 3 * all user requests. This is mainly ...</summary><published>2011-12-26T03:28:00Z</published><updated>2011-12-26T03:28:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/26/2301771.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/26/2301771.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293776.html</id><title type="text">Yii中的核心CComponent类详解</title><summary type="text">CComponet类是Yii中影响最广的类。不仅Application继承自它，Event，Behavior，Action，Controller，Widget总之很多都是继承自它。在这里我们不一一列举，到底有哪些类是继承字CComponent类的。我们在这里主要是从现实意义上来剖析CComponet的作用，角色。当读完本篇后，你应该对继承自Yii的CComponent的类有什么样的属性，什么样的特性和作用，了然于胸。CComponent类是一个很庞大的类，我们就按照由粗到细的过程来讲解。让我们先直观感受下CComponet类是长什么样子的。下图为CComponet的类视图在解释这个类前，我们先</summary><published>2011-12-19T11:37:00Z</published><updated>2011-12-19T11:37:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293776.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293776.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293324.html</id><title type="text">Yii中Action详解</title><summary type="text">在此篇中，主要介绍Yii是如何看待Action的。那么在Controller中又是如何如何处理Action的，Action又有哪些需要注意的特性呢？带着这些问题，我们来看看下面的代码，里面会涉及到Yii Framework的process flow分析文中提到的一些基础，如果没有看过，建议先阅读之。首先先看段代码，此段代码位于CController中 1 public function createAction($actionID) 2 { 3 if($actionID==='') 4 $actionID=$this-&gt;defaultAc...</summary><published>2011-12-19T06:12:00Z</published><updated>2011-12-19T06:12:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293324.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2293324.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2292852.html</id><title type="text">Yii Framework的process flow分析</title><summary type="text">本篇主要讲述yii是如何处理一个web请求的，其中包括了route，filter，controller，action等等。他是如何安排他们各自的顺序，同时又预留了哪些事件函数，以让开发者更好的控制。本文需要一定的编程基础和对yii有一定熟悉，属于进阶型的。另外，由于程序庞大，比较复杂，请千万看准，哪段程序是在哪个类中的。Ready! Start...首先要说的肯定是index.php，他作为整个application的入口文件，起到了初始化各种变量的作用，接下来看代码，在这里我们约定下，这里所有的代码都一般情况下的 1 &lt;?php 2 3 // change the following </summary><published>2011-12-18T16:53:00Z</published><updated>2011-12-18T16:53:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2292852.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/19/2292852.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/12/12/2285078.html</id><title type="text">Yii中的Event和Behaviour理解</title><summary type="text">Event Event其实是个既复杂又简单的问题，因为里面总是有很多概念容易交织，在理解Event前，我们首先要明白Event的概念。Event中往往有两个角色，一个是Event，一个是Event Handler。为什么需要两个？原因很容易理解，Event只是说明这件事情发生了，但是没有说怎么处理。这部分处理的工作当然是留给了Event Handler了。我在这里主要从和现实世界的相似度上说，不涉及设计模式上的讲解。有意向的朋友可以自己去参看相关的模式，...</summary><published>2011-12-12T09:13:00Z</published><updated>2011-12-12T09:13:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/12/2285078.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/12/12/2285078.html"/><content type="html"/></entry></feed>
