E
E
Eugene2020-07-28 12:32:37
Yii
Eugene, 2020-07-28 12:32:37

What are adequate solutions for working with sockets under Yii2?

What are adequate solutions for working with sockets under Yii2?

I just decided to finally switch from ajax to sockets

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2020-07-28
@sergiks

From a recent project:

  1. Yii sucks, the same Laravel is better
  2. for sockets, it's a miracle how good Swoole is. But it is all-consuming: the old code base is separate, everything about web sockets is separate. Because these are permanent processes, an event model. For normal work, you will have to abandon Yii's heritage. For example, instead of Active Record, rewrite all queries in the database in plain SQL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question