Use of vue-routing
Use of Routes
Vue-router is the official routing plug-in for Vue.js. It is deeply integrated with vue.js and is suitable for building single-page applications.The single-page application of Vue is based on Routing and components, which are used to set access paths and map paths and components.Traditional page applications use ...
Posted by xdentan on Sun, 12 May 2019 06:45:01 +0200
JDK 8 ArrayList source code parsing
[This article is to sort out the summary articles of knowledge and summarize some important points of knowledge that I think are relevant, in order to consolidate memory and technical exchanges and forget criticism and correction. It refers to a lot of previous articles, including pictures are also quoted, if offensive, invasiv ...
Posted by soshea on Sun, 12 May 2019 06:24:37 +0200
Several ways of js inheritance
How to implement JS inheritance:
Now that we want to achieve inheritance, we first have to have a parent class, the code is as follows:
function Animal(name) {
// attribute
this.name = name || 'Xiao Bai';
// Example method
this.sleep = function () {
console.log(this.name + 'Sleeping in!');
}
...
Posted by a.heresey on Sun, 12 May 2019 05:29:08 +0200
Analysis of Common Code Block, Construction Code Block and Static Code Block
After learning code blocks, building code blocks and static code blocks for the first time, I decided to write this article to summarize the learning results in particular. This article describes code blocks in the simplest language. If there are any errors, please ask the gods to point out, thank you very much (bow)
Ordinary ...
Posted by artizan on Sun, 12 May 2019 05:06:56 +0200
[React Series Tutorial 5] Parent-Child Component Value Passing, defaultProps and propTypes
1. The parent component passes values to the child component (that is, the child component calls the parent component data and methods)
1. Define an attribute <Header msg='Home Page'> </Header> when calling subcomponents
2. Get through this.props.msg in the subcomponent.
Explanation: The parent compo ...
Posted by Bind on Sun, 12 May 2019 04:22:57 +0200
The Principle and Practice of Obtaining Feature Importance with xgboost
1. Principle of xgboost ranking feature importance
xgboost calculates which feature to choose as the segmentation point according to the gain of the structure fraction, and the importance of a feature is the sum of the number of times it appears in all trees. That is to say, the more attribute is used to construct decision tree ...
Posted by juancuca on Sat, 11 May 2019 23:10:36 +0200
Analysis of Structured Exception Handling in Windows
Recently, I have been puzzled by a problem, that is, the program always crashes without reason. Some places know that there may be problems, but some places have no way to know what the problems are. Even more painful thing is that our program needs 7x24 service customers, although it does not need real-time precision zero error, but can not al ...
Posted by FrancoPaddy on Sat, 11 May 2019 22:56:48 +0200
Reflection of Python Advanced Usage
1. What is reflection?
In the process of program development, we often encounter the requirement that a method in the executing object, or a variable in the calling object, or a field of the object should be assigned, while the method name or field name can not be determined when encoding the code, and need to be input in the ...
Posted by phpfreakjav on Sat, 11 May 2019 22:11:59 +0200
Distributed Project Mapping Server Data Mapping
In the last section, the implementation of CoAp client and server, the data is also sent to kafka in the format defined by the installation, followed by the implementation of Mapping server, which maps physical device data to abstract devices and gives data business meaning.
iot-mapping
Building iot-mapping module, introducing kafka public modu ...
Posted by nominator on Sat, 11 May 2019 20:02:02 +0200
Tamping Java Foundation-Reflection
A week has passed since the nested Fragment s lazily loaded articles. To tell the truth, lately there has been a slight decrease in enthusiasm for learning, or a slight drift of myself, or a slight increase in temptation in reality, but this is a bad state and you have to adjust yourself to keep moving towards your goals.
Preface
This a ...
Posted by digitalgod on Sat, 11 May 2019 18:47:44 +0200