<?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>Wed, 22 May 2013 20:38:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Introducing the ZF2 Plugin Broker]]></title>
      <guid>http://www.phpdeveloper.org/news/15423</guid>
      <link>http://www.phpdeveloper.org/news/15423</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <A href="http://weierophinney.net/matthew/archives/248-Introducing-the-ZF2-Plugin-Broker.html">a new post to his blog</a> today looking at a feature that'll be included in the upcoming Zend Framework 2 release - a plugin broker that changes the way plugins are loaded.
</p>
<blockquote>
<p>
In Zend Framework 2.0, we're refactoring in a number of areas in order to increase the consistency of the framework. One area we identified early is how plugins are loaded. The word "plugins" in Zend Framework applies to a number of items: Helpers, Application resources, Filters and validators and Adapters.
</p>
<p>
In practically every case, we use a "short name" to name the plugin, in order to allow loading it dynamically. This allows more concise code, as well as the ability to configure the code in order to allow specifying alternate implementations.
</p>
</blockquote>
<p>
The current versions of the framework use a "PluginLoader" class that handles the resolving and loading of the plugins as they're called. With this new PluginBroker, the process is optimized and split out into some namespaces for ease of use. He gets into more detail about the class resolution, instantiation, registration and touches briefly on the PluginSpecBroker, a special-case handler that's a concrete example of the LazyLoadingBroker.
</p>]]></description>
      <pubDate>Fri, 12 Nov 2010 10:03:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: Simple Single Sign-On for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12371</guid>
      <link>http://www.phpdeveloper.org/news/12371</link>
      <description><![CDATA[<p>
<i>Arnold Daniels</i> has a new post to his blog today dealing with something (usually companies) are looking towards to help deal with the infamous "too many passwords for too many places" issue - a <a href="http://blog.adaniels.nl/articles/simple-single-sign-on-for-php/">simple single sign-on tool</a> that can be dropped in an used anywhere.
</p>
<blockquote>
Associated websites often share user information, so a visitor only has to register once and can use that username and password for all sites. A good example for this is Google. [...] There are many single sign-on applications and protocols. Most of these are fairly complex. [...] I've written a simple single sign-on solution (400 lines of code), which works by linking sessions. This solutions works for normal websites as well as AJAX sites.
</blockquote>
<p>
He compares the flow on a non-single sign-on <a href="http://blog.adaniels.nl/wp-content/uploads/sso-diagram_no-sso.png">site</a> (lots of fetching between the client/server) and the <a href="http://blog.adaniels.nl/wp-content/uploads/sso-diagram_alex.png">first</a>/<a href="http://blog.adaniels.nl/wp-content/uploads/sso-diagram_binck.png">following</a> visits with his tool in place. You can <a href="http://blog.adaniels.nl/downloads/SSO.zip">download the source here</a> (as well as the <a href="http://blog.adaniels.nl/downloads/SSO.ajax-broker.zip">Ajax broker</a>).
</p>]]></description>
      <pubDate>Mon, 20 Apr 2009 09:36:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: A little bit more about Zend_Controller plugins]]></title>
      <guid>http://www.phpdeveloper.org/news/6463</guid>
      <link>http://www.phpdeveloper.org/news/6463</link>
      <description><![CDATA[<p>
In his <a href="http://www.alexatnet.com/Blog/Index/2006-10-09/a-little-bit-more-about-zend_controller-plugins">latest post</a>, <i>Alexander Netkachev</i> digs a little deeper into the Zend Framework and looks at the Zend_Controller class and its plugin support.
</p>
<blockquote>
Zend_Controller_Plugin is not covered yet in the documentation but it is a powerful way of extending a controller. Briefly, Zend_Controller_Plugin is used for extending controller functionality by attaching listeners to events, which are fired (or trigged) by the controller classes.
</blockquote>
<p>
He talks about the plugin interface, how it hooks into the controller and defines the relationship with some pseudo-code (showing implements versus extends). There's talk of the Zend_Controller_Plugin_Broker class and the Zend_Controller_Front. He <a href="http://www.alexatnet.com/Blog/Index/2006-10-09/a-little-bit-more-about-zend_controller-plugins">looks in detail</a> at this last class, showing how it helps to handle incoming requests for the plugin functionality and veen includes working code you demonstrate how.
</p>]]></description>
      <pubDate>Tue, 10 Oct 2006 08:18:00 -0500</pubDate>
    </item>
  </channel>
</rss>
