【FYI】 The Open Stack (in PHP) By Will Norris

The Open Stack (in PHP) By Will Norris

The Open Stack (in PHP)

PHPer?の私としては気になる記事。

OpenStack周りのPHPライブラリの整理がなんとかかんとか。
まず、OpenStackの切り口を変えてこういう図にする。

http://farm4.static.flickr.com/3462/3367793731_45903b3cab_o.png

で、真ん中の3つぐらいに手をつけるみたい。

PHP

I know that PHP isn’t as sexy as Python or Ruby, but it’s what we’re using.

OpenID

  • Development process

Last week, JanRain announced that they were restructuring the development process of the PHP library to make it more open to developers.

[Code] Fwd: library news and code at openid.net

  • Code

The code itself has moved from their internal darcs repository to github, they’ve added Luke Shepard of Facebook and myself as committers, and releases, bug tracking, etc will eventually be moved to the Google Code project.

GitHub - brianellin/php-openid: The PHP OpenID library

■ OAuth

Google Code Archive - Long-term storage for Google Code Project Hosting.
私はいつもこれ使ってる。
すごいシンプルなので、遊びで使うにはとても便利。

  • Mediamatic library

Google Code Archive - Long-term storage for Google Code Project Hosting.
あ、これも見たことある。

  • 議論の内容

Google グループ

  • new OAuth library

http://github.com/willnorris/oauth-php/tree/master

そういえば、apache shindigPHPコードの中にもOAuth関連のコードがあった。

http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/src/gadgets/oauth/
これは上のどちらかが使われているのか?

とりあえず、書き直してて80%ぐらいらしい。

I re-architected the library from scratch, and then used a combination of the two libraries for much of the actual implementations.
It’s probably about 80+ percent done, and should hopefully provide something both communities can work with.

■ Metadata Discovery

いくつかライブラリっぽいのはあるけど、汎用的ではないと言っている。

Yet amazingly, none of these help you at all if you’re wanting to manipulate or publish a metadata document.
They’re all half-baked, each written for a very specific use-case.
What we need is a full implementation of the discovery protocols.
And that, of course, is where it gets a little more complicated…

  • Joseph Smarrのコード

Google Code Archive - Long-term storage for Google Code Project Hosting.

php-openid/Auth/Yadis at master · brianellin/php-openid · GitHub

  • Mediamatic OAuth library

Google Code Archive - Long-term storage for Google Code Project Hosting.

この後は、DiscoveryについてのOpenIDとOAuthのちょっとした経緯が書いてある。
DiscoveryについてはYahoo!のEran Hammer-LahavのBlogであるhueniverseを見ればいろいろ書いている。
で、これまたphp-xrdとして書いてるみたい。

http://github.com/willnorris/php-xrd/tree/XRD

まぁ、ここおっかけるのは後でいいか。

■ Feedback and Help

オープンでやってますよと。