protobuf-php / protobuf-plugin

PHP Code generator plugin from Google's Protocol Buffers
MIT License
56 stars 27 forks source link

Implement support for grpc services #1

Open FabioBatSilva opened 8 years ago

FabioBatSilva commented 8 years ago

http://www.grpc.io/

rcrowe commented 8 years ago

I would love to see this implemented. I can see this issue was created a long time, so I'm guessing this hasn't been done?

Any pointers for anyone else wishing to contribute? I need to move some legacy code over to using gRPC and this has been the best library I've found.

FabioBatSilva commented 8 years ago

Hi @rcrowe, No, this is not implemented yet.

I started looking into grpc/grpc. Not sure what is the state now but at the time the code was not very well decoupled from the PB implementation they are using.

The first thing to do would be to make sure that grpc/grpc allows for other implementations and then implement the grpc service generation as part of protobuf-php/protobuf-plugin. maybe another lib that provides a adapter layer between protobuf-php/protobuf and grpc/grpc