RESTful style of spring MVC learning notes
7 use spring MVC to complete the implementation of RESTful
7.1 what is RESTful style?
REST: Representational State Transfer, the state transfer of presentation layer resources. It is a style of resource positioning and resource operation. It's not a standard or agreement, it's just a style. The software designed based on this style can be ...
Added by Swedie on Fri, 07 Jan 2022 08:24:47 +0200
framework learning notes Day12 --- spring MVC
Restful Style Introduction
WebAPI
If a URL returns data instead of HTML, the URL is a web API (web interface) Restful
A way to access the web API in the Rest style Restful style
① Different CRUD operations adopt different request modes② The background response data is in JSON format
HiddenHttpMethodFilter filter
summary
The ...
Added by fr0mat on Tue, 04 Jan 2022 15:55:19 +0200
Saving image data for image management
Save picture data
Before saving the data, we need to obtain the id of the sku associated with the picture
1. Get sku table id
Interface analysis
Request method: GET / meiduo_admin/skus/simple/
# -------Get the id of sku--------
url(r'skus/simple/$', images.ImageView.as_view({'get': 'simple'})),
Request parameters: pass jwt token dat ...
Added by SirChick on Mon, 03 Jan 2022 12:59:45 +0200
Django's Road to Learning - Basic
1. Django Project Creation
1. Project structure
1.1. settings.py file
"""
Django settings for mydemo project.
Generated by 'django-admin startproject' using Django 3.1.7.<django Version
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see ...
Added by monkeynote on Wed, 29 Dec 2021 07:55:56 +0200
Spring Boot Learning Notes
Video source: Power Node springboot Video Tutorial
Why use Spring Boot?
Using Spring and Spring MVC requires a large number of xml configuration files, configuring various objects, and putting the objects in the Spring container to use them is cumbersome. At the same time, when integrating other frameworks with Spring, you need to understand ...
Added by JayBachatero on Tue, 21 Dec 2021 09:27:19 +0200
Spring Cloud Eureka advanced application
1 Preface
Through the explanations in the previous two chapters, we have basically mastered the principle and use of Eureka. Next, we will talk about how Eureka is applied from the dimensions of security, monitoring, high availability and tuning.
2 Eureka security configuration
Eureka is an important registry in the whole spring cloud mi ...
Added by ozone1 on Mon, 20 Dec 2021 12:37:35 +0200
Crazy God says spring boot14: integrated Swagger ultimate
Crazy God says spring boot14: integrated Swagger ultimate
Qin Jiang [crazy God said] (javascript:void(0) 😉 2020-03-25
Crazy God said that the serial courses of SpringBoot series are easy to understand and based on SpringBoot 2 Version 2.5, welcome crazy fans to forward and pay attention to learning. Reprint is prohibited without the auth ...
Added by SidewinderX on Sat, 18 Dec 2021 21:34:13 +0200
Interface architecture style - RESTful
Interface architecture style - RESTful
The interface here refers to API (application program interface)
API (Application Programming Interface) refers to some pre-defined interfaces (such as functions and HTTP interfaces) or conventions for the connection of different components of the software system. It is used to provide a set of routin ...
Added by ryza_ on Sat, 11 Dec 2021 12:17:25 +0200
5, ContentProvider permission dynamic application address book addition, deletion, modification and query
5, ContentProvider related
ContentProvider: content provider is responsible for data access. It is often used for APP data sharing, cross process data access, etc... for example, reading photo albums and contacts are implemented by ContentProvider
**1. * * we want to access other applications in our own applications, or some data expo ...
Added by Imad on Fri, 19 Nov 2021 14:58:18 +0200
Detailed explanation of workflow approval business code
10. Task node / TaskController
1. Query all tasks
Query all task nodes, mainly calling the methods provided by the historyService API. See the notes for detailed logic.
@GetMapping(value = "/list")
public Result list(TaskQueryVo taskQueryVo) {
// Use the historyservice API to build query factories that can enter criteria
...
Added by timc37 on Wed, 17 Nov 2021 02:59:29 +0200