<?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>cakebaker &#187; zend</title>
	<atom:link href="http://cakebaker.42dh.com/tags/zend/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 20 Dec 2011 15:29:40 +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>An idea for improving CakePHP&#8217;s ACL system</title>
		<link>http://cakebaker.42dh.com/2009/02/26/an-idea-for-improving-cakephps-acl-system/</link>
		<comments>http://cakebaker.42dh.com/2009/02/26/an-idea-for-improving-cakephps-acl-system/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 16:08:40 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[acl]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1107</guid>
		<description><![CDATA[Recently, I stumbled upon an article about ACL in the Zend framework, written by Jani Hartikainen. While reading it, I realized that probably many people struggle with CakePHP&#8217;s ACL because of the naming. The main classes of CakePHP&#8217;s ACL implementation are named ACO and ARO, which are acronyms for the technical terms &#8220;access control object&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I stumbled upon an <a href="http://codeutopia.net/blog/2009/02/06/zend_acl-part-1-misconceptions-and-simple-acls/">article about ACL in the Zend framework</a>, written by Jani Hartikainen. While reading it, I realized that probably many people struggle with CakePHP&#8217;s ACL because of the naming.</p>
<p>The main classes of CakePHP&#8217;s ACL implementation are named ACO and ARO, which are acronyms for the technical terms &#8220;access control object&#8221; and &#8220;access request object&#8221;. An access control object is something that gets accessed, whereas an access request object is something that wants to access an access control object. </p>
<p>As those acronyms are probably not that familiar to most (I heard them for the first time with the introduction of the ACL feature), you always have to perform translations when you read/hear &#8220;ACO&#8221; or &#8220;ARO&#8221;:</p>
<pre>
<code>ACO =&gt; Access Control Object =&gt; term you are familiar with
ARO =&gt; Access Request Object =&gt; term you are familiar with</code>
</pre>
<p>After a while you (resp. your brain) will make those translations automatically. However, at the beginning, when you try to grasp CakePHP&#8217;s ACL implementation, those translation automatisms are not there yet, which makes the understanding more difficult&#8230;</p>
<p>Now compare this with the names used in the Zend framework: Zend_Acl_Resource (= ACO) and Zend_Acl_Role (= ARO). At least to me those names sound quite familiar. They are very similar to the terms I would use in a discussion about authorization. And because of this familiarity, the aforementioned translation process can be omitted. </p>
<p>And so I think it would also make sense for CakePHP to use terms like &#8220;resource&#8221; and &#8220;role&#8221; instead of ACO and ARO to make it easier for those who want to learn how the ACL feature works. </p>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2009/02/26/an-idea-for-improving-cakephps-acl-system/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Comparison of three PHP frameworks</title>
		<link>http://cakebaker.42dh.com/2007/10/11/comparison-of-three-php-frameworks/</link>
		<comments>http://cakebaker.42dh.com/2007/10/11/comparison-of-three-php-frameworks/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 07:33:01 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[cakephp]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/10/11/comparison-of-three-php-frameworks/</guid>
		<description><![CDATA[On IBM&#8217;s developerWorks a new series called &#8220;PHP frameworks&#8221; has been started which compares the three frameworks Zend, symfony, and CakePHP, by means of creating the same sample application with each framework. The series consists of five parts: Part 1 of this series lays out the scope for the series, introduces the frameworks being examined, [...]]]></description>
			<content:encoded><![CDATA[<p>On IBM&#8217;s developerWorks a new series called &#8220;PHP frameworks&#8221; has been started which compares the three frameworks <a href="http://framework.zend.com/">Zend</a>, <a href="http://www.symfony-project.com/">symfony</a>, and <a href="http://www.cakephp.org">CakePHP</a>, by means of creating the same sample application with each framework. The series consists of five parts:</p>
<blockquote><p>
<a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk1">Part 1</a> of this series lays out the scope for the series, introduces the frameworks being examined, covers their installation, and scopes out the first test application you will build.<br />
<br />
<a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk2">Part 2</a> walks you through building the sample application in each of the three frameworks, highlighting their similarities and differences.<br />
<br />
<a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk3">Part 3</a> starts with extending the test application, then deals with exceptions to the rule. All frameworks work well when doing the tasks for which they were designed. Needing to do something the framework wasn&#8217;t built to do happens on every project. This article looks at such instances.<br />
<br />
<a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk4">Part 4</a> focuses primarily on Ajax support. The use of Ajax, using native code and third-party libraries, is examined — specifically, how each framework behaves and accepts specific popular libraries.<br />
<br />
<a href="http://www.ibm.com/developerworks/opensource/library/os-php-fwk5">Part 5</a> deals with working outside the frameworks. A single task is identified (nightly update script), and the process for accomplishing this task is examined in each framework.
</p></blockquote>
<p>[via <a href="http://www.guymon.de/wordpress/2007/10/10/php-frameworks-im-vergleich/">guymon</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2007/10/11/comparison-of-three-php-frameworks/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Using Zend Framework Components in CakePHP</title>
		<link>http://cakebaker.42dh.com/2006/08/08/using-zend-framework-components-in-cakephp/</link>
		<comments>http://cakebaker.42dh.com/2006/08/08/using-zend-framework-components-in-cakephp/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 13:50:53 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[cakephp]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=242</guid>
		<description><![CDATA[Yesterday, A/R/T has published my article I wrote some time ago about using Zend Framework components in CakePHP. In that article a very simple application is created which uses the Zend_Service_Flickr component to access the Flickr webservices.]]></description>
			<content:encoded><![CDATA[<p>Yesterday, A/R/T has published my <a href="http://hades.phparch.com/ceres/public/article/index.php/art::cakephp::zf_components_in_cake">article</a> I wrote some time ago about using <a href="http://framework.zend.com/">Zend Framework</a> components in CakePHP. In that article a very simple application is created which uses the Zend_Service_Flickr component to access the Flickr webservices.</p>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2006/08/08/using-zend-framework-components-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Extending the CakePHP framework</title>
		<link>http://cakebaker.42dh.com/2006/07/13/extending-the-cakephp-framework/</link>
		<comments>http://cakebaker.42dh.com/2006/07/13/extending-the-cakephp-framework/#comments</comments>
		<pubDate>Thu, 13 Jul 2006 06:44:56 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[cakephp]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=225</guid>
		<description><![CDATA[Yesterday, my article &#8220;Extending the CakePHP framework&#8221; has been published on the Zend Developer Zone. It is an introduction to helpers, components and plug-ins (and my very first article outside of this blog *g*).]]></description>
			<content:encoded><![CDATA[<p>Yesterday, my article <a href="http://devzone.zend.com/node/view/id/593">&#8220;Extending the CakePHP framework&#8221;</a> has been published on the Zend Developer Zone. It is an introduction to helpers, components and plug-ins (and my very first article outside of this blog *g*). </p>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2006/07/13/extending-the-cakephp-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use components from the Zend Framework with CakePHP</title>
		<link>http://cakebaker.42dh.com/2006/04/22/use-components-from-the-zend-framework-with-cakephp/</link>
		<comments>http://cakebaker.42dh.com/2006/04/22/use-components-from-the-zend-framework-with-cakephp/#comments</comments>
		<pubDate>Sat, 22 Apr 2006 17:00:09 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[cakephp]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=170</guid>
		<description><![CDATA[I am sure you already heard about the Zend framework. It provides some nice components (don&#8217;t confuse them with Cake components) for which there are no equivalents in the core of CakePHP. Due to the flexibility of CakePHP it is relatively easy to use these Zend components within a CakePHP application (be aware that the [...]]]></description>
			<content:encoded><![CDATA[<p>I am sure you already heard about the <a href="http://framework.zend.com/">Zend framework</a>. It provides some nice components (don&#8217;t confuse them with Cake components) for which there are no equivalents in the core of CakePHP. Due to the flexibility of CakePHP it is relatively easy to use these Zend components within a CakePHP application (be aware that the Zend Framework requires PHP5). You have to perform the following steps:</p>
<ol>
<li><a href="http://framework.zend.com/download">Download</a> the Zend Framework</li>
<li>Copy the files from the library directory in the zip file to your app/vendors directory</li>
<li>Create a wrapper file in vendors in which you include the components you want to use. In the example below I want to use the Zend_Feed component:
<pre>
//app/vendors/zendfeed.php
&lt;?php ini_set('include_path',ini_get('include_path').PATH_SEPARATOR . dirname(__FILE__));?&gt;
&lt;?php require_once('Zend/Feed.php'); ?&gt;
</pre>
</li>
<li>Make the Zend component accessible in your controller with
<pre>vendor('zendfeed');</pre>
</li>
<li>Use the Zend component and have fun ;-)</li>
</ol>
<p>Thanks go to <a href="http://rossoft.wordpress.com">Miguel Ros</a> and <a href="http://www.thinkingphp.org">Felix Geisendörfer</a> for their help!</p>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2006/04/22/use-components-from-the-zend-framework-with-cakephp/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

