JavaScript Data Structure and Algorithmic Binary Heap

Binary heap data structure is a special binary tree. It can find the maximum and minimum efficiently and quickly. It is often used in priority queue and well-known heap sorting algorithm. Two fork pile Binary heap has the following two characteristics: It is a complete binary tree. Each layer of the number has left and right sub-nodes (except ...

Posted on Sun, 06 Oct 2019 02:00:49 -0700 by Mad_Mike

React Hook parent component retrieves data/functions of child components

We know that in react, props are often used to transfer child component data to parent component, but the function of parent component calling child component is not often used. Documentation says ref is not the best choice, but thinking of laziness and not learning redux, I found many tutorials on the Internet. Either the hook talks too little ...

Posted on Sat, 05 Oct 2019 23:46:06 -0700 by tjodolv

Note: Nginx proxy axios requests and precautions

Recently, we wrote a small demo. Because of the cross-domain limitation of the interface when we use the online data of a large factory, we use Nginx agent to solve these problems. 1. nginx.conf configuration information Because of the large amount of configuration information of nginx.conf, this article only focuses on following axios and stat ...

Posted on Sat, 05 Oct 2019 20:19:13 -0700 by smileyriley21

Talking about Performance and Data Separation

Inadvertently saw an article on the separation of performance and data, a detailed look, feeling and their understanding is not the same, there is this exploration. 1. What is performance and data separation?Statement 1: Separation of performance and data is MVC, which separates data from business logic and distributes it by the controller. Obv ...

Posted on Sat, 05 Oct 2019 19:05:43 -0700 by bdemo2

Shiro_Project_Purchase Order

Article directory Model Analysis of Purchasing Order 2 Code Implementation 2.1 Party (main table) 2.2 Multidimensional (from table) 2.3 Purchasebill date processing 3 Order Query List 3.1 purchasebill.jsp 3.2 purchasebill.js 3.3 Addition of Query Conditions 4 Add Modification Pop-up Dialog Box 4 ...

Posted on Sat, 05 Oct 2019 06:22:13 -0700 by spighita

Spring MVC+EasyUI Implementing Navigation Menu on the Left of Page

1. Display of effect maps 2. Engineering catalogue structure Note: The resources directory under webapp places easyui and JS (the jQuery file is another)                    3. code index.jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>Student Achievement Managem ...

Posted on Sat, 05 Oct 2019 00:55:13 -0700 by shaun112

web front-end entry to actual combat: JavaScript to achieve barrage effect

Barrage is a very common function. The following is a small implementation plan that I encapsulated. There are shortcomings that can be raised or improved freely. Code directly: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta content="width=dev ...

Posted on Fri, 04 Oct 2019 23:24:18 -0700 by srikanth03565

vue uses the Notification custom button in element-ui to implement the shutdown function and how to handle multiple notifications

Using Notification in element-ui, there is only one message attribute that has a lot of operation space, and the rest are written to death, which can not be extended to achieve the desired effect. So we can only work on message. In the official element-ui document, you can see that the message attribute in Notification can handle VNode, so we ...

Posted on Fri, 04 Oct 2019 21:20:38 -0700 by izzy

Slider verification implemented by sliderVerify, a layui extension component

First, introduce'. / sliderVerify/sliderVerify.js'into the static file code to be used‘ Look at the effect first.           Sample code <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <meta name="renderer" content="webkit"> <meta http ...

Posted on Fri, 04 Oct 2019 17:25:37 -0700 by Alexhoward

Ext.form.Label component dynamically sets html values

Solution: (1) Ext.getCmp(id).setText('XXXX') can dynamically set the text value displayed by label, but there are individual numbers in the text that need to change the color display, need to add style, this method will display the styled label (html) in a text manner, but not be parsed by browsers. (2) Ext.getCmp(id).getEl().update ...

Posted on Fri, 04 Oct 2019 16:20:02 -0700 by Altairzq