Native node writes a static resource server

myanywhere Make a simple castration version of anywhere static resource server with native node to improve understanding of node and http. Relevant knowledge es6 and es7 syntax http-related network knowledge Response Header Cache correlation Compression correlation path module path.join stitching path ...

Posted on Tue, 21 Apr 2020 15:01:05 -0400 by SunsetKnight

Analysis of Remax principle

Preface The weak native development experience of wechat applets is bound to have a small program development framework to enhance the development experience. Facing the fragmentation of small program platform, the framework is bound to shoulder the challenge of cross platform transplantation. The framework of the open source community can be ...

Posted on Mon, 20 Apr 2020 01:29:43 -0400 by Angry Lettuce

Summary of Handlebars, a front-end template engine

I. escape of Handlebars template 1. template Escape, output HTML string when {}} is used When {{}}} is used, html is output without escaping (identifying HTML tag attributes) 2.Helpers medium When return '< span style ='color: Red' > safety string < / span > ', escape and output HTML string When return new handlebars.sa ...

Posted on Mon, 02 Dec 2019 05:30:37 -0500 by George Botley

[Express learning notes-1] quick start

I. Basic Concepts Express is a simple and flexible node.js Web application framework, which provides a series of powerful features to help you create various Web applications and rich HTTP tools. Express can be used to quickly build a full-featured website with a set of robust features, which can be used to develop single page, multi page and h ...

Posted on Tue, 12 Nov 2019 02:45:00 -0500 by ntsf

Vue.js conditions and loops

Source: Alibaba cloud University - Developer class - Vue.js self study manual Conditional judgement v-if Condition judgment uses v-if instruction: v-if directive Use the v-if directive in the element and template: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Vue Test case - Alicloud University(/ed ...

Posted on Fri, 01 Nov 2019 16:34:15 -0400 by love_php

Developing Todos Records with jQuery

This example mimics the function of todo MVC in vue.js, using jQuery With development, the first version of jQuery will look a bit confusing and will be optimized in the future.    Todo MVC has the functions of adding, modifying, deleting, changing state and classifying todos. My development process is divided into the following steps. ...

Posted on Sat, 18 May 2019 18:48:55 -0400 by grooveman