php-uv
php-uv copied to clipboard
OOP Interface.
robust OOP interface (close connections automatically when error happened ...etc)
Hello,
Is there any spec, rfc or any plan about the OOP API?
Thanks
Greg
@gplanchat hi, I don't have any plan yet. adding OOP interface is big cost to maintain wrapper extension as open source library usually change function signature and structure. pure PHP is able to wrap non OOP code. so i hope someone wrap this extension.
@chobie I couldn't give any useful help on implementing an OOP interface in an extension, but I wrote the beginning of a library using php-uv in PHP5.4 and inspired by node.js : https://github.com/gplanchat/php-io
Here is an usage example : https://gist.github.com/gplanchat/4991211