Web front end Foundation (15):jQuery Foundation

1. jQuery selector JQuery selector is a powerful embodiment of jQuery. It provides a set of methods to make it more convenient for us to get the elements in the page. 1.1 basic selector Examples are as follows:     <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </h ...

Posted by rsnell on Mon, 18 Nov 2019 16:43:32 +0100

echarts dashboard tutorial

1: example of the instrument panel in three minutes after echarts Import related documents <!-- Introduce echarts.js --> <script src="js/echarts.min.js"></script> <script src="js/jquery-1.11.3.js"></script> The original default display is as follows Picture.png Three minu ...

Posted by nainil on Fri, 15 Nov 2019 20:28:38 +0100

How to configure Nginx web page optimization in Linux system

Change the number of Nginx running processes In the high concurrency scenario, more Nginx processes need to be started to ensure fast response, so as to process users' requests and avoid blocking You can use the ps aux command to view the number of Nginx running processes Configuration method for changing the number of processes Modify the ...

Posted by saurabhdutta on Fri, 15 Nov 2019 18:54:17 +0100

PHP+MySQL user registration send email activation account instance

PHP+MySQL users register to send email to activate the account instance. The style of layui is simple and beautiful. 1. Register the email activation account and check whether the email has been registered. 2. Check whether the mailbox exists. Judge whether it is activated when the mailbox exists. If not, change the activation code and regist ...

Posted by iii on Fri, 15 Nov 2019 18:32:39 +0100

Vue responsive Principle & how to realize MVVM bidirectional binding

Preface As we all know, the response of Vue.js is to use the data hijacking + publish subscribe mode. However, it means that as a Xiaobai, he always feels that he can answer it, and finally stops talking and ends up failing. As one of the classic interview questions, in most cases, he can only answer the question of "Object.defineProperty. ...

Posted by samba_bal on Fri, 15 Nov 2019 10:10:21 +0100

Common rules checks in front-end Vue

premise In the development of vue, it is unavoidable to encounter a variety of form checks, here sorted out some checking methods used on the network and in their usual high frequencies.If you are wrong, you are welcome to add updates later. 1. Is it a legal IP address export function validateIP(rule, value,callback) { if(value==''||value==un ...

Posted by Flying Sagittarius on Thu, 14 Nov 2019 06:18:57 +0100

34 tips that React development must know [nearly 1W words]

Preface React is one of the three front-end frameworks and a skill in interview and development.This paper summarizes some skills and techniques of React development from the actual development, which are suitable for students who are new to React or have some project experience.Long text in thousands of words, recommended collection. Sequent ...

Posted by satya61229 on Wed, 13 Nov 2019 03:12:26 +0100

Compression and caching for Apache web page optimization

Overview of Apache Web Page Optimization In the enterprise, when Apache is deployed, only the default configuration parameters are used.This causes a lot of problems for the website, in other words, the default configuration is for a lower level than beforeServer Configuration, Previous Configuration No longer Applies to Today's Internet AgeTo ...

Posted by jaiswal on Tue, 12 Nov 2019 01:10:50 +0100

Read Hooks Numbers - swr Source

1 Introduction Pickups are an important part of the front-end business and have evolved several times: fetch Compatibility with $.post is good enough to replace all kinds of decimal encapsulations. I've been using it for a long time, and it's good to find a more scalable, ssr-enabled isomorphic number scheme, such as isomorphic-fetch,axios. ...

Posted by Danaldinho on Mon, 11 Nov 2019 05:01:20 +0100

D3.js string generator (V3 version)

Chord generator   The chord generator draws strings according to two arcs. There are five accessors, namely source(), target(), radius(), startAngle(), endAngle(), which return the same variables as the function name by default. If the default accessor is used, an arc is drawn, and its data composition should be as follows:   1   { 2 ...

Posted by forgun on Sun, 10 Nov 2019 18:07:07 +0100