News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

Alvaro Videla's Blog:
Reply to "Scala is Easier than PHP"
November 22, 2010 @ 08:29:12

Alvaro Videla has written up a response to Wade Arnold's Scala's easier than PHP post and some of the points he doesn't agree with him on.

Before going on with the points, let me state something: please avoid flame wars, all the Scala vs. PHP stuff, fanboyism and what not. This post is not about that. Regarding Wade Arnold I have to say that I fully respect him. While I don't know him personally, I know him for his work on AMFPHP, since it was a platform I used to work with before.

Alvaro talks about functional programming and some of the main points he had made about Erlang in a talk he had given - code reload, being ready for multi-core and no shared state between scripts. He talks about how these (really) apply to PHP.

0 comments voice your opinion now!
scala opinion easier language shared state multicore erlang code reload



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


Alvaro Videla's Blog:
Erlang as Session Storage for PHP
January 19, 2010 @ 15:52:07

Alvaro Videla has a different sort of suggestion for storing the sessions for your application - use Erlang.

In the last few days I been playing with the PHP extension mypeb which allows us to connect to Erlang from PHP. As a simple example to show what we can do with this extension I will create a PHP class that will be used as the session_save_hanlder for PHP. [...] I will like to try something different by using this class to interact with an Erlang node that will act as the in memory storage for our sessions using ETS tables.

He uses the session_set_save_handler PHP function to point the application to a new location (away from the default filesystem handling) and to a custom ErlangSessionHandler object's "open" method. Also included are "close", "read" and "write" methods that let PHP talk directly to the Erlang instance. Code snippets are included.

0 comments voice your opinion now!
erlang session storage tutorial


Jan Lehnardt's Blog:
CouchDb PHP Library for JSON API
September 10, 2007 @ 11:10:00

Jan Lehnardt points out an update that's been made to the CouchDb PHP library for the JSON API. As posted to the mailing list for the project:

Dear Couch Potatoes (or something), I updated the CouchDb PHP Library and the Demo application BugShrink (our bug-tracker) to the new JSON API.

You can try out this new update via the project's repository or just check out the CouchDb project homepage for more information.

0 comments voice your opinion now!
couchdb project update library json api database erlang couchdb project update library json api database erlang



Community Events





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


symfony2 test conference unittest interview community application security podcast release introduction language phpunit custom series api extension opinion framework development

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