You could generate the php glue code via the protocol buffer command line
tool that's part of the Drslump protobuf package, which I could pull into
my package.

The command I use is in the readme.

Mark

On Wednesday, November 28, 2012, Sean Cribbs wrote:

> Mark,
>
> That's awesome! If there's a way we can make the riak_pb repo generate the
> PHP code automatically (and distributable), please let me know.
>
>
> On Tue, Nov 27, 2012 at 11:04 PM, Mark Steele 
> <[email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> > wrote:
>
>> Hi folks,
>>
>> I've finally gotten around to writing up a PB client for PHP.
>>
>> The URL: https://github.com/marksteele/riak-php
>> Background:
>> http://www.control-alt-del.org/2011/09/06/building-a-better-riak-client-for-php/
>>
>> It's a full implementation supporting all the features of 1.2.1 that are
>> exposed via the PB API.
>>
>> It's usage is similar to the official client (chaining of operations and
>> so on). Operations should be pretty self explanatory and there's PHPDoc
>> formatted comments for those that want to generate API documentation.
>>
>> I haven't written unit tests yet, because I'm using the TiP (testing in
>> production) methodology. See 
>> here<http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-32-02-metablogapi/7317.image_5F00_0F65063B.png>.
>> Also a fan of the TTITW method (the things I tested worked).
>>
>> As mentioned in the README, it's faster than the current Basho PHP
>> implementation in my testing, but YMMV.
>>
>> Works with PHP 5.3 and up.
>>
>> Cheers,
>>
>> Mark Steele
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected] <javascript:_e({}, 'cvml',
>> '[email protected]');>
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>
>
> --
> Sean Cribbs <[email protected] <javascript:_e({}, 'cvml', '[email protected]');>
> >
> Software Engineer
> Basho Technologies, Inc.
> http://basho.com/
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to