ecotoneframework / ecotone-dev

Ecotone Framework Development - This is Monorepo which contains all official public modules
https://docs.ecotone.tech
Other
37 stars 16 forks source link

Proxy generation for ecotone #343

Closed jlabedo closed 3 months ago

jlabedo commented 4 months ago

Description

Custom gateway proxy generation with laminas/laminas-code instead of friendsofphp/proxy-manager-lts. Even with some low level string manipulation, this abstraction seems less complex (to me) than the RemoteAdadpter from friendsofphp/proxy-manager-lts. Also, no more custom Autoloader is required, making it less error prone.

A small performance boost is observed in benchmarks (I don't know why, maybe because of Autoloader)

Drop friendsofphp/proxy-manager-lts

Type of change

dgafka commented 4 months ago

Separate autoloader stuff have proven multiple times to be problematic, if there is possibility to drop it, let's go for it :)

I will give one more look later this day :)

dgafka commented 4 months ago

At some point we may also introduce support for inbuilt Lazy Objects, if it will be merged into core :)

jlabedo commented 4 months ago

There is a test failing

Because I broke CI on main 😉

dgafka commented 3 months ago

Do we still need to install this, when this will be merged?

jlabedo commented 3 months ago

Do we still need to install this, when this will be merged?

Yes we have to keep it. I will check again how to remove that deps.