<?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>Tue, 21 May 2013 11:02:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Anthony Wlodarskis Blog: Authentication with Node.js and Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/16649</guid>
      <link>http://www.phpdeveloper.org/news/16649</link>
      <description><![CDATA[<p>
<i>Anthony Wlodarski</i> has put together a new post to his blog talking about <a href="http://anthonyw.net/2011/07/authentication-with-node-js-and-zend-framework/">authenticating a Zend Framework app against Node.js</a> with the help of the <a href="http://socket.io/">Socket.io</a> component for handling credentials.
</p>
<blockquote>
Zend Framework which is PHP based and Node.js which is JavaScript based don't have a common connection to pass data in a bi-directional nature. I was tasked with building a bridge of sorts that would utilize existing information from Zend Framework with the latest release of Socket.io's authorization mechanisms. (If you don't do this then arbitrary connections can happen and will be authorized.)
</blockquote>
<p>
He starts with the code (on the Node.js side) to create a simple HTTP server to listen for the requests from the Zend Framework application. He gets into the details of how that all works before moving to the other side - a simple update to the authentication to store a session cookie with the information that is passed, via Socket.io to the waiting Node.js server for handling.
</p>]]></description>
      <pubDate>Thu, 28 Jul 2011 13:41:28 -0500</pubDate>
    </item>
  </channel>
</rss>
