Design pattern (simple factory pattern) -- the basis of Java programming

1, Definition Design pattern: software pattern is to apply the general concept of pattern to the field of software development, that is, the overall guiding idea or reference template of software development. Software patterns are not limited to design patterns, but also include architecture patterns, analysis patterns and process patterns. In ...

Posted by urgido on Sat, 20 Nov 2021 12:01:13 -0800

spring notes learned but not understood

Reading notes on the core principles of spring 5 and handwriting practice of 30 classes catalogue PART1 is written in front of the nonsense PART2 software architecture design principles PART3 is an example of refactoring code PART1 is written in front of the nonsense The example in the article is adapted and simplified to the original ...

Posted by netrepsa on Fri, 29 Oct 2021 03:26:52 -0700

UML class diagram relationship and its corresponding code

0. Introduction This blog It's very well written. Most of it is reprinted from this blog in case of forgetting. At the same time, some content is added and expressed in C + +. It's all repeated wheels. It's shameless to mark it as original. Ref01. Generalization, implementation, association, aggregation, composition and dependency in UMLR ...

Posted by hhawkins on Fri, 15 Oct 2021 12:55:50 -0700

PlantUML Quick Start UML Time Series Diagram

UML Sequence Diagram Sequence diagrams are the most commonly used UML diagrams after class diagrams. Sequence diagrams represent interactions as a two-dimensional graph with the time axis vertically and the time going down vertically. The horizontal axis represents the roles in collaboration and is generally a Class.Objects, with a dashed line ...

Posted by zrueda on Tue, 12 Oct 2021 10:08:11 -0700