Welcome Guest, Not a member yet? Register   Sign In
Can ci4 support swoole?
#1

Laravel  and yii2  and   thinkphp  Both support swoole extensions.

Can ci4 support swoole?

Is there any possibility?
Reply
#2

That could be something interesting down the road, probably as an addin library/adapter.
Interesting that you would provide a link for Laravel, but not for thinkphp or swoole, both of which are new to me Undecided
Reply
#3

(This post was last modified: 09-20-2018, 01:47 AM by miaojun.)

swoole git
https://github.com/swoole/swoole-src

Swoole is an event-driven asynchronous & concurrent networking communication framework with high performance written only in C for PHP.


https://github.com/swooletw/laravel-swoole
https://github.com/LinkedDestiny/swoole-yaf
https://github.com/liufee/yii2-swoole
https://github.com/LinkedDestiny/swoole-thinkphp

so
Think about it?
Reply
#4

That's definitely an interesting idea. I don't know if you noticed, though, but all of those packages you linked to seem to have been developed by someone other than the framework authors.

So there's always room for you to follow a similar route and create a package that interfaces between the two, like those other users have.
Reply
#5

there is one more asynchronous library purely written in php.

ReactPHP is a low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities, such as: Streams abstraction, async DNS resolver, network client/server, HTTP client/server and interaction with processes. Third-party libraries can use these components to create async network clients/servers and more.

https://reactphp.org/
Reply
#6

See https://forum.codeigniter.com/showthread.php?tid=83970
Reply




Theme © iAndrew 2016 - Forum software by © MyBB