MongoDB Foundation Installation (Actual Deployment)
MongoDB Basic Installation
Overview of MongoDB
(1) MongoDB is a database based on distributed file storage.Written in C++.Designed to provide scalable high performance data storage solutions for WEB applications.
(2) MongoDB is a product between relational and non-relational databases, which is the most rich and similar to relational databases ...
Added by ehhwan on Sun, 22 Dec 2019 22:15:13 +0200
Construction of webpack4 architecture and application of vue single component
First, enter the folder of the installation directory, enter npm init initialization package.json:
To install webpack and webpack cli locally:
NPM install webpack webpack cli - D / / - D refers to the development environment needs, online environment does not need;
Create an entry file, configure packet.json for packaging
...
Added by brian79 on Thu, 19 Dec 2019 21:45:44 +0200
Analysis of complex Json data by Gson
Take a look at the great God's article:Using Gson to parse complex JSON data
Build dependency first
implementation'com.google.code.gson:gson:2.8.0'
Then get the json data according to the api
{
"status": "1",
"info": "OK",
"infocode": "10000",
"count": "1",
"geocodes": [
{
"formatted_address": "Shenzhen ...
Added by purinkle on Wed, 18 Dec 2019 22:52:10 +0200
WebAPI Angularjs upload file
Direct code
HTML page code:
< label > resource URL < / label >
<input type="text" class="form-control" id="txtSourceURL" name="txtSourceURL" Ng model = "editdata. Sourceurl" placeholder = "resource URL" ng MaxLength = "500" ><! -- file address display -- >
< butto ...
Added by Trek15 on Wed, 18 Dec 2019 20:40:15 +0200
Delegate mode elaboration
Delegation mode is a behavioral mode. The principle of this mode is that class B and class A are two classes that have no relationship with each other. Class B has the same methods and properties as class A; and calling methods and properties in class B is calling methods and properties with the same name in class A. B seems to be an intermedia ...
Added by spaceknop on Wed, 18 Dec 2019 19:01:04 +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
Cannot generate spring-configuration-metadata.json file in IntelliJ Idea with Kotlin
Problem description
In Baidu search keywords, found Stack Overflow related problems
spring-configuration-metadata.json file is not generated in IntelliJ Idea for Kotlin @ConfigurationProperties class
Original link:
https://stackoverflow.com/questions/37858833/spring-configuration-metadata-json-file-is-not-generated-in-intellij-idea-for-ko
T ...
Added by TRB on Mon, 16 Dec 2019 16:51:48 +0200
Come to Dou Tu Sao Nian!
I've described the emoticon store on GitHub before, but I don't feel like there are enough emoticon stores to meet the needs of frequent fights, so I decided to mine the emoticon resources from the omnipresent Internet.
The goal of this crawl is something with an average annual salary of millions. There are questions and answers about emoticon ...
Added by perry789 on Mon, 16 Dec 2019 04:30:20 +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
Customized middleware module in Django -- automatic search for stackoveflow answers
Classification of Django MIDDLEWARE middleware:
During request:
process_request(request)
process_view(request, view_func, view_args, view_kwargs)
Return period:
process_exception(request, exception) (only if the view raised an exception)
process_template_response(request, response) (only for template responses)
process_response(request, respons ...
Added by dormouse1976 on Sat, 14 Dec 2019 22:10:28 +0200