Touch your hand, take you to understand Vue's Computed principle

preface Computed is a very common property configuration in Vue. It can change with the change of dependent properties, which brings us great convenience. So this article will take you to fully understand the internal principle and workflow of computed. Before that, I hope you can have some understanding of the responsive principle, because com ...

Posted by loudrake on Fri, 26 Jun 2020 01:17:48 -0700

JS event, Bom object and Dom object (Le byte Architecture)

If you want to be a good java Architect, here → Le byte free open class (Tencent class) If you need to follow more information, please click on the right side (remember the password: 66) → This is a no return road, there is a risk of baldness, please choose carefully! BOM objects The core object of BOM is window, which represents an i ...

Posted by R_P on Fri, 26 Jun 2020 00:52:21 -0700

Spring boot + websocket to realize real-time chat

Spring boot + websocket for real-time chat Recently, a little time, the last project just used websocket to realize broadcasting messages. Now, I want to sort out some previous codes and share them with you. WebSocket protocol is a new network protocol based on TCP. It realizes full duplex communication between browser and server, which ...

Posted by mady on Thu, 25 Jun 2020 23:14:13 -0700

springMVC exception interceptor file upload

Asynchronous call Send asynchronous requests (review) <a href="javascript:void(0);" id="testAjax">Visit controller</a> <script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script> <script type="text/javascript"> $(function(){ $("#testAjax").click(funct ...

Posted by liquid79 on Thu, 25 Jun 2020 18:21:59 -0700

this points to the end of the problem in JavaScript

this points to the end of the problem in JavaScript Preface 1. On the outermost layer of JS code 2. Method Calls as Objects 3. Call as a normal function 4. Constructor Calls V.Function.prototype.call or Function.prototype.apply call 6. this in arrow functions Preface The this keyword in Javascri ...

Posted by oddyseys on Wed, 24 Jun 2020 17:49:20 -0700

JavaScript branch structure statement

Branch structure statement in JS JS code should be executed from top to bottom Branch structure statement: when a part is executed, select whether to execute a section of code according to the condition Conditional branch statement in JS - if There are four ways to write 1, if branch 1. if state ...

Posted by alecapone on Wed, 24 Jun 2020 00:55:41 -0700

The foundation of JavaScript

Introduction to JavaScript The birth of JavaScript language is mainly to complete the data verification of the page. So it runs on the client side and needs to run a browser to parse and execute JavaScript code. js is a product of Netscape Netscape. It was first named LiveScript to attract more java programmers. Renamed JavaScript (js is weak t ...

Posted by thestars on Tue, 23 Jun 2020 20:50:14 -0700

Hand in hand to teach you to write a visual code generator based on sqlsugar 4 (generate entity, take SqlServer as an example, the source code is attached at the end of the article)

In the development process, it is inevitable to create entity classes. Tables with fewer fields can be written manually. However, if more fields are created manually, it is a waste of time. If a table has more than 100 fields, handwriting is not realistic. At this time, we will use some tools, such as dynamic soft code generator, code generator ...

Posted by bubbadawg on Mon, 22 Jun 2020 21:42:08 -0700

Vue basic knowledge summary (absolute classic)

Last night at 23:00, Vue, officially fired the first shot! In three and a half years, we will move forward to the whole stack, strive to become an architect within three years, and become the mainstay of the world's top 500 companies. fighting never stops. Come on! 1, Introduction Vue (pronunciat ...

Posted by André D on Mon, 22 Jun 2020 20:14:43 -0700

JS life from scratch -- BOM, DOM and events in JS

According to the previous reply, variables, operators, branches, loops and nested loops in JS. This time, Ben K will nag everyone about BOM, DOM and events in JS. 1, "Flower heart Radish" -- BOM 1. Shocked, why FFF group raised the torch to BOM -- Introduction to BOM BOM(Browser Object Mode ...

Posted by phpforever on Mon, 22 Jun 2020 19:58:00 -0700