Tag:Server side

  • An article takes you to understand Axios network interaction – Vue


    Author | jeskson Source: dada front end Tavern 1 What is Axios?Understand and use it. What do you know about the two ways Axios sends requests, and how to solve the cross domain problems involving Axios. For Axios network interaction, while using Axios, you should first understand what it is and how to use it. […]

  • Online JSON to PHP array tool


    Online JSON to PHP array tool Online JSON to PHP array tool This tool can convert JSON objects into PHP array. It supports versions above PHP 5.3 and PHP 5.4, and supports copying and downloading PHP code JSON: (JavaScript object notation) is a lightweight data exchange format. It is based on a subset of ECMAScript […]

  • One text serial HTTP, TCP, IP, Ethernet


    Recently, the Department organized a front-end performance optimization exchange meeting. We put forward many optimization points in the process from entering the page URL to the final page display content. But at the same time, I found that many students’ knowledge of HTTP protocol layer can not be connected in series, so I sorted out […]

  • The instant messaging function of chat room is realized by websocket based on swoole


    preface Some time ago, if you haven’t just built a local development environment, you have to do something. After reading the development documents of swoole, let’s try websocket to get instant messaging first. Then arrange a chat room and start What is swoole Swoole is a high-performance network communication engine of PHP. It is written […]

  • Install the PHP extension for swoole


    Installation preparation Before installing swoole, you must ensure that the following software has been installed on the system reference resources https://github.com/LinkedDestiny Php-5.3.10 // or later Gcc-4.4 // or later make autoconf Install the PHP extension for swoole wget https://github.com/swoole/swoole-src/archive/swoole-1.8.2-stable.tar.gz tar -zxvf swoole-1.8.2-stable cd swoole-src-swoole-1.8.2-stable/ /usr/local/php/bin/phpize ./configure make && make install Configure php.ini After successful compilation […]

  • Quick start to web side IM communication technology: short polling, long polling, SSE, websocket


    This article comes from the “fuzzy” sharing, the original title “real-time message push sorting”, with optimization and changes. 1. Write in front For developers familiar with web instant messaging technology, we review the underlying communication technology of Web im. From short polling and long polling to SSE and websocket later, the use threshold is getting […]

  • Single sign on (SSO)


    Login is a function often used in every website. On the page, we enter the account password and click enter to log in, but do you know the login principle behind it? Traditional login method The most original login method is that each website has its own login system and independent account. Users need to […]

  • Centos8 uses Chrony as the NTP server


    Instead of directly using NTP, centos8 uses Chrony as time synchronization. Chrony can broadcast time on the server side and synchronize time on the client sideCentos8 uses Chrony as the NTP server centos8 uses Chrony as the NTP server installsudo dnf install chrony -ysudo yum install chrony -yCentos8 uses firewalld service to manage firewalls. Release […]

  • How to clear the chat record of a session on rongyun Android


    How to clear the chat record of a session on rongyun Android Implementation instructions If “cloud storage of historical messages” is not enabled, only local data can be deleted. Remote messages can be deleted only after the “cloud storage function of historical messages” is enabled on the rongyun console. Implementation steps 1. Call the cleanhistorymessages […]

  • Using eventsource to push page messages


    I was thinking about how to use our automatic deployment tool essay some time agohttps://github.com/SohuTech/e…_ Package a layer of Web shell, so that you don’t have to hit many commands every time you distribute the version. You only need to click a few buttons, which can also reduce the mental burden of distributing the version. […]

  • IPC process communication mode in Android Part 5


    This article is a reprint of the article. You can get the source code by reading the original text. There is a link to the original text at the end of the article PS: This article is about inter process communication using socket, and the demo is written in kotlin language 1. Using socket Socket […]

  • Ajax — Ajax


    1. What is Ajax 1.1 problems in traditional websites When the network speed is slow, the page loading time is long, and users can only wait After the form is submitted, if one item is unqualified, you need to fill in all the form contents again Page Jump and reload the page, resulting in waste […]