Monthly Archives: April 2011

Writing a PHP Script that Takes One Protobuf and Returns Another Protobuf

After we’ve generated the PHP classes from the Protocol Buffers, we can now use those classes in a PHP script. The PHP script will take a StoryRequest Protobuf from the iOS client, and respond with a StoryResponse Protobuf. We’ll call … Continue reading

Posted in Protobuf | Leave a comment

Generating PHP Classes from Protocol Buffer

Just like we need to compile our Protocol Buffers using the Protocol Buffer Compiler (protoc) into Objective-C classes before we can use it in an iOS project, we also need to compile the Protocol Buffer into PHP classes before we … Continue reading

Posted in Protobuf | 1 Comment