Front end routing Hash and History mode

Understanding SPA Modern front-end projects are mostly single page Web applications (SPA), in which the path is an important part.SPA is the abbreviation of single page web application, which is translated into single page web application. In short, SPA is a WEB project with only one HTML page. Once the page is loaded, SPA will not reload or ...

Posted by melittle on Sun, 03 Nov 2019 20:18:39 -0800

Solve the cross domain problem of downloading files on the service with the download attribute of the a tag of H5

1. Download multimedia files (pictures / videos / files, etc.) by clicking The easiest way: <a href='url' download="filename.ext">Download File</a> If the url points to the same source, it is normal. If the url points to a third-party resource, the download will fail, and the performance is the same as when the download is not u ...

Posted by bobthebuilder on Fri, 25 Oct 2019 14:15:19 -0700

02 - use and compatibility of semantic tags

02 - use and compatibility of semantic tags I. new semantic labels New semantic label view address new:H5 NEW Not supported in HTML5: this element is defined in HTML4.01, not supported in HTML5 2. Common labels Semantic label: Tag name Effect nav Presentation navigation header Page head ...

Posted by bradleyy on Fri, 25 Oct 2019 10:54:26 -0700

node.js segment point renewal: the implementation method of Nginx configuration file segment download function ﹣ node.js

This tag can be configured in Node.JS to realize the segmented download of files. This article introduces Node.JS segment point continuation: the implementation method of Nginx configuration file segment download function. Please refer to it for your reference. Html5 provides a new Range tag to implemen ...

Posted by BinaryBird on Thu, 24 Oct 2019 02:42:02 -0700

sortablejs ---- sorting plug-in

I. what is Sortable Sortable is a JavaScript library for reordering drag and drop listsTwo. Characteristics1. Support touch devices and modern browsers (including IE9) 2. You can drag from one list to another or from the same list 3. CSS animation when dragging 4. Support drag handle and optional text 5 ...

Posted by jib on Fri, 18 Oct 2019 08:39:10 -0700

Building WebSocket with C

WebSocket is a full duplex communication protocol provided by HTML5 on a single TCP connection. WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete one handshake, and they can directly create a per ...

Posted by Brian on Thu, 17 Oct 2019 03:44:39 -0700

About the front-end upload file comprehensive basic literacy paste - --- H5 drag and drop incident

H5 drag events (knowledge points mainly come from HTML 5 Drag and Drop) Actually, I plan to produce the actual code. It seems that I can insert an additional drag-and-drop literacy paste, which is often used in uploading files on PC. Let's first look at the relevant knowledge points.In HTML5, drag and drop is part of the standard, and any eleme ...

Posted by xisle on Sat, 12 Oct 2019 08:48:21 -0700

day77 W3C simulation construction

Review """ 1,Advanced selector: 1) body div Progeny, control the latter, the former is decorated 2) body > div The latter is controlled by descendants, and the former is decorated. 3).d1 ~ .d2 Brothers, control the latter, the front is decorated 4).d1 + .d2 Neighbouring, controlling the latter, the front is decorated ...

Posted by naskar on Tue, 08 Oct 2019 12:12:52 -0700

Spring Boot integrates smart-doc to generate api documents

Smart-doc is a java restful api document generation tool. smart-doc overthrows the traditional method like swagger, which uses annotation intrusion to generate documents. Smrt-doc generates interface documents based on the analysis of interface source code. It is completely zero-annotation intrusion. You only need to write annotations according ...

Posted by aidema on Mon, 07 Oct 2019 05:37:24 -0700

WebStorm Download and Installation

As we all know, WebStorm is a JavaScript development tool of jetbrains company. At present, it has been praised by Chinese JS developers as "Web front-end development artifact", "the most powerful HTML5 editor", "the most intelligent JavaScript IDE" and so on. Homologous to ...

Posted by jimmayhugh on Wed, 02 Oct 2019 14:52:33 -0700