Node.js learning 13 (express framework)

1, Express introduction 1. What is Express Express is based on node JS platform, a fast, open and minimalist Web development framework. The role of ExpressExpress and node JS is similar to the built-in http module, which can help developers quickly create a Web server. ExpressExpress is a popular node based The Web application develop ...

Posted by Zoran_Dimov on Tue, 01 Mar 2022 15:33:44 +0100

Four methods to achieve anchor location and jump in html page

The method of clicking the jump anchor often appears in the project, such as giving an a tag a href = "# anchor", and then giving an id = "anchor" to the anchor to jump, so as to realize a simple jump, but in this way, an example such as www.geekjc.com will appear behind the url address bar COM / # anchor, and then you click ...

Posted by flash-genie on Tue, 01 Mar 2022 10:24:53 +0100

The basics you must know in Vue

Template grammar An instruction is a special attribute with a v-prefix. The attribute value of the directive is expected to be a single JavaScript expression Text Rendering {{}} syntax const app = Vue.createApp({ data() {return { msg: 'Hello Vue3' } } }) const vm = app.mount('#app') v-text instruction and v-html instruction <div v-h ...

Posted by orudie on Tue, 01 Mar 2022 09:19:34 +0100

minio sdk based on nodejs, breakpoint continuation scheme of self built service transfer file

backgroundThe company's business problems need no more elaboration. The general demand is to need a breakpoint continuation functionThe company's file storage is used amazon s3 , this is a general-purpose file storage, similar to Alibaba cloud oss. A file can be regarded as an object and can do some operations for file objects. amazon s3 is a s ...

Posted by superdan_35 on Tue, 01 Mar 2022 09:05:07 +0100

Promise asynchronous programming - the ultimate asynchronous solution async + await node JS primary

Promise introduction: Promise is a solution for asynchronous programming. ES6 writes it into the language standard, unifies the syntax, and provides promise objects natively. Promise is simply a container that holds the result of an event (usually an asynchronous operation) that will not end in the future. Syntactically speaking, promise is a ...

Posted by jawapro on Tue, 01 Mar 2022 01:55:50 +0100

Front end training item "CSS&&JavaScript" and "03"

catalogue design sketch Blind spots encountered Source code design sketch The functions of color matching, adjusting clarity and changing color are realized     Blind spots encountered  1.< Label > is generally shared with < input > advantage: The label text is not only visually associated with its ...

Posted by yakabod on Tue, 01 Mar 2022 01:45:51 +0100

[applet] conditional rendering & list rendering

conditional rendering You can use wx:if = "" to determine whether to render the code block <view wx:if="{{flag}}">No rendering</view> <view wx:if="flag">Render</view> <view wx:if="">No rendering</view> <view wx:if=" ">Render</view> data: { flag: false, }, You can also use wx:e ...

Posted by nca on Mon, 28 Feb 2022 15:56:58 +0100

Several ways of vue component communication

preface In vue, there are no more than three kinds of component relationships: Components need to communicate. In development, common communication methods include vuex, eventBus, props and emit, $parent and $children. In addition, there are also provide and inject, $attrs and $listeners. 1, vuex I believe you have used this a lot. Let's br ...

Posted by fazlionline on Mon, 28 Feb 2022 15:22:19 +0100

Sort array collapse array de redo callback function

Sort array collapse array de redo callback function Bubble sorting significance It is to adjust an out of order array into an ordered array through the execution of code Logic: ​ 1. Traverse the array, compare two by two, and move the relatively large number backward ​ 2. After traversing, the result is that the largest number must be a ...

Posted by miro on Mon, 28 Feb 2022 14:09:48 +0100

NodeJS backend development 08 log using log4js

NodeJS backend development 08 log using log4js What is a log? Like keeping a diary, the log is printed out by the program, recording when and where events occurred within the program. This article is only for use learning. If you want to have a deeper understanding of log management and analysis, you can see = > This complete guide to log ...

Posted by Crashin on Mon, 28 Feb 2022 13:47:40 +0100