News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anthony Wlodarskis Blog:
Authentication with Node.js and Zend Framework
July 28, 2011 @ 13:41:28

Anthony Wlodarski has put together a new post to his blog talking about authenticating a Zend Framework app against Node.js with the help of the Socket.io component for handling credentials.

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.)

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.

0 comments voice your opinion now!
nodejs zendframework authentication http socketio


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: Jamp! Easy Java/Apache/PHP/MySQL install in one click

IBM developerWorks: What's new in Zend Framework V1.5

Matthew Weir O'Phinney's Blog: Using Zend_View Placeholders to Your Advantage

Zend Developer Zone: AJAX Chat Tutorial Part 6 : Updating the User List

PHPRiot.com: Zend Framework 101: Zend_Oauth


Community Events





Don't see your event here?
Let us know!


artisanfiles interview composer series voicesoftheelephpant security community symfony tool introduction opinion list laravel version library conference language framework podcast release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework