[thrift] PHP generator: extension support
authordweatherford <dev-null@apache.org>
Wed, 31 Oct 2007 06:03:54 +0000 (06:03 +0000)
committerdweatherford <dev-null@apache.org>
Wed, 31 Oct 2007 06:03:54 +0000 (06:03 +0000)
commit5afc0aae324e8ad31ff2122ae33d6963ebf75c1d
tree104285205de15887aefc0391be41cb77ad949679
parent51c03936206fbde7b6b980c8d745f758b464c9bc
[thrift] PHP generator: extension support

Summary: Adds php code generation to take advantage of the php
  'thrift_protocol' extension (currently for deserialization only)

  Requires you to swap your protocol for a TBinaryProtocolAccelerated
  (which just inherits TBinaryProtocol without actually adding any
  new functionality) and that you use a TFramedTransport or wrap your
  transport in a TBufferedTransport.

  TBinaryProtocolAccelerated is currently only in tfb/www/lib (or will
  be momentarily).

Reviewed By: mcslee
Test Plan: synapse_feed uses this in my sandbox, works fine
Revert: svn

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665313 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_php_generator.cc
compiler/cpp/src/parse/t_base_type.h