Tag:Client

  • PHP common class library tool component 2

    Time:2021-4-23

    symfony/http-foundation github https://github.com/symfony/http-foundation reference resources https://symfony.com/doc/curre… nesbot/carbon github https://github.com/briannesbitt/Carbon An API extension for datetime that supports 281 different languages predis/predis github https://github.com/predis/predis PHP redis client supports the operation of redis list, set, hash and other data structures. Phpredis extension is recommended for high performance scenarios https://github.com/phpredis/p… guzzlehttp/guzzle github https://github.com/guzzle/guzzle PHP HTTP client. Supports synchronous and […]

  • Ajax foundation — learning record (3)

    Time:2021-4-23

    Ajax in jquery $.ajax() Overview of $. Ajax () method Function: send Ajax request. $.ajax({ type: ‘get’, url: ‘http://www.example.com’, data: { name: ‘zhangsan’, age: ’20’ }, //data: ‘name=zhangsan&age=20’ contentType: ‘application/x-www-form-urlencoded’, //contentType: ‘application/json’ beforeSend: function () { return false }, success: function (response) {}, error: function (xhr) {} }); BeforeSend method description $.ajax({ //Request method type: […]

  • JWT identity authentication (with explanation of source code)

    Time:2021-4-23

    [TOC] JWT (JSON web token) verification (with explanation of source code) One day, it’s lunch break The sergeant passed by the seat of the fat Sir and was surprised. Today, the fat Sir didn’t snore. Instead, he was staring at a book with his head down The commander looked closer, fat Sir was reading history […]

  • Building an identity server from scratch — session management and logout

    Time:2021-4-23

    In the last article, we introduced how a single page application uses identityserver to complete authentication. When talking about silent login and session monitoring, we all mentioned the concept of session. Session refers to the interaction process between the user and the system. On the other hand, the interaction state between the user and the […]

  • On the design of the internal core architecture of nginx server!

    Time:2021-4-22

    1、 Preface Nginx — ngine x is a free, free, open source, high-performance HTTP server and reverse proxy server; it is also an IMAP, POP3, SMTP proxy server; nginx is famous for its high performance, stability, rich functions, simple configuration and low resource consumption. In other words, nginx itself can host the website (similar to […]

  • Tidb source code reading (1) tidb entrance

    Time:2021-4-22

    I wrote this just because I wanted to master the source code of tidb. My colleagues gave me some reading ideas, which was very good. In some places, if you have problems with your understanding, please criticize and educate. Your understanding of go language is limited. If you mislead the readers, please forgive me Tidb […]

  • Python mqtt client comparison

    Time:2021-4-21

    With the rise of artificial intelligence and big data, python has become one of the most popular computer programming languages with its elegant language style, rich libraries and gentle entry curve. It has begun to penetrate into various fields such as the Internet of things. Python has many excellent mqtt client libraries, with which we […]

  • Tool usage: 1 . Configuration of SSH client and server in Windows system

    Time:2021-4-21

    SSH principle Refer to SSH principle Windows official configuration link Windows official configuration link Configuration process 1. Start SSH service according to the official configuration link on the server Note that there are two errors in the official configuration link Opensshutils download, according to the official way can’t download Since the tool in 1 cannot […]

  • Introduction to Kong and Konga

    Time:2021-4-21

    the front Recently, I have been learning and understandingkongLet’s share with you todaykongandkongabar introduce kongIt’s based on nginx_ The gateway API written by Lua module is a gateway for forwarding API communication between client and service, which can be extended by plug-ins. In a word:Kong is a dynamic enhanced version of nginx Look at some […]

  • Learn along with the source code: hand in hand to teach you how to create web IM chat with websocket

    Time:2021-4-21

    The author of this article, taro, originally titled “Introduction to taro spring boot websocket”, has been revised and changed this time. 1、 Introduction Websocket is now widely used in the application of instant messaging technology on the web. It is not only used in traditional PC web pages, but also used in HTML5 based hybrid […]

  • How to use JWT, titles, kicks, and force users to exit?

    Time:2021-4-21

    As the most popular cross domain authentication scheme, JSON web token (JWT) is familiar to everyone. Many systems are using JWT instead of session authentication. What’s the difference between the two?In short, JWT saves the authenticated data in the client and session in the server.After using JWT instead of session authentication, the server does not […]

  • Be sure to check whether your domain name is HTTPS before doing something wrong, otherwise

    Time:2021-4-21

    1、 HTTP protocol Before we talk about the HTTPS protocol, let’s review the concept of HTTP protocol. 1.1 introduction to HTTP protocol HTTP is a text-based transport protocol, which is located in the application layer of OSI network model. HTTP protocol communicates through the request response of client and server. At present, the protocol is […]