News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Alvaro Videla's Blog:
Erlang as a Fast Key Value Store for PHP
March 08, 2010 @ 13:37:51

Alvaro Videla has submitted a new post he's written up combining PHP and Erlang yet again, but this time he's using it to just store key/value pairs rather than for session data.

In this post I want to show you some of the neat things that can be done with the PHP-Erlang Bridge extension: A Key Value Store. Erlang comes packed with a Key Value store in the form of the ETS module. This is database is pretty fast and efficient for storing the Erlang terms in memory.

He tried a proof of concept to see how well the system would respond and was able to push over 150k items into the storage in one second. Sample code and instructions on getting the bridge working are included in the post.

1 comment voice your opinion now!
erlang keyvalue store benchmark extension bridge


SpinDrop.us:
Parsing a list of KeyValue pairs
February 27, 2007 @ 09:33:00

Dave Dash has posted a quick script to help with an integration of openID into your application - well, really just to read the response back easily.

I'm working on implementing openID for reviewsby.us and for use in symfony apps. One thing I was having trouble with was parsing key value pairs, which is one of the requirements to reading responses. It's a fairly easy task, but [PHP][] offers so many ways to do this.

He notes the spec for how the results are returned and shares his code (based around a regular expression) that goes through the response and separates things out into key/value pairs automatically.

0 comments voice your opinion now!
openid response split parse information keyvalue openid response split parse information keyvalue



Community Events











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


application code threedevsandamaybe hack install podcast introduction composer performance language package facebook database framework symfony2 hhvm unittest component security release

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