Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

适配 octobercms/october #20

Open
Johnzero opened this issue Jun 22, 2020 · 5 comments
Open

适配 octobercms/october #20

Johnzero opened this issue Jun 22, 2020 · 5 comments

Comments

@Johnzero
Copy link

Octobercms : https://github.com/octobercms/october
是否可以帮忙解决下兼容问题?

@huang-yi
Copy link
Owner

这个恐怕我帮不上忙。兼容处理需要深入了解内部的代码结构,这种CMS系统太大了。只能哪位熟悉octobercms的朋友来帮忙了😄

@huang-yi huang-yi changed the title is shadowfax && Octobercms compatiable? 适配 octobercms/october Jun 24, 2020
@hhniao
Copy link

hhniao commented Jul 1, 2020

看到这个issue, 应该是可以理解为, 该库某些功能还未完善, 可能某些特殊场景, 会导致不可预知的问题.
这是否应该不符合您设计设个库的初衷?

@huang-yi
Copy link
Owner

huang-yi commented Jul 1, 2020

@hhniao 我不知道是你对编程的理解有问题,还是我对你的话术理解有问题。

谁能保证自己写的程序可以解决所有问题呢?这个issue是一个关于兼容其它Laravel包的问题,github上的Laravel包千千万,每个包都有自己的编程风格,如果不了解包的内部又谈何兼容呢?我帮不上忙仅是因为我不了解这个包,所以才需要更熟悉这个包的朋友帮忙。

@hhniao
Copy link

hhniao commented Jul 1, 2020

我想, 您写这个库的本意是, 将laravel的入口, 从 index.php 转为 swoole 监听的端口 xxxx, 以利用swoole的协程, 并发等.
那么也就是应该所有 laravel 开发的, 通过index.php入口能够正常运行的程序, 都应该能 通过 swoole 端口 xxxx 运行.

@huang-yi
Copy link
Owner

huang-yi commented Jul 1, 2020

@hhniao 能运行是没问题的,但要求所有Laravel拓展都“正常运行”只能是一种理想状态,有些拓展是需要额外做兼容性处理的,毕竟Swoole和PHP-FPM的运行模式相差太远。至少Shadowfax是做不到的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants