Kotlin collaboration + Retrofit is the most elegant network request

1. Introduction Retrofit's support for collaborative processes is very rudimentary. The use of kotlin does not conform to kotlin's elegance interface TestServer { @GET("banner/json") suspend fun banner(): ApiResponse<List<Banner>> } //Network request for parallel exception capture fun oldBanner(){ viewModelScope. ...

Posted by mightymax on Sat, 15 Jan 2022 12:56:02 +0100

html5, mobile web development, HTML list Tags

1, Introduction to nginx Nginx (engine x) is a high-performance HTTP and reverse proxy web server, which is characterized by less memory and strong concurrency. In fact, nginx performs better in the same type of web server. Nginx is specially developed for performance optimization. Performance is its most important consideration. In fact, it ...

Posted by tim_perrett on Sat, 15 Jan 2022 09:52:31 +0100

web front-end development network course, characteristics of jquery entry function

I think everyone must have read the explanations and sermons of various "strategic models" more or less. This article is to "clarify" the strategic models and try to answer the following questions: 1. How does the policy pattern optimize the business logic code structure? 2. How can you kill a chicken with an ox knife? Jus ...

Posted by raku on Sat, 15 Jan 2022 08:45:02 +0100

Detailed explanation of four positioning methods of web development framework and CSS

In CSS, you can use the position attribute to locate elements. The position attribute specifies the location type of the element. Attribute value: absolute: generates an absolutely positioned element, which is positioned relative to the first parent element other than static positioning. The position of the element is specified by the " ...

Posted by coverman on Sat, 15 Jan 2022 07:28:11 +0100

web development, online training, css learning costs

1, Foreword The powerful effect of css3 animation is self-evident. Since its emergence, it has been hot, and its advantages and disadvantages with js animation have always been the topic of debate in the front-end industry. There is no doubt that the emergence of css3 animation reduces the difficulty of realizing animation effect to a certain ...

Posted by dieselmachine on Sat, 15 Jan 2022 07:15:46 +0100

0 basic web front-end development, JavaScript logical operators and assignment operators

Four rules Let's first understand the following four rules for reference types: 1. Reference types have object properties, which can be extended freely. 2. Reference types have an implicit prototype__ proto__ Property. The property value is an ordinary object. 3. Reference types, implicit prototypes__ proto__ The property value of points t ...

Posted by MarcAndreTalbot on Sat, 15 Jan 2022 06:38:14 +0100

web front-end developer employment class, css how to center text up and down

background Taking the microservice system built by SpringCloud as an example, using the front-end and back-end separated architecture, each system will provide some general request parameters, such as system version information and IMEI information on the mobile end, IP information on the Web end, browser version information, etc. these parame ...

Posted by niranjnn01 on Sat, 15 Jan 2022 05:45:07 +0100

27 year old preschool development, jquery binding event does not take effect

Advance preparation For the smooth development of the story, we first create a table and insert some records into the table. The following is the SQL statement: CREATE TABLE hero ( number INT, name VARCHAR(100), country varchar(100), PRIMARY KEY (number), KEY idx_name (name) ) Engine=InnoDB CHARSET=utf8; INSERT INTO hero ...

Posted by naturalbeauty7 on Sat, 15 Jan 2022 04:59:47 +0100

What is a crawler? What is the principle of Python crawler

prefaceIn short, the Internet is a large network composed of sites and network devices. We visit sites through the browser, and the site returns HTML, JS and CSS codes to the browser. These codes are parsed and rendered by the browser to present colorful web pages in front of us;1, What is a reptile?If we compare the Internet to a large spider ...

Posted by amesowe on Sat, 15 Jan 2022 00:24:15 +0100

Web development document, web development front-end learning

**MQ, also known as Message Queue, is a middleware for asynchronous communication** It can be understood as the post office. The sender delivers the message to the post office, and then the post office helps us send it to the specific message receiver (consumer). We don't need to care about the specific sending process and time, and it won't in ...

Posted by JoeF on Fri, 14 Jan 2022 20:59:54 +0100