Spring mvc-part05json interactive processing
5. Jason interactive processing
JSON
5.1 what is JSON?
JSON (JavaScript object notation) is a lightweight data exchange format, which is widely used at present.Data is stored and represented in a text format completely independent of the programming language.The concise and clear hierarchy makes JSON an ideal data exchange language.It is eas ...
Posted by tlawless on Sun, 05 Dec 2021 14:27:06 +0100
Use of js function
1. Declaration function
//Declarative function
function Function name() {
//Function body code
}
Function is the keyword that declares the function and must be lowercaseSince functions are generally defined to implement a function, we usually name the function as a verb, such as getSum
2. Call function
//Call function
Function name(); ...
Posted by KC8Alen on Sun, 05 Dec 2021 10:53:31 +0100
Automated construction
Automated constructionIn the development phase, source code is automatically built into production code using efficient syntax, specifications and standardsNPM ScriptWhenever npm run is executed, a new Shell will be automatically created and the specified script commands will be executed in this Shell. Therefore, any command that can be run by ...
Posted by FireElement on Sat, 04 Dec 2021 06:38:35 +0100
Operation of generating Excel files from pure front end -- web assembly & web workers
Recently, there is a demand for large data screen in business, which requires not only displaying data, but also providing data download in the selected date range. This paper only records the implementation scheme as a note, and the implementation details are very incomplete.Tool libraryThe standard specifications of xlsx spreadsheet are show ...
Posted by raj86 on Fri, 03 Dec 2021 22:58:51 +0100
Take you to understand the 14 basic syntax of Typescript
Absrtact: Typescript can be said to be a superset of JavaScript. Many syntax features are added on the basis of JS, so that types can no longer be converted at will, which can greatly reduce errors in the development stage.
This article is shared from Huawei cloud community< Full parsing of Typescript basic syntax >, author: Aurora Boreal ...
Posted by erasam on Fri, 03 Dec 2021 19:52:09 +0100
Use of Promise of ES6
(1) Promise
Promise means promise. (it's something that will happen in the future)
(1) What is promise?
In terms of purpose: (1) promise is mainly used for asynchronous computing. (2) You can queue asynchronous operations, execute them in the desired order, and return the expected results. (3) promise can be passed and manipulated between ob ...
Posted by Balu on Fri, 03 Dec 2021 19:46:00 +0100
[learning notes] play with Vue3 family bucket ---- how to develop web pages like building blocks?
In our project, components are everywhere. Through the encapsulation of component functions, we can develop web pages like building blocks. Next, let's learn about Vue's componentization mechanism.
1, What is component development
vue allows us to customize components and encapsulate a functional template in a. vue fi ...
Posted by Katanius on Fri, 03 Dec 2021 10:44:52 +0100
HTML static web page assignment - fresh love discount e-commerce shopping website (5 pages) HTML+CSS+JavaScript HTML web page design about e-commerce - online shopping
HTML5 final assignment: love discount e-commerce shopping website design - fresh love discount e-commerce shopping website (5 pages) HTML+CSS+JavaScript HTML web page design about e-commerce - online shopping
Common web design topics include individuals, food, companies, schools, tourism, e-commerce, pets, electrical appliances, tea, home, ...
Posted by joenjeru on Fri, 03 Dec 2021 07:27:57 +0100
Super detailed js array method (summary)
The built-in method of array that we often use in ordinary development is also the most frequently asked thing in the interview. Array is the most commonly used data set in js. There are many built-in methods. Mastering these methods can effectively improve our work efficiency and have a great impact on our code quality.
Create array
Literal r ...
Posted by sarahk on Fri, 03 Dec 2021 06:40:42 +0100
AJAX experience based on JavaScript (Demo steps, paste and run)
Learn JavaScript, one of the technologies - Ajax, which is too common.
brief introduction
AJAX is fully called Asynchronous JavaScript and XML. From its name, we can see that it is asynchronous JS and XML (but now more json is used to transmit data, while XML becomes less used)
Through AJAX, you can send asynchronous requests to the server i ...
Posted by Jax2 on Fri, 03 Dec 2021 04:45:31 +0100