Run thrift --gen php:server time.thrift
mage wrote:
> my time.thrift file content:
> -------------------------
> namespace php time
> typedef i64 Timestamp
> service TimeServer {
> Timestamp time()
> }
> ----------------------------
>
> when i execute : thrift --gen php time.thrift
> the ./gen-php/TimeServer.php file doesn't contain Tprocesser
>
>
> i know from file thrift20070401.pdf white paper that:
> "
> 7. Implementation Details
> 7.1 Target Languages
> Thrift currently supports five target languages: C++, Java, Python,
> Ruby, and PHP. At Facebook, we have deployed servers predominantly
> in C++, Java, and Python. Thrift services implemented in
> PHP have also been embedded into the Apache web server, providing
> transparent backend access to many of our frontend constructs
> using a THttpClient implementation of the TTransport interface.
> "
>
> how PHP is embedded into the Apache web server?
>
> Thanks
>
> mage
>
>
>
>
>
> mage
> 2009-06-18