Web Server Framework Based on Koa and Mysql

Recently, I was writing a custom interface for a project. For the first time, I used node.js to implement it. I searched books and materials for several days. I planned to use express + mongodb to implement it. Later, I found that Koa, good boy, mysql is the final choice of the database. Old fashion, I built a framework based on Koa + Mysql: Ko ...

Posted by jac38 on Fri, 24 May 2019 22:31:54 +0200

Bootstrap: Rotary Effect and the Use of Modal Dialogue Box

I. Rotary sowing effect <!— ****************** Implementing Rotary Sowing Effect ************************************* --> <divid="carousel-example-generic"class="carousel slide"data-ride="carousel"> <!-- The circle below the picture --> <olclass="carousel-indicators"> <lidata-target="#carousel-example-generic ...

Posted by skaforey on Thu, 23 May 2019 22:35:16 +0200

Analysis of DroidPlugin Principle

Analysis of DroidPlugin Principle From the point of system design, the logical entity of components and windows exists in system services, such as Activity, whose logical control body is in AMS. For windows, the logical control body is in WMS. android places the logical principal in the system service, so that the system can h ...

Posted by Weirdan on Sat, 18 May 2019 23:44:23 +0200

Understanding HashMap + Concurrent HashMap Extension Strategy in Java 7 and 8

Preface Understanding HashMap and Concurrent HashMap focuses on: (1) Understanding the design and implementation of HashMap's data structure (2) Understanding the design and implementation of Concurrent HashMap's concurrent security on the basis of (1) The previous article has introduced the underlying implementation of Map ...

Posted by bidntrade on Fri, 17 May 2019 19:53:37 +0200

Just one thing about Linux asynchronous I/O-AIO

Article directory API function struct aiocb Use examples of aio_read (similar to aio_write) aio_suspend asynchronous blocking IO lio_listio initiates multiple asynchronous IO requests at the same time Asynchronous IO notification mechanism (1) Signaling (2) Thread Function callback Asynchronous IO-libio in Linux 2.6 API fun ...

Posted by suneel on Fri, 17 May 2019 08:29:12 +0200

Source Code Analysis of Java B2C Springcloud Electronic Commerce Platform-Feign

What is Feign Feign, influenced by Retrofit, JAXRS-2.0 and WebSocket, is an open source project for Java to http client binding. Feign's main goal is to make the Java Http client simple. Write a Feign Now let's simply implement a FeignClient. First, through @FeignClient, the client, where value is the name of calling other services, and FeignCo ...

Posted by pedroz on Fri, 17 May 2019 04:22:11 +0200

Go Gin Source Learning

radix tree This time we're learning about routing in Gin. In learning about source code, one of the things we see about Gin's routing is its feature.However, the use of cardinality trees in the underlying data also provides performance protection.Because this part of routing is relatively independent and logical, it needs to be learned independ ...

Posted by dannyz on Fri, 17 May 2019 03:01:50 +0200

TypeScript Foundation Point Collation

1. Features of TypeScript 1. Support ES6 specification 2. Strong IDE support (Integrated Development Environment) Allows you to specify types for variables, reducing the chance that you will make mistakes during development. Syntax hints, when IDE writes code, it will prompt you for the classes, variables, methods, and keywords you can use bas ...

Posted by harlequeen on Wed, 15 May 2019 20:44:07 +0200

Illumination in [Unity Shaders]Shader

Rendering details of Forward Rendering Path   Before we start the discussion later, we need to understand what Unity can handle in Forward Rendering Path and how much light it can handle. Here only extract Official documents Some of them are explained.   In Forward Rendering, there are three ways to deal with illumination: vertex-by-vertex ...

Posted by freeloader on Wed, 15 May 2019 20:35:40 +0200

Mongodb Cluster Construction under linux: Fragmentation + Replica Set

Three servers 192.168.1.40/41/42 Installation package mongodb-linux-x86_64-amazon 2-4.0.1.tgz Service planning Server 40 Server 41 Server 42  mongos  mongos  mongos  config server  config server  config server Shard server 1 master node Shard server 1 secondary node Shard server 1 arbitration Shard server 2 arbitration Shard server 2 ...

Posted by ja_blackburn on Wed, 15 May 2019 03:03:21 +0200