dubbo-php-framework
dubbo-php-framework copied to clipboard
Rewrite for apache/dubbo-php-framework
Changelog: Rewrite the entire code, have better readability, and expand (help more people join in) Introduce composer for management loading, which is beneficial for installation and use as a component of other frameworks. The original agent module was changed from c + redis to php to reduce component dependencies. Provider, consumer, agent and other configuration files are independent of each other, and the storage location is customized. Both provider and consumer support serialization of hessian2 data. Configuration file format changed from ini to yaml, reducing redundant fields and improving readability. Remove log4php log component, provide external log component implementation interface for custom implementation. The provider module introduces annotations to register existing code as a dubbo service without modification, without intrusion. The swoole_server configuration and callback function can be customized by the user, which is helpful for users to optimize the service according to the current application scenario. The TCP connection is maintained while consuming the same ip: port provider. The returned hessian serialized data is transformed from a complex object into an array after parsing. The data collected by monitor is more complete
重写了全部代码,拥有更好的可读性(有利于更多的人参与进来)。 引入composer进行管理加载,利于安装及作为其他框架的一个组件使用。 原有的agent模块由 c代码+redis 改为 纯php实现, 减少组件依赖,利于使用。 provider,consumer,agent等配置文件互相独立,存放位置自定义。 provider,consumer都支持了hessian2数据序列化。 配置文件格式由ini改为yaml,减少冗余字段,可读性更高。 去除log4php日志组件, 对外提供日志组件实现接口,用户可进行自定义实现。 provider模块引入注解可将现有代码基本无需修改即可注册为dubbo服务, 无侵入。 swoole_server配置及回调函数用户可自定义,利于使用者根据当前应用场景优化服务。 消费同ip:port提供者时,保持了TCP连接。 返回的hessian序列化数据解析后由复杂的对象转为了数组。 monitor 收集的数据更加完整。
wiki: https://github.com/crazyxman/dubbo-php-framework/wiki/%E4%B8%AD%E6%96%87
I think you should mail to the community to asked the users to review this
@lovepoem
Yes, the review request has been sent to the mailing list: https://lists.apache.org/thread.html/ed93f24abc88d3a4d64825b8ad488ea55b9d33fcd925d5edd790f9e5%40%3Cdev.dubbo.apache.org%3E