Warning: mysqli_query(): MySQL server has gone away in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924

Warning: mysqli_query(): Error reading result set's header in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924
service – SyntaxBug

Use of Service in Egg.js

Service service Service is used to write business logic code that interacts directly with the database. Service is an abstraction layer used to encapsulate business logic in complex business scenarios. To put it simply, the business logic code is further refined and classified, so the code that interacts with the database is placed in Service. […]

Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services

Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services This project is a hands-on project I made, using the SpringCloudAlibaba microservice architecture. When I was working on the authentication module, I remembered the Sa-Token project I had seen online before. It was called the Light of Domestic Authentication, so I checked their documentation […]

[Liunx] Deploy WEB service: Nginx

[Liunx] Deploy WEB service: Nginx Overview Nginx 1 Introduction 2.Nginx file path 3.Nginx detailed explanation (1) Install Nginx (2) Start Nginx (3)Access Nginx 4.Nginx configuration file a.nginx.conf (4) Start demonstration: a. Create two new website root directories b. Create two new index.html in the root directories of the two websites respectively. c. Create a new […]

[Linux] dns domain name resolution service

1. DNS 1.1 Introduction to DNS Domain name resolution: (English: Domain Name System, abbreviation: DNS) is a service of the Internet. As a distributed database that maps domain names and IP addresses to each other, it can make people access the Internet more conveniently. DNS uses udp53 and tcp53. Currently,the length limit for each level […]

Linux network DNS service

Table of Contents 1. Introduction to DNS service 1. Basic concepts 2.Domain name classification 3.DNS server type 2. DNS principle 1. Query method 2. Query principle process 3. Configuration file 1. Configuration file location ①. Main configuration file ②. Regional configuration file ③. Database configuration file 2. Resource records 4. Forward analysis steps 1. Experimental […]

RESTful web service based on JAX-WS returns xml document generated through JAXB annotations

A RESTful web service written based on JAX-WS that returns xml documents. This xml document can be generated based on JAXB annotations, simplifying xml generation. In order to use the dependent libraries, you can add the following dependencies in the pom.xml file of the maven project: <dependency> <groupId>jakarta.xml.ws</groupId> <artifactId>jakarta.xml.ws-api</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>com.sun.xml.ws</groupId> <artifactId>jaxws-rt</artifactId> <version>4.0.0</version> […]

[Liunx] Deploy WEB service: Apache

[Liunx] Deploy WEB service: Apache Overview Apache 1 Introduction 2.Apache file path 3.Apache detailed explanation (1)Install Apache (2) Start Apache (3)Configuration file a.Apache main configuration file: vim /etc/httpd/conf/httpd.conf information: b. Virtual host based on host header (4) Start demonstration: a. Create two new website root directories b. Create two new index.html in the root directories […]

nginx website service (1. Small experiment)

nginx is a high-performance and lightweight web service software that provides static page services, that is, files in plain text format, usually files with the suffix .html or .htm. Features: Average stability (lots of bugs, so updates and iterations are fast) Open source (free), can be repackaged (secondary development) The consumption of system resources is […]

Matinal: Analysis of the whole process of SAP ABAP publishing HTTP RestFul service (5)

1. Background introduction RESTful is a design style and development method for web applications. REST is the abbreviation of Representational State Transfer, and the Chinese translation is “representational state transfer”. It may not be easy to understand REST from the definition alone. For students who have just come into contact with this concept, REST can […]