<?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>JohnPuPu &#187; ZendFramework</title>
	<atom:link href="http://blog.johnpupu.tw/category/zendframework/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnpupu.tw</link>
	<description>博觀而約取，厚積而薄發</description>
	<lastBuildDate>Sat, 28 Jan 2012 15:43:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zend Framework Widget</title>
		<link>http://blog.johnpupu.tw/2010/05/13/zend-framework-widget/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zend-framework-widget</link>
		<comments>http://blog.johnpupu.tw/2010/05/13/zend-framework-widget/#comments</comments>
		<pubDate>Wed, 12 May 2010 18:02:35 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[program]]></category>
		<category><![CDATA[ZendFramework]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=499</guid>
		<description><![CDATA[主要是因為之前用Yii 的 Widget 用的挺開心的( 除了他會每次都進一次Cycle 外) 因為用ZF沒找到有這方面相關的資訊 所以自已動手刻&#8230;.. 1. 在application 下建 Titan/Base 的資料夾 ( Titan 是我想把自已寫的東西盡可能的都收在這 ) 2. vim Titan/Base/Widget.php [sourcecode language='php'] < ?php abstract class Titan_Base_Widget { protected $_basePath; protected $_viewBasePath; protected $_viewScriptPath; public function __construct( $array = null ) { //assign variables $this->_basePath = APPLICATION_PATH . DS . &#8216;widgets&#8217;; $this->_viewBasePath = APPLICATION_PATH . [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/05/13/zend-framework-widget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ZF controller init method</title>
		<link>http://blog.johnpupu.tw/2008/08/19/zf-controller-init-method/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zf-controller-init-method</link>
		<comments>http://blog.johnpupu.tw/2008/08/19/zf-controller-init-method/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 09:23:03 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[ZendFramework]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=232</guid>
		<description><![CDATA[[cc lang="php" tab_size="2" lines="40"]public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { $this-&#62;setRequest($request) ->setResponse($response) ->_setInvokeArgs($invokeArgs); $this->_helper = new Zend_Controller_Action_HelperBroker($this); $this->init(); }[/cc] 在zf 每個 controller 中 可以用function init 這個去代替__constructor (不知道這樣形容 恰不恰當) Whenever Zend Framework instantiates a controller, the base Zend Framework class (in our case Zend_Controller_Action) has a lot of important code in the [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2008/08/19/zf-controller-init-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

