Spring-1 - important concepts
1, IOC and DI
IOC (reverse control): the creation of objects is handed over to spring for configuration.
DI (dependency injection): sets values to properties in a class.Relationship between IOC and DI: DI cannot exist alone and needs to be completed on the basis of IOC.
2, Scope of Bean
Singleto ...
Posted by Willburt on Sat, 18 Jan 2020 00:04:01 -0800
Gorang learning series - 20. Package
Catalog
1, Standard library
1. regexp package: regular expression
2. sync package: lock and sync
2.1 sync.Mutex mutex
2.2 sync.RWMutex read / write lock
2.3 once.Do(call)
2, Use of packages
1. Custom package
2. reference package
3. Initialization of package
1, Standard library
Built i ...
Posted by unbreakable9 on Fri, 17 Jan 2020 04:15:47 -0800
WeChat public number development message processing
I. Preface
WeChat public number development (1) WeChat access certification as developer
This article will implement
receive messages
Reply message
2, Message reception
Message receiving POST and wechat authentication GET are the same interface (URL filled in by the developer)
@Slf4j
@RestContro ...
Posted by vornn on Fri, 17 Jan 2020 00:21:30 -0800
Several ways for Android to update UI through subthread
Several ways for Android to update UI through subthread
In general, the update of UI cannot be without Handler. First, let's understand the Handler mechanism:
Handler message mechanismDefinition
MessageThe data unit for inter thread communication can carry the required data through message to create an object: Message.obtain(what)
HandlerHandle ...
Posted by blckspder on Thu, 16 Jan 2020 23:27:08 -0800
API specification conventions let you write high quality APIs!
abstract
API design principles:
Controlling the granularity and number of API s
Naming should follow the principle of simplicity, readability and uniformity.
Prioritize API design, then code
Say one more thing: In order to develop more efficiently and save the cost of writing documents, these popula ...
Posted by artin on Thu, 16 Jan 2020 17:55:04 -0800
Python 1. Face recognition OpenCV Linux
Turn from https://blog.csdn.net/chen801090/article/details/95072592 , the original text is to identify Huang Jiaju and Huang Jiaqiang. The difference is that this article changes to Wanxi and Jiang Shuying. Why do you choose them... In addition, add a recognizer to download in the link (the resource ...
Posted by alan007 on Thu, 16 Jan 2020 07:56:43 -0800
store (mall project) Springboot+springmvc+ajax+mybatis(11)
44. Receiving address - display list - controller layer
(a) Handling newly created exceptions
nothing
(b) Requests to be processed for design
Request path / addresses/
Request parameter: HttpSession session
Request method: GET
Response result: jsonresult < list < address > >
(c) P ...
Posted by tengkie on Thu, 16 Jan 2020 05:31:01 -0800
Learning and using SlidingPanelLayout
Article directory
SlidingPanelLayout
Application scenario
Commonly used API
Usage mode
Source code analysis
summary
SlidingPanelLayout
Application scenario
SlidingPaneLayout is a layout that Android launched in android-support-v4.jar to support sliding test panel. For example: headline detail ...
Posted by 7724 on Thu, 16 Jan 2020 03:19:43 -0800
How easy is the Android floating window to implement?This is easy to do with kotlin!
Starting with business applications, this paper abstracts a floating window tool class from scratch that can be used to display floating windows on any business interface.It can manage multiple floating windows at the same time, and floating windows can respond to touch events, can be dragged, and have side animations.
The sample code is writt ...
Posted by mrdave on Wed, 15 Jan 2020 10:33:32 -0800
Spring IOC -- dependency injection
Dependency injection in spring
IOC role: reduce the coupling between programs (dependency)
Dependency management: to be maintained by spring (objects of other classes are needed in the current class, provided by spring, we only need to explain in the configuration file)
Dependency maintenance: depende ...
Posted by superstar on Tue, 14 Jan 2020 23:37:15 -0800