[front end learning] implementation of Web tab 01
Friendly reminder: you need to know some basic html/Css/Javascript knowledge to read this article
The implementation of the front-end common tab key uses the principle that when clicking an element, the display attribute of css is operated through javascript to control the display (block) and display (none) of another element
It should be not ...
Added by ali_p on Wed, 18 Dec 2019 20:12:39 +0200
Implement a better property copy framework based on asm than spring beanautils
Bean-Mapping
In daily development, it is often necessary to assign the properties of one object to another.
There are many common tools, but they are not concise or powerful enough.
Spring bean utils, which we often use, has good performance, but not enough features.
Bean-Mapping It provides many rich features for daily development.
If you are ...
Added by DapperDanMan on Wed, 18 Dec 2019 10:40:28 +0200
vue component initialization process
It was written in the previous article Instantiation process of vue constructor , just a rough description of the vue instance. There is no detailed description of the process of converting the vue component and virtual DOM into real Dom and page mounting. This paper mainly describes the initialization process of vue components and the conversi ...
Added by php_guy on Tue, 17 Dec 2019 13:47:38 +0200
nginx profile parsing
Configuration files are arguably one of the most frequently encountered parts of our use of nginx. After we configure the appropriate configuration items, we typically use the. /sbin/nginx -t command to test the configuration file for parameter errors and reload nginx.This paper will first explain the configuration of nginx configuration file w ...
Added by Cugel on Tue, 17 Dec 2019 05:02:31 +0200
TypeScript Advanced Usage Details
Introduction
As a powerful static type checking tool, TypeScript is now visible in many large, medium-sized applications and popular JS libraries.As a weakly typed language, JS modifies the type of a variable without taking a moment to write code, resulting in unexpected runtime errors.However, TypeScript helps us solve this problem during comp ...
Added by coolpravin on Tue, 17 Dec 2019 04:03:07 +0200
Simulate implementation of Promise (Beginner Edition)
Implement Promise Simulated (Small White Edition)
This article talks about how to simulate the basic function of a Promise. There are already many articles like this on the Internet. There will be more ink in this article because you want to use your own understanding and spoken in vernacular
Promise's basic specifications are referenced in thi ...
Added by Bigun on Mon, 16 Dec 2019 06:06:04 +0200
DjangoRestFramework Learn the three components of authentication, permission, frequency, url registrar, responder, paging
A Certification Component
1. Local Authentication Components
We know that we go to the dispatch method to distribute regardless of the route or the corresponding view class.
In the source code of the dispatch method in the APIView class we see, there is a self.initial(request, *args, **kwargs), so the three default components of authentication, ...
Added by mjl4975 on Mon, 16 Dec 2019 03:43:19 +0200
UI experience -- Material Design practice (2)
Catalog
I. FloatingActionButton
II. Snackbar
III. CoordinatorLayout
IV. CardView
I. FloatingActionButton
1, effect
For example, the button in the lower right corner:
2, use
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
...
Added by scarface222 on Sun, 15 Dec 2019 21:59:27 +0200
[20180807] geographic location method: API call of Google map (Chapter 5 of headfirst HTML5)
Location acquisition method of geolocation API
global positioning system
Physical location mapped by location information based on IP address
Cellular telephone triangulation, according to the distance between different cellular base stations to determine the location.
Wi Fi access point completes triangulat ...
Added by arimakidd on Sat, 14 Dec 2019 20:52:41 +0200
Gradle custom plug in
Official text
gradle learning official translation website
1. New project
Configure build.gradle
//Use the official 'groovy' plug-in
apply plugin: 'groovy'
//Add api dependency
dependencies {dependencyHandler ->
dependencyHandler .compile gradleApi()
dependencyHandler. compile localGroovy()
}
//Add the currently used ve ...
Added by bigsid on Sat, 14 Dec 2019 17:43:48 +0200