Category:Program

  • Spring cloud microservice

    Time:2021-1-21

    Spring cloud is an ordered collection of frameworks. Microservices are service units that can be deployed independently, extended horizontally, accessed independently (or have independent databases). Spring cloud is the housekeeper of these micro services. After adopting the architecture of micro services, there will be a large number of projects. As the housekeeper, spring cloud needs […]

  • Quick start of react – 08 Redux state management react Redux

    Time:2021-1-21

    catalog 01 Preface 02 construction of development environment 03 scaffolding creating projects everything is a component 04 basic features JSX, props, state, lifecycle, event, style 05 component rendering control 06 container components, display components 07 front end route react router 08 state management react Redux 09 data request fetch 10 property type checking prop types […]

  • Common optimization and upgrade contents of ES6

    Time:2021-1-21

    1、 Let and const commands Let has its own block level scope, and fixed the variable promotion problem caused by VAR declaration. Using const to declare constants is immutable. 2、 Common upgrade optimization for string type Template string (‘) Add the include () method to the prototype of string to replace the traditional index of, […]

  • Look at the animation algorithm: sort – select sort

    Time:2021-1-21

    brief introduction Selection sorting is to select the largest or smallest element from the array, and then interact with the first or last element of the team. Because the first thing to do is a selection process, it is called selection sorting. Examples of selection sorting If we have an array: 29,10,14,37,20,25,44,15, how can we […]

  • Implementation of JavaScript asynchronous method Promise.all

    Time:2021-1-21

    The task of this time If….. JavaScriptThe V8 engine had a major failure,Promise.allThe method becameundefinedIn order to saveJavaScriptThe world needs to develop a module to solve this problem. Users need to introduce our developed module at the entrance of the code to survive this disaster, but they require the official to modify this version in […]

  • Basic knowledge of regular expressions (PHP)

    Time:2021-1-21

    The knowledge points here are basically the reading notes of the regular guide, but the sample code of each knowledge point is implemented in PHP. 1. Character group Character class is a group of characters. In regular expressions, it means “all kinds of characters that may appear in the same position”.Writing: [AB], [314], [#.?] Basic […]

  • Swoft | source code interpretation Series 2: what did swoft do in the startup stage?

    Time:2021-1-21

    date: 2018-8-01 14:22:17Title: swoft | source code interpretation Series 2: what did swoft do in the startup stage?Description: read the source code of the sowft framework to learn about the start-up phase of the sowft When you first contact swift, you will feelIt’s a little stressfulTo put it more intuitivelyhardThe development team is not in […]

  • Api: users love tiktok.

    Time:2021-1-21

    Tiktok tiktok, tiktok, tiktok, Api, Api, jitter, voice, bullet screen comments, jitter, jitter, and jitter. Tiktok tiktok tiktok data, jitter data acquisition, live broadcast of shaking sound Titodata: professional short video data acquisition and processing platform. For more information, please contact:TiToData Massive data collection Collect 500 million pieces of data for customers every day Tiktok […]

  • Vue + element UI using Vue cropper to upload pictures

    Time:2021-1-21

    1. Install and import dependency package npm i vue-cropper Introduce dependency package in component vuecropper import {VueCropper} from ‘vue-cropper’ 2. Add vueCropper.vue assembly <template> <div> <div class=”cropper-content”> <! — clipping box — > <div class=”cropper”> <vueCropper ref=”cropper” :img=”option.img” :outputSize=”option.size” :outputType=”option.outputType” :info=”true” :full=”option.full” :canMove=”option.canMove” :canMoveBox=”option.canMoveBox” :original=”option.original” :autoCrop=”option.autoCrop” :autoCropWidth=”option.autoCropWidth” :autoCropHeight=”option.autoCropHeight” :fixedBox=”option.fixedBox” @realTime=”realTime” :fixed=”option.fixed” :fixedNumber=”fixedNumber”></vueCropper> </div> <! — […]

  • The first article is about prototype chain and inheritance

    Time:2021-1-21

    This paper describes the concept of prototype chain in ECMAScript, and takes prototype chain as the main method of inheritance. Its basic idea is to use prototype to let one reference type inherit the properties and methods of another reference type. There is also a relationship between the constructor and the prototype and the instance: […]

  • CSS – grail layout, double wings

    Time:2021-1-21

    In the three column layout, the classic should be the Holy Grail layout and the double flying wing layout. First, get familiar with the characteristics of the Holy Grail layout and the double wing layout Width fixed on both sides and adaptive in the middle Main content first rendering Grail layout <div class=”container”> <div class=”main”>main</div> […]

  • Webpack 4.0 breaks down (1) HTML

    Time:2021-1-21

    webpackAs the most popular front-end construction tool, it is the front-end automation tool chainThe most important partThe use threshold is high. This series is the author’s own learning records, more basic, hope to passProblem + SolutionThe specific needs encountered in the front-end construction are the starting point for learningwebpackThe corresponding treatment method in the tool. […]