<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 12 Oct 2008 13:17:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend_Acl and MVC Integration Part II (Advanced Use)]]></title>
      <guid>http://www.phpdeveloper.org/news/10622</guid>
      <link>http://www.phpdeveloper.org/news/10622</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Advanced-Use">posted part two</a> of <i>Aldemar Bernal</i>'s in-depth look at using the Zend_Acl component of the Zend Framework to manage the access control for your application. 
</p>
<blockquote>
In <a href="http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Basic-Use">part one</a> we saw how to setup our Zend_Acl instance and how to attach it to the MVC environment (by using the Front Controller Plugin), but what about setting another action for the denied access, or how does an article be edited only by its owner?, this, and some more is what we are going to see in the following examples. 
</blockquote>
<p>
This <a href="http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Advanced-Use">second part</a> is broken up into a few parts:
</p>
<ul>
<li>Using Modules
<li>Using Roles
<li>Setting the denied error action
<li>Using the action helper
</ul>
<p>
These two tutorials are based on <a href="http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025">this proposal</a> for the integration of Zend_Acl into the current framework is currently pending.
</p>]]></description>
      <pubDate>Wed, 16 Jul 2008 14:51:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend_Acl and MVC Integration Part I (Basic Use)]]></title>
      <guid>http://www.phpdeveloper.org/news/10467</guid>
      <link>http://www.phpdeveloper.org/news/10467</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted a <a href="http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Basic-Use">new tutorial</a> (from <i>Aldemar Bernal</i>) about some of the basic use of the Zend_Acl component of the Zend Framework.
</p>
<blockquote>
So, what is wrong with Zend_Acl and the current MVC implementation in the Zend Framework? there is nothing wrong, it is just that it gets not too obvious for developers how to achieve an optimal integration between these two important parts of the framework. 
</blockquote>
<p>
He talks about <a href="http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025">the proposal</a> that's out for a potential update to the component, the two key points being the front controller plugin and a new action helper. He includes some sample code showing how to set it all up including a "denied" controller to handle the failures.
</p>]]></description>
      <pubDate>Mon, 23 Jun 2008 15:23:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 7: Authorisation with Zend_Acl & Styling]]></title>
      <guid>http://www.phpdeveloper.org/news/10162</guid>
      <link>http://www.phpdeveloper.org/news/10162</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> is up to <a href="http://blog.astrumfutura.com/archives/362-Example-Zend-Framework-Blog-Application-Tutorial-Part-7-Authorisation-with-Zend_Acl-and-Revised-Styling.html">part seven</a> of his blog creation (with the Zend Framework) series, tracking his development paths and though processes along the way. This new part of the seres looks at using Zend_Acl for user management and changing up some of the style of the site.
</p>
<blockquote>
We previously covered how to authenticate an author to the blog, but we still have nothing ensuring only authenticated authors can access the new Administration Module. This is the domain of Zend_Acl, an implementation of an Access Control List system which limits access to resources by the roles assigned to a user.
</blockquote>
<p>
He <a href="http://blog.astrumfutura.com/archives/362-Example-Zend-Framework-Blog-Application-Tutorial-Part-7-Authorisation-with-Zend_Acl-and-Revised-Styling.html">starts</a> by helping you understand access control lists including roles and privileges. He plans out the different roles that he wants the application to have first (always a good first step) and then implements them in a class extending the Zend_Acl component. He wraps this all in a front controller to make it easy to use. 
</p>
<p>
He also tosses in a bit there at the end about CSS and styling to handle the forms for login and the administration piece of the blog he created earlier.
</p>]]></description>
      <pubDate>Mon, 12 May 2008 11:15:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gergely Hodicska's Blog: Extending Zend_Acl to support custom roles and resources]]></title>
      <guid>http://www.phpdeveloper.org/news/9147</guid>
      <link>http://www.phpdeveloper.org/news/9147</link>
      <description><![CDATA[<p>
<i>Gergely Hodicska</i> has <a href="http://blog.felho.hu/extending-zend_acl-to-support-custom-roles-and-resources.html">posted about</a> some hacking he's down with the Zend_Acl package in the Zend Framework to make support for custom roles and resources.
</p>
<blockquote>
I found that the base Zend_Acl package has some limitation/problem if you want to use it in a bigger real life project. Zend_Acl supports only logical roles, resources so I decided to extend it to allow using custom roles and resources which can represent existing entities (for example users/groups and topics in a database)
</blockquote>
<p>
He <a href="http://blog.felho.hu/extending-zend_acl-to-support-custom-roles-and-resources.html">talks some</a> about the package and its current functionality, including the limitations he ran up against. He came up with a structure for what he wanted (<a href="http://blog.felho.hu/wp-content/fooaclclassdiagram.png">seen here</a>) and set out to extend the class, making an interface and implementing it with his own loading method.
</p>
<p>
His source code can <a href="http://blog.felho.hu/wp-content/fooacl.zip">be downloaded here</a>.
</p>]]></description>
      <pubDate>Fri, 30 Nov 2007 07:56:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Nick Halstead's Blog: Zend Framework RC1 and Zend ACL usage]]></title>
      <guid>http://www.phpdeveloper.org/news/7940</guid>
      <link>http://www.phpdeveloper.org/news/7940</link>
      <description><![CDATA[<p>
<i>Nick Halstead</i> takes a look at another aspect of the Zend Framework in his <a href="http://blog.assembleron.com/2007/05/30/zend-framework-rc1-and-zend-acl-usage/">latest blog post</a> - the ACL component in the most recent release, Zend Framework RC1.
</p>
<blockquote>
Yesterday RC1 of Zend Framework was released. I have been working away using it for several months and I have tried to give back small snippets of code as I went along. I had to do some work on my class that extends the <a href="http://framework.zend.com/manual/en/zend.acl.html">Zend ACL</a> and it reminded me how I like to approach coding as a whole.
</blockquote>
<p>
He <a href="http://blog.assembleron.com/2007/05/30/zend-framework-rc1-and-zend-acl-usage/">goes on</a> to look at what the Zend Framework access control functionality is and how he plans on using it. He follows this with a few code snippets that, among other things, show how the Zend_Config_Ini component could be used to maintain the access list.
</p>]]></description>
      <pubDate>Thu, 31 May 2007 07:52:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend_Acl / Zend_Auth example scenario]]></title>
      <guid>http://www.phpdeveloper.org/news/7247</guid>
      <link>http://www.phpdeveloper.org/news/7247</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/node/view/id/1665">new tutorial</a> covering the use of the Zend_Acl and Zend_Auth modules in the Zend Framework to create a simple user login and authentication system from <i>Simon Mundy</i>.
</p>
<blockquote>
After submitting the initial example of how Zend_Auth and Zend_Acl could be implemented Gavin pointed out areas that weren't really addressed in my proof of concept and it could potentially confuse newcomers to the way MVC is utilised. I'd like to clarify that post to a) Address those concerns and b) see if there's any constructive criticism of the process that could benefit everyone.
</blockquote>
<p>
He <a href="http://devzone.zend.com/node/view/id/1665">sets up</a> the site layout (including where the actions lie) and defines some of the access rules the script will follow. From there, he creates a bootstrap file and an index.php to work with it. On top of this, he builds the key piece - the Auth.php - to handle the validation of the users.
</p>]]></description>
      <pubDate>Thu, 08 Feb 2007 13:26:00 -0600</pubDate>
    </item>
  </channel>
</rss>
