laf.js - open source cloud development framework (README.md)
laf.js cloud development frameworkOnline documentation: https://docs.lafyun.com/Online experience: https://www.lafyun.com/introducelaf.js is a set of out of the box, complete, open source, cloud development framework based on serverless mode and js programming.With the familiar js, you can easily handle the overall business of the front and bac ...
Added by mbdonner on Sat, 19 Feb 2022 13:12:52 +0200
Node.js source code analysis - start with the main function
title: Node.js source code analysis - start with the main functiondate: 2018-11-27 21:30:15tags:- Node.js
- Node.js Source code analysis
- Source code analysiscategories:- Node.js Source code analysis
This article was first published on the personal website four years ago, and is now migrated to this site for re posting. The original link is: h ...
Added by GaryE on Fri, 18 Feb 2022 14:38:17 +0200
TypeScript -- basics
TypeScript -- basics
Write in front: This article is a little long, which is suitable for Xiaobai who is going to learn TS. if there is a certain basic God, you can ignore this article. The article is not completely original. Most of the content is moved from other articles on the Internet, and then add some of your own understanding and su ...
Added by phpscriptcoder on Tue, 15 Feb 2022 18:26:34 +0200
TS type gymnastics: illustrating a complex advanced type
Let's do a difficult gymnastics today. It will comprehensively use patterns matching, construction, recursion and other routines, which is very helpful to improve the level of type programming.
The advanced types we want to implement are as follows:
Its type parameter is the parameter string query string, which will return the parsed ...
Added by gwydionwaters on Mon, 14 Feb 2022 05:54:35 +0200
On javascript -- a taste of TypeScript
1, Overview
Concept: TypeScript is a superset of JavaScript and supports ES6, Microsoft and open source programming languagescharacteristic:
Debugging and maintenance: there are input prompts, syntax and logic error warningsType restriction: compilation errorWrite multi version output at one time: it can be compiled into various JS vers ...
Added by Cypher87 on Sun, 13 Feb 2022 17:17:27 +0200
To make "IPC" calls with JS more gracefully, I wrote the event invoke library
backgroundThe team has a node recently JS new module needs to be developed, involving the management and communication of multiple processes. The simplified model can be understood as some methods that need to frequently call the worker process from the master process. A simple design and implementation is implemented event-invoke The library c ...
Added by twm on Sat, 12 Feb 2022 16:28:03 +0200
[TypeScript 4.5] 004 - Chapter 4 type reduction
[TypeScript 4.5] 004 - Chapter 4 type reduction
1, typeof type guard
1. What is type reduction
meaning
TypeScript type reduction is the process of converting from wide type to narrow type
Type reduction is often used in scenarios that deal with union type variables
code analysis
function padLeft(padding: number | string, input: strin ...
Added by phpvolution on Fri, 11 Feb 2022 11:41:18 +0200
tsc, babel and webpack processing of module import and export
Problem introductionMany react users may encounter such a problem when migrating from JS to TS:JS introduces react as follows:// js
import React from 'react'TS is like this:// ts
import * as React from 'react'If you directly change the writing method to JS in TS, when @ types/react is installed, the editor will throw an error: This module is de ...
Added by ditusade on Fri, 11 Feb 2022 06:02:17 +0200
CocosCreator - Bezier curve plug-in
I wrote the first cocos creator plug-in in my spare time.
Bezier plug-in link
Bezier curve plug-in description
Bezier curve is a plug-in convenient for developers to do path planning and curve movement. It supports visual editing, uniform curve movement, various slow movements (in, out, etc.), multi segment curve movement and path drawing. I ...
Added by Peter on Wed, 09 Feb 2022 18:18:24 +0200
Ant Design Pro from zero to one (used by Mock)
[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-btlqds5c-1622015619538)( https://b3logfile.com/bing/20180817.jpg?imageView2/1/w/960/h/540/interlace/1/q/100 )]
Meet Mock
Even if we start to step into the door of AntD, then we ha ...
Added by phpknight on Tue, 08 Feb 2022 20:58:34 +0200