Vue Day One, Day Two
I. What is Vue.js
Vue.js: A progressive framework for building user interfaces. The core library of Vue focuses only on the view layer.
Installation: Vue.js provides an official command-line tool that can be used to quickly build large single-page applications. The tool provides out-of-the-box configuration of building tools, ...
Posted by Negligence on Sun, 19 May 2019 00:55:34 +0200
C# Enum Summary
Enumeration concept
Enumeration types (also known as enumerations) provide an effective way to define a set of named integer constants that may be assigned to variables. This type is declared using the enum keyword.
Example code 1
enum Day { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };
By default, the basic type of ...
Posted by TimTimTimma on Sat, 18 May 2019 21:31:57 +0200
What did new do in JavaScript, and how did it relate to the prototype chain?
Original text: https://legacy.ofcrab.com/press/javascript-new.html
If we talk about JavaScript's new in an object-oriented way, it's still hard to understand. We can understand it in another direction.
You humans
I am a programmer and a person. I may:
There's a loud name.
Born on a certain day
It's a man.
I can walk.
I can still run.
Still hop ...
Posted by greencoin on Sat, 18 May 2019 19:07:21 +0200
HashSet Source Code Analysis of Dead java Sets
problem
(1) What's the difference between Collection and Set?
(2) How does HashSet ensure that elements are not duplicated?
(3) Does HashSet allow null elements?
(4) Is HashSet orderly?
(5) Is HashSet synchronous?
(6) What is fail-fast?
brief introduction
Set, the concept is a little vague.
Generally speaking, collections in Java refer to cont ...
Posted by grimmier on Sat, 18 May 2019 15:44:47 +0200
IoC and AOP of Spring Framework
Introduction to Spring Framework:
In February 2003, the Spring Framework became an open source project and was released in SourceForge. Solutions devoted to Java EE applications, rather than focusing only on one level of solutions, are the "one-stop" choice for enterprise application development. Throughout the presentation layer, bus ...
Posted by Bea on Sat, 18 May 2019 11:28:45 +0200
java Set Analysis (9): LinkedList
Previously, we analyzed ArrayList. We know that ArrayList is implemented by arrays and traverses quickly, but when inserting and deleting, we need to move the elements behind, which is slightly less efficient. In this article, let's look at LinkedList, which is implemented by a two-way linked list. When inserting and deleting linkedList, we on ...
Posted by riddlejk on Sat, 18 May 2019 10:35:31 +0200
Python Visualization Primary —— Common Graphics Drawing
3.1 histogram
Histogram is mainly used in the visualization scene of qualitative data, or in the distribution display of classification features. Then the graphics derived from the histogram are stacked histogram, and multi-data parallel histogram.
eg1: Simple histogram
Previous drawings used plt.xxx to manipulate graphics d ...
Posted by itsureboy on Sat, 18 May 2019 03:50:50 +0200
js object-oriented and prototype inheritance learning notes.
create object
Although Object constructors or object literals can be used to create a single object, these methods have obvious drawbacks: creating many objects with the same interface can generate a lot of duplicate code. To solve this problem, people began to use a variant of the factory model.
Factory mode
Factory pattern is a well-known des ...
Posted by Rangel on Sat, 18 May 2019 00:13:47 +0200
[JavaScript Learning] DOM Operating Technology
Dynamic script
Definition: Page loading does not exist, but at some point in the future by modifying the DOM dynamically added scripts.
There are two ways to create dynamic scripts:
Insert external files
Insert JavaScript code directly
Insert external files
var script = document.createElement("script");
script.type = "text/javascipt";
...
Posted by bob2006 on Fri, 17 May 2019 20:56:34 +0200
Steps for Adding Modules to Andpro
index.js is the entry file for the entire project.
// 1. Initialize
const app = dva({
history: createHistory(),
});
// 2. Plugins
app.use(createLoading());
// 3. Register global model
app.model(require('./models/global').default);
// 4. Router
app.router(require('./router').default);
// 5. Start
app.start('#root');
export default app._st ...
Posted by Bailz on Fri, 17 May 2019 19:05:32 +0200