Introduction to express use of nodejs

Express Framework Come from JavaScript Standard Reference Tutorial (alpha) by Ruan Yifen Catalog Summary Operating principle Bottom level: http module What is Middleware use method Express method all method and HTTP verb method set method response object requst object Set up HTTPs server Project Development Instances Write startup scrip ...

Added by stickynote427 on Fri, 12 Jul 2019 20:35:19 +0300

WeChat mars Open Source Analysis 1-Upper Saples Analysis

WeChat has already started mars, but there are few related articles on the market, even if there are many such as using xlog, so this time I hope to be able to analyze from stn, which is directly used for the bottom communication of im.To be more comprehensive, let's start with samples.First of all, WeChat explicitly replaced JSON and xml with ...

Added by nads1982 on Fri, 12 Jul 2019 19:12:55 +0300

es6 Learning--Analytical Assignment of Variables

Deconstruction assignment of arrays ES6 allows you to extract values from arrays and objects according to a certain pattern and assign variables, which is called Destructuring. This is called "pattern matching". As long as the patterns on both sides of the equal sign are the same, the variables on the left are assigned corre ...

Added by SkyRanger on Fri, 12 Jul 2019 00:07:59 +0300

Python Reptiles Series (1) Collection and Summary of Early Learning Reptiles

Recently, in order to extract Judicial Documents Network Relevant information, I entered the Python learning road, wrote nearly two weeks of code, I wrote this article to summarize the pits trampled, and encounter some good information and blog summary, in order to review and participate in their own later period, share with you, and welcome yo ...

Added by wannalearnit on Tue, 09 Jul 2019 00:45:19 +0300

Experience the Beauty of javascript Lesson 4 - Functions, Functional Expressions, Closures

Through the first three lectures, you should be able to do so. 1. Have a resume with confidence that you can change your job at any time. 2. Know the correct posture of learning js 3. Understanding the global object, the global context, knowing that there is pre-parsing and doing at least 50 interview questions at the same time. 4. Be proficie ...

Added by perrio on Mon, 08 Jul 2019 05:44:02 +0300

Learn to write React components in TypeScript

In order to toss around, I simply learned the next TypeScript, and it really feels good. In order to keep learning and avoid falling behind, we have to toss and turn. Some time ago, I wrote some demo s with ES6, antd+dva, and found that antd is implemented with TypeScript, and Angular 2 also uses TypeScript. Since so many projects use TypeScrip ...

Added by XxDeadmanxX on Mon, 08 Jul 2019 04:53:26 +0300

Live NBA Text Widget Based on Python Command Line

The NBA playoff is in progress and has no choice but to go to work and watch live video.And the text live page has too many advertisements and so on, so it takes half a day to make a command line-based text live broadcast with Python 3, which is refreshing to watch but not easy for leaders to discover.The effect is as shown in the diagram: Figu ...

Added by Deivas on Sun, 07 Jul 2019 23:23:48 +0300

springboot+redis+Interceptor+custom annotation to realize automatic idempotent interface

Foreword: In actual development projects, an exposed interface often faces many requests. Let's explain the concept of idempotency: the impact of any multiple execution is the same as that of a single execution. According to this meaning, the ultimate meaning is that the impact on the database can only be one-time and can not be repeated. How t ...

Added by seanrock on Sat, 06 Jul 2019 22:13:47 +0300

Analysis of Two Paging Ways Based on layPage Paging Plug-in

Pagination has been used frequently in recent development processes, and today I'm trying to squeeze in some time to poke out my experience. In web development, we usually use paging control to display data when displaying data list pages. Pagination is usually based on two different requirements. One is that the amount of data is not very la ...

Added by centipede on Thu, 04 Jul 2019 04:05:17 +0300

Mongo Personal Notes

Mongo Document Database (Bson = JSON binarization on Gridfs disks) Features: The internal execution engine is a JS interpreter. Documents are stored in a bson structure. When querying, they are converted into json objects and can be manipulated by familiarizing themselves with JS grammar. 2. The biggest difference between mongo and tradi ...

Added by NorthWestSimulations on Thu, 04 Jul 2019 02:38:01 +0300