WebRTC connection process introduction

Summary Because we are working on WebRTC related projects recently, in order to have a deeper understanding of WebRTC connection and transmission, we should write an article to introduce it. From the beginning Official documents of WebRTC Start with, and of course, the inside samples . Because the communication process has not been involved, w ...

Posted by Rother2005 on Wed, 30 Oct 2019 02:05:51 -0700

Vue practice - menu bar, commodity display data interaction

In the previous part, we completed the menu bar and commodity display structure, and this time we access data for these two parts. Menu bar access data Import components and define the required data format <script> // Import BScroll components import BScroll from "better-scroll"; // Import Food product page import Food from "components/F ...

Posted by compound_eye on Mon, 28 Oct 2019 13:34:01 -0700

Wechat applet wechat login

image.png Development interface Sign in wx.login wx.checkSession Signature encryption Applet login The small program can easily obtain the user identity provided by wechat through the login ability provided by wechat official, and quickly establish the user system within the small program. Login process sequence Applet, devel ...

Posted by syth04 on Mon, 28 Oct 2019 13:32:34 -0700

token backend parsing after jwt authentication generation

First, the front end sends the token The location of token headers {'authorization': value of token ', content type': application / JSON} Write in ajax //Show only part of the headers code headers:{"authorization":this.$cookies.get("token")} //token value is usually put in cookies //The default is json format. You don't need to declare js forma ...

Posted by marklarah on Mon, 28 Oct 2019 07:05:12 -0700

java ThreadLocal thread setting private variable bottom source code analysis

I've heard that ThreadLocal is used to achieve high concurrency. Previously, it was implemented with locks. After reading a lot of data, I found that there is a big difference (it seems that ThreadLocal is not a high concurrency solution strictly). Now let's summarize. The problem in high concurrency is thread safety, which can be said to be h ...

Posted by storyboo on Mon, 28 Oct 2019 05:57:26 -0700

Multiplayer blog development project - back end

Basic analysis 1 Analysis For the blog system used by many people, the BS architecture is adopted here.Blog system needs user management and blog management User management: user registration, adding, deleting, modifying and querying users Blog management: add, delete, change and check blog The database is required. This time, Mysql5.7.17 is ...

Posted by gbow on Mon, 28 Oct 2019 04:13:45 -0700

Forum and background built with node+mongodb

Forum and background built with node+mongodb This is the first project background that I have done. If there are any inappropriateness and correction, please give me more advice. This project is only for reference! Thank you. I put the source code at the bottom of the article. If you need it, you can ...

Posted by curb on Sun, 27 Oct 2019 05:23:53 -0700

Spring MVC common annotations / exception handling

Catalog I @ Requestmapping Map multiple URI s method attribute params attribute headers property Support for ant style Two @ PathVariable Three rest style IV @ RequestHeader, @ CookieValue 5. sessionattributes Six @ ModelAttribute 7. Exception handling @ExceptionHandler annotation Implement Handle ...

Posted by Kingw on Sun, 27 Oct 2019 03:00:24 -0700

Summary of methods to prevent Web forms from submitting repeatedly

In Web development, it is a common task to deal with form re submission. So, what are the scenarios that lead to repeated submission of forms? What's the problem with duplicate forms? What are some ways to avoid duplicate forms? Scenario of repeated form submission 1. Scenario 1: the server fails to res ...

Posted by jwinn on Sat, 26 Oct 2019 23:44:14 -0700

Monitor of three components of Java Web

Three components of javaWeb: Servlet Listener Filter This blog mainly talks about Listener listener. Monitor: The listener is an interface, and its specific content is implemented according to its own needs. Methods in the listener are called when a particular event occurs It needs to be registered ...

Posted by murtoz on Sat, 26 Oct 2019 18:04:58 -0700