facebook/hiphop-php — pull request #1049 by huzhiguang (2013-09-12 09:25:29+00:00)
Title: Ice extension

1.ice extension files:
implements cpp:
hphp/runtime/ext/ext_ice.*

support_php_file:
hphp/php_include/ice/Ice.php

idl.json:
hphp/system/idl/ice.json

include and so file include:
install Ice files to CMAKE_PRIFIX_PATH
CMake/HPHPFindLibs.cmake:
+ include_directories(/export/dev_hhvm/usr/include/Ice)
+
+ target_link_libraries(${target} /export/dev_hhvm/usr/lib/Ice/libIce.so)
+ target_link_libraries(${target} /export/dev_hhvm/usr/lib/Ice/libIceUtil.so)

I use absolute paths, do you have any time can be changed to a relative,Thanks.

install ice way:
https://github.com/huzhiguang/hiphop_extension/tree/ice

ice test script:
test client:
hphp/test/ice/client.php
test server:
hphp/test/ice/server/compile/server2
test server souce:
hphp/test/ice/server/source

Support functions：
Types of support:
The basic types supported:
String,Int,Long,Double
Class does not support inheritance
Exception class does not support inheritance
Support Sequence

Connection is a persistent connection object every thread.