Don't you know WebSocket?
What is a WebSocket?
WebSocket is a protocol for full duplex communication over a single TCP connection.Here we find an interesting word:'Full duplex', so let's get a simple idea of how to communicate!
Single Work
In both sides of communication, one party is fixed as the sender and the other as the receiver.Information can only be transmitted i ...
Posted by shack on Tue, 27 Aug 2019 19:08:55 -0700
Beautiful HTML 5 Web page special effects learning notes _canvas to achieve flame following mouse
Effect:
Lifelike flames follow the mouse and sparks appear to illuminate the background text.
Drawing with canvas
javascript is used, but there is no complex logic. Beginning Degree: Simple
Welcome to my blog to read this article: https://clatterrr.com/archive...
Source code:
Demonstration address: https://clatterrr.github.io/f...
The sou ...
Posted by rich___ on Tue, 27 Aug 2019 03:44:52 -0700
Go golang Micro Services Framework go-micro Getting Started Notes 2.1 micro Tool micro api
micro api
The microfunction is very powerful, and this article will elaborate on the capabilities of the micro api command line
Say important things three times
The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6
The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6
The full code for t ...
Posted by runestation on Sat, 24 Aug 2019 17:50:17 -0700
Are these infrequent Web API s really useful? Don't ask, they are useful.
This article lists some of the less common Web API s, which contain a lot of content, so the content of compatibility will not appear in this article, you can consult them by yourself. The following cases can match the motion map as much as I can, in order to avoid the content is dry and tedious, but if the content is wrong, please spray or cor ...
Posted by Xyphon on Fri, 23 Aug 2019 04:05:03 -0700
vue development environment based on Web pack 4.x at novice level
Using webpack 4.x to build vue development environment in the initial stage
Guide reading
First of all, in this chapter, I will take you hand in hand to build a vue development environment using webpack 4.x. Students here may ask?
"There ar ...
Posted by tbone-tw on Sun, 18 Aug 2019 21:28:01 -0700
Urine Intensity on Beer Festival - SVG Low-level Art Show
Leader: Ah Ren, you have an important task to perform. Ah Ren: What task is so important? Leader: Recently we have opened a new park and invited a writer to write a soft article to promote it. "Cloud Breaking Moon Flowers Shadow - SVG Multiple Technology Combination Realization" Unfortunately, besides being handsome, this writer is no ...
Posted by shortj75 on Tue, 13 Aug 2019 20:57:51 -0700
Ultra-detailed rotation map, let you fully understand the rotation map!
Ultra-detailed rotation map, let you fully understand the rotation map!
When you first start learning JavaScript, many novices will try to write some simple small projects. Rotary diagrams should be the most written. But many times for the novice who is not very good at the foundation, although refe ...
Posted by LiamG on Mon, 12 Aug 2019 23:27:08 -0700
Mobile Navigation Layout (Basic Attributes Solve Big Problem)
Write in the front: Navigation in the mobile end of the network format layout everywhere, how to set the width and height to adapt? How do elements align? How to choose the most efficient code for different scenarios? Smart use of margin, padding and other basic attributes, small skills can solve many problems!
Float layout
1. Scene
Home page n ...
Posted by howard-moore on Mon, 12 Aug 2019 03:09:52 -0700
It's time to try React Hook.
Hook
Hook is a new feature of React 16.8.0.
Hook allows you to use more React features without classes. Hook cannot be used in class components.
Rules of Use:
Hook can only be called at the outermost level of a function. Do not call in loops, conditional judgements, or subfunctions.
Hook can only be invoked in React's function components. Don' ...
Posted by xydra on Sun, 11 Aug 2019 21:14:27 -0700
web Front-end Start to Practice: Implementation of Loading Massive Data on html Pages
An array of 10w records is rendered to the page at one time. How to deal with it without freezing the UI?
Specification
There is an empty unordered list node ul on the page, whose id is list-with-big-data. Now we need to insert 10w li into the list. The text content of each list item can be defined by ...
Posted by phpnewb999 on Sat, 10 Aug 2019 07:09:00 -0700