Tag:object

  • @The difference between component and @ configuration as configuration classes

    Time:2021-8-2

    With the fire of spingboot, annotated configuration has been warmly welcomed by everyone. Both @ component and @ configuration can be used as configuration classes. I haven’t thought there is any difference between the two before. Maybe sometimes the program runs differently from what I think. Until you see this article:my.oschina.net/guangshan/blog/1807…。 I realize that @ […]

  • From introduction to JS knowledge (I): relational operators and equality operators

    Time:2021-8-2

    abstract When browsing the technology website, I accidentally found a question asked by my peers. The question is as follows: ‘{} = = {} or {} > {} outputs false. Why does {} > = {} output true?’. It’s an interesting question. Yes, why is it like this? I can’t figure it out. In order […]

  • Scala, a “maverick” language!

    Time:2021-8-2

    <!– Scala, a “maverick” language! — > It’s hard not to touch Scala on the way to spark. Scala seems to provide a lot of “functional programming like” syntax candy for Java. Here are some unique parts of the language to share with readers. Reference materials mainly include: Cao Jie. Spark big data analysis technology […]

  • Introduction to mybatis 100%

    Time:2021-8-2

    Today, I return to mybatis and sum up some better ways to get started. Let’s take you through the simplest way.Here we first introduce the relationship picture of class package 1. Build aordinaryMaven project Once built, add a dependency to POM. XML jar org.mybatis mybatis 3.5.2 mysql mysql-connector-java 8.0.15 log4j log4j 1.2.17 junit junit 4.12 […]

  • Summary of recent interview questions (continuously updated)

    Time:2021-8-2

    1. HTML and CSS HTML5 added tags and attributes Add label: 1. Structure label (1) Section: independent content block, which can be used to form an outline with H1 ~ H6 to represent the document structure, and can also have chapters, headers, footers or other parts of headers; (2) Article: special independent block, which represents […]

  • Encapsulating Ajax

    Time:2021-8-2

    Problem: there are too many Ajax request codes sent once, and the request codes sent many times are redundant and repeated Solution: encapsulate the request code into the function and call the function when sending the request 1. Simple version function ajax(mether, url, callback, data, flag) { //Asynchronous or not, asynchronous by default flag = […]

  • [C + +] C + + object model

    Time:2021-8-2

    I bought the book “deep exploration of C + + object model” a long time ago. When I first started, I read it for a long time and felt that I benefited a lot. Recently, I found that the knowledge in this book has become very unclear in my mind. In line with the tradition […]

  • Lock screen interview questions – mybatis (I)

    Time:2021-8-1

    Lock screen interview questions will be brushed every day, and the interview questions will be updated every working day. The lock screen interview question app and applet are now online. The official website address is: https://www.demosoftware.cc/#… 。 It has included all the contents of the interview questions updated every day, as well as the features […]

  • The golden nine and silver ten have arrived! You must know the knowledge of cookie and session, and you must ask in the interview!

    Time:2021-8-1

    preface Session: a session contains multiple requests and responsesNote: a session means that the browser sends a request to the server for the first time, and the session is established until one party disconnects Function: share data between multiple requests in a session Method:(1) Client session Technology: cookies(2) Server side session Technology: session Cookie Concept: […]

  • ES6 interview summary

    Time:2021-8-1

    Summary of interview questions:https://segmentfault.com/a/11… Map、Set reference resourceshttps://www.runoob.com/w3cnot…MapMap is the structure of a group of key value pairs, which has extremely fast search speed.For example, suppose you want to find the corresponding grades according to the students’ names. If you use array, you need two arrays: var names = [‘Michael’, ‘Bob’, ‘Tracy’]; var scores = [95, […]

  • Vue Foundation (x): Vue routing (II)

    Time:2021-8-1

    1. Routing 1.1 Vue router dynamic route matching 1.1.1 basic usage of dynamic matching routing Application scenario: route matching through the mode of dynamic routing parameters. Document User1 User2 User3 Register const User = { //Get routing parameters through $route.params in the routing component Template: ‘< H1 > user component — user ID: {{$route. Params. […]

  • Es new features

    Time:2021-8-1

    es6: https://es6.ruanyifeng.com/ es6-es12: https://segmentfault.com/a/11… Block level scope let, const (reference address cannot be changed) Deconstructing assignment and extension operators Template string“ /*Tagged template string*/ function foo(a, b, c) { console.log(a, b, c); } let name = ‘Jack’; let age = 18; Foo ` my name ${name}, age ${age} ‘; Arrow function Dynamically import (modulename). Then […]