search

Next Section: 实现在线群聊功能 021123 plays

5 秒后自动播放下一节
  Watch Again

PHP Workerman Basics and Practice: Instant Messaging Chat System (ThinkPHP6)

Introduction >
ChapterCourseware
Chapter1Workerman builds Websocket communication service

The difference and connection between WebSocket and http protocol

06 minutes42 seconds

Disadvantages of HTTP polling

05 minutes23 seconds

Installation and use of workerman

10 minutes44 seconds

workerman builds websocket service

07 minutes59 seconds
Chapter2Detailed explanation of customer-customer service instant messaging process

thinkphp performs project initialization

09 minutes21 seconds

Initialize chat window

06 minutes32 seconds

Optimize client chat window

09 minutes57 seconds

Implement customer service automatic reply messages

07 minutes33 seconds

Customer-customer service instant messaging process code analysis

12 minutes54 seconds
Chapter3Implement group chat function and scheduled message push

The principle of Workerman group chat

14 minutes25 seconds

Implement online group chat function 01

10 minutes26 seconds

Implement online group chat function 02

12 minutes25 seconds

Workerman scheduled tasks

14 minutes23 seconds
Chapter4Build a backend customer reception management system

Secondly open the background login page

12 minutes23 seconds

Verification code generation and verification

06 minutes27 seconds

User login and home page jump

09 minutes21 seconds

Middleware session intercepts login

06 minutes14 seconds

Backend home page UI design and implementation

07 minutes46 seconds

Backend customer reception page design

06 minutes43 seconds
Chapter5Customer service assignment and backend customer list acquisition

Customers go online and customer service is randomly assigned

11 minutes00 seconds

Notify randomly assigned customer service personnel to prepare for reception

06 minutes42 seconds

Customer sends message to customer service

07 minutes05 seconds

Pull the list of customers to be responded to in the background

13 minutes33 seconds

Refresh the backend customer list

08 minutes13 seconds
Chapter6Customer service offline-customer transfer

Customer list highlighted

03 minutes01 seconds

Handle customer active disconnection

12 minutes49 seconds

Customer service offline and reassignment of customers

05 minutes31 seconds
Chapter7Improve customer service and customer private chat

Get customer information in the background

15 minutes42 seconds

Dynamically switch chat message boxes for different users

06 minutes45 seconds

Backstage customer service message reply

13 minutes28 seconds

Chat box optimization ideas and summary

05 minutes43 seconds
Chapter8Chat message storage and optimization

Analysis of storage solutions for IM chat records

06 minutes34 seconds

Implement caching of visitor chat records

10 minutes54 seconds

Encapsulate curl request function

11 minutes38 seconds

Save chat content to data table

14 minutes30 seconds

Summary and expansion of instant messaging courses

04 minutes37 seconds
  • CancelreplySending
  • Cancelpost a noteSending