AJAX and JSON (java review day19)

I. AJAX 1. Concepts: Asynchronous JavaScript and XML a, Asynchronous and Synchronous (based on communication between client and server) 1. Clients must wait for a response from the server and cannot do anything else while waiting 2, the client does not need to wait for a response from the server, and ...

Posted by rscott7706 on Fri, 12 Jun 2020 18:06:27 -0700

Node.js The use of Express framework

Node.js The use of Express framework Node.js The use of Express framework 1 Introduction to express framework 1.1 introduction and features of express framework 1.2 preliminary use of Express 2 Express framework Middleware 2.1 middleware introduction two point two app.use Usage of Middleware 2.3 ...

Posted by ThatGuyBob on Fri, 12 Jun 2020 00:59:16 -0700

es6-ES6 Concepts & New Grammar & Extension of Built-in Objects

ES6 Syntax target Ability to say the characteristics of using let keywords to declare variables Ability to extract values from arrays using deconstruction assignments Ability to say what an arrow function has Ability to receive remaining function parameters using remaining parameters Ability to spl ...

Posted by magicmoose on Thu, 11 Jun 2020 19:24:50 -0700

JS Design Mode 5 - Creative Design Mode: Prototype Mode, Policy Mode, Agent Mode

Article Directory Prototype mode Policy Mode Example Different salaries for employees with different performance mtween slow motion animation proxy pattern Protection Agent and Virtual Agent Example: Virtual agent for lazy picture loading Meaning of agency: principle of single responsibility Cac ...

Posted by drew010 on Thu, 11 Jun 2020 19:20:29 -0700

this/call/apply/bind (ten thousand words)

preface Hello, everyone. I'm zha'er ๐Ÿ‘ฆ Every day ๐Ÿ’ช , you can get a promotion and a raise ๐Ÿ’ฐ When general manager becomes CEO, marry Bai Fumei and go to the top of life ๐Ÿ—ป I'm a little excited ๐Ÿ˜Ž. This is my 13th issue A kind of , hope to be able to explain every knowledge point clearly, (of course, if you don't know which one, you can discuss it i ...

Posted by robotta1530 on Wed, 10 Jun 2020 23:31:30 -0700

Summary of usage of meta tags in HTML5

< meta > tags in front-end interfaces of major websites on June 11, 2020 The meet object represents an element of HTML and provides meta information of HTML elements, such as description, keyword, refresh rate. Object properties: Content sets or returns the content attribute of an element h ...

Posted by nova912 on Wed, 10 Jun 2020 23:28:36 -0700

What does jquery do--Lebyte Front End

JQuery primary coverage Jquery Object JQuery is a set of multi-browser compatible javascript script libraries. The core idea is to write less and do more. Using jQuery will greatly improve the efficiency of writing javascript code, help developers save a lot of work, and make the code more elegant and robust, "like a tiger with wings.&qu ...

Posted by Bennettman on Wed, 10 Jun 2020 10:13:04 -0700

JS design mode (to be sorted out)

Interview and knocking, advanced stepping stone, design with mode, code more reasonable Explanation and application of Javascript Design Pattern System (exercise code) Chapter 2 object oriented 2-1 build development environment 2-2 what is object-oriented 2-3 object oriented inheritance 2-4 object oriented encapsulation 2-5 obje ...

Posted by dandaman2007 on Tue, 09 Jun 2020 23:30:28 -0700

How does the diff algorithm of Vue work? This article teaches you

preface This paper aims at the main logic and key details of diff algorithm in vue. Starting from a simple demo: p tag renders an array of items <div id="demo"> <p v-for="item in items" :key="item">{{ item }}</p> </div> <script src="../vue-source/dist/vue.js"></script> <script> const app = new ...

Posted by feri_soft on Mon, 08 Jun 2020 19:53:08 -0700

Performance optimization brochure - React search optimization: anti shake, cache, LRU

Recently, we need to do reconstruction and optimization of react project. Because we haven't touched react for a long time, today we simply optimize a keyword search based demo, which is recorded below. It is optimized from three aspects: Reduce the frequency of triggering events - debounce keyword typing Reduce HTTP requests - cache block dup ...

Posted by sarahk on Mon, 08 Jun 2020 18:57:30 -0700