Vert.x (vertx) sends HTTP/HTTPS requests

Vert.x Web Services have two protocols, one is HTTP and the other is HTTP using ssl. There are five ways of requesting, get, post, put, delete, head.For simplicity, the server mainly implements request processing for get and post of HTTP protocol.as follows 1 @Override 2 public void start() throws Exception { 3 4 HttpServer serv ...

Posted by l_kris06 on Sat, 27 Jul 2019 13:49:00 -0700

Use template method pattern to build permission filters

Scene analysis In web applications, almost all of our systems involve the processing of privileges. How to design privileges and control privileges is a problem we can not ignore in Web development. Although there are many excellent security processing frameworks like spring security and shiro in the open source world, their requirements are re ...

Posted by goclimb on Sun, 14 Jul 2019 10:21:40 -0700

Flutter Learning Up and Down Refresh List of Basic Components

I. Overview RefreshIndicator is Flutter's built-in control based on Material Design Language, which combines pull-down gestures, load indicators and refresh operations. Its playability is much worse than FutureBuilder's, but you have used other controls in Material Design Language, and the visual effect is also good.Refresh Indicator is not th ...

Posted by Desdinova on Mon, 08 Jul 2019 12:43:06 -0700

Ionic improves the first loading efficiency by script compression in PC-side Web development

Note that the description in this article is only applicable to PC-side Web development based on Ionic. If it is mobile-side development, you can try to use Uglify JS2 only for compression. Whether there will be any improvement, please verify by yourself, at least the file will load faster when it is smaller. C 1. Questions 1.1. The f ...

Posted by Shygirl on Sat, 08 Jun 2019 15:21:35 -0700

Implementation of Registration Mailbox Verification and Login Verification Code

Django Sends Mail Modules need to be used from django.core.mail import send_mail,send_mass_mail SMTP is a mail server, each kind of mailbox SMTP server address is different, Baidu itself For example, mailbox 163 is smtp.163.com 1. Adding configuration to settings TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.Django ...

Posted by TheRealPenguin on Sat, 25 May 2019 13:13:15 -0700

WeChat jssdk Local Test

abstract Because the project needs to use WeChat voice-related interface function, we need to introduce WeChat's jssdk, but the test of this thing is not so simple as running locally, it needs to be done with the help of WeChat web development tools. This article records the process that I completed the test today. The focus of this article ...

Posted by mikeissa on Wed, 22 May 2019 09:48:19 -0700

Front End Basic Learning - CSS Header Fixed

There are two main reasons why it is difficult to fix a header with pure CSS.One is that IE6, which has the largest market share, does not support position:fixed.Another is that people want to do this in tables where they want to break their heads.But real foreigners have achieved this with pure CSS, using an astonishing number of CSS hacks... ...

Posted by slpctrl on Fri, 10 May 2019 14:24:36 -0700

Implementing Plug-in Framework from an Analytical Perspective

  Opening some off-topic remarks, today landed in this "small dish" blog park, a lot of feelings. "Xiaocai" is my previous online name in QQ group. At the same time, I applied for this blog Park account. Five years ago, "Xiaocai" was very active in two groups of NET and C++ and was very enthusiastic to help net ...

Posted by anybody99 on Wed, 08 May 2019 09:42:39 -0700

css introducer and selector

1. Introduction of css pages (1) External chain <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>css Introduction method-Outer chain type</title> <link rel="stylesheet" href="test.css"> </head> <body> <div></div> </body& ...

Posted by Dookster on Sat, 04 May 2019 11:30:38 -0700

Brief Analysis of webpack Code Splitting

Code Splitting is an important feature of webpack s that allows you to package code to generate multiple bundles.For multi-page applications, it is necessary because multiple entries must be configured to generate multiple bundles; for single-page applications, packaging a bundle alone can be very bulky, making it impossible to take advantage ...

Posted by abhi on Wed, 01 May 2019 08:00:38 -0700